1 # hdw - linux BUILD file
5 this is a short introduction on how to build hdw-linux. the latest stable
6 release is supposed to build properly, well at least it works for me.
7 please note that the scripts may fuckup your system, especially if you dont
8 have any idea what this is all about after reading the files in ./doc.
14 - working linux system, including gcc and other essential development tools
15 (latest versions of automake, autoconf, m4 recommended)
17 - internet connection, or local server using -mirror option
18 - kernel with devfs support for versions <= 0.2
19 - at least kernel version 2.6 with hotplug support for versions > 0.2
20 - a not used partition (900mb-3gb) for building. 250-900mb for sources
21 depending on the selected target
22 - x86 hardware for default users, any hardware for development ;)
24 what to do: (for the impatient)
25 -------------------------------
27 build your distribution:
28 ------------------------
30 - get the latest stable release of hdw-linux (much better: use cvs)
31 from http://hackdaworld.dyndns.org/hdw-linux
34 mkdir -p /usr/src && cd /usr/src
35 cvs -d:pserver:anonymous@cvs.hackdaworld.dyndns.org:/hdw-linux \
39 - create a filesystem on the empty partition and mount it wherever you want to
42 mke2fs /dev/ide/host0/bus0/target0/lun0/part6
43 mkdir -p /mnt/hdw-build
44 mount /dev/ide/host0/bus0/target0/lun0/part6 /mnt/hdw-build
46 - edit ./Config: insert the above mountpoint to hdw_build_dir and select your
53 - modify the following line to read:
54 export hdw_build_dir="/mnt/hdw-build"
57 export hdw_target="mobile"
59 - if you want to add targets/packages made by the hdw hackers & user community,
60 run ./scripts/Update-Tree
61 (this is optional - in fact it is maybe causing harm to your build!)
66 (maybe you want to chose another target now in ./Config -- see 'ls ./targets')
68 - run ./scripts/Puzzle to create the target depending PKGS files
73 - run ./scripts/Download to fetch the sources needed to build that target,
74 alternatively run ./scripts/Download -mirror <mirrorsite>
78 - after that, if you didnt get all the sources:
79 ./scripts/Download -mirror http://we-have-no-mrror-by-now/hdw/
81 - you may now start building:
84 ./scripts/Build-Distro
86 - do not relax, do not get some drinks ... the build will fail and you have to
87 hack the source! in case everything works fine, you may want to have binary
88 packages of your builds. if not, skip the next part.
94 - create binary packages of all packages from the target
95 ./scripts/Create-Binary all
97 - create single packages
98 ./scripts/Create-Binary -package gcc
100 - your build is completed now, congrats!
102 for further information on how to install hdw-linux refer to the INSTALL file
109 - visit: irc.hackdaworld.dyndns.org, #hackdaworld
110 - visit: http://www.hackdaworld.dyndns.org/contents/mailing-list/
111 - visit: www.linuxfromscratch.org, www.linuxdoc.org, www.rocklinux.org ;)