4 bgcolor="#000000" fgcolor="#FFFFFF"
5 face="../ttf/decker.ttf" size="15"
6 bgimage="../img/bg.png"
7 bullet="../img/bullet.png"
8 screen_width="1024" screen_height="768">
11 <header size="10"></header>
12 <header fgcolor="#5080FF" size="80">hdw-linux</header>
13 <header size="20"></header>
14 <header fgcolor="#5080FF" size="35">a distribution build kit</header>
15 <header size="40"></header>
16 <text>author: hackbard</text>
17 <text>date: 14. Jan. 2003</text>
18 <text>homepage: http://hackdaworld.dyndns.org/hdw-linux</text>
22 <header size="10"></header>
23 <header fgcolor="#8080FF" size="35">contents</header>
24 <header size="20"></header>
26 <text>+ introduction</text>
27 <text>+ prepare for hdw</text>
28 <text>+ configuration</text>
29 <text>+ start the build</text>
30 <text>+ installation</text>
31 <text>+ whats cool in hdw?</text>
32 <text>+ packages/targets</text>
33 <text>+ hard bug: the core scripts</text>
34 <text>+ conclusion</text>
35 <text>+ where to get it</text>
39 <header size="10"></header>
40 <header fgcolor="#8080FF" size="35">introduction</header>
41 <header size="20"></header>
43 <listitem>what is hdw and what is so special about it?</listitem>
44 <text>+ scripts to build your own gnu linux distribution</text>
45 <text>+ support alien architetures</text>
46 <text>+ care for optimization</text>
47 <text>+ up2date (?)</text>
48 <text>+ all packages are build from scratch</text>
49 <text>+ hdw uses just a few patches</text>
51 <listitem>short overview - the process</listitem>
52 <text>+ build a static linked sandbox environment (--prefix=/static)</text>
53 <text>+ chroot into that sandbox and build the linux system from scratch</text>
54 <text>+ install and configure it (not covered by the scripts yet - hdw-get)</text>
58 <header size="10"></header>
59 <header fgcolor="#8080FF" size="35">prepare for hdw</header>
60 <header size="20"></header>
62 <listitem>required:</listitem>
63 <text>+ devfs kernel</text>
64 <text>+ recent developing tools (gcc, make, autoconf, automake ...)</text>
65 <text>+ bash, wget, cvs</text>
66 <text>+ diskspace (~3 gb) for sources and compiled binaries (depending on target)</text>
67 <text>+ time (~1-2 days, depending on target and hardware)</text>
69 <listitem>recommended:</listitem>
70 <text>+ use seperated partition as hdw build directory</text>
71 <text>+ update developing tools before building hdw</text>
75 <header size="10"></header>
76 <header fgcolor="#8080FF" size="35">configuration (1/2)</header>
77 <header size="20"></header>
79 <text>the 'Config' file stores all the possible configuration options.</text>
80 <text>let's have a look at the most impportant ones.</text>
82 <listitem>hdw_target</listitem>
83 <text>specify the target (desktop,router,mobile,base,all-dev)</text>
84 <text>eg: export hdw_target="desktop"</text><text></text>
85 <listitem>hdw_arch</listitem>
86 <text>specify architecture (ia32,sparc,sparc64,ppc,...)</text>
87 <text>eg: export hdw_arch="ia32"</text><text></text>
88 <listitem>hdw_arch_opt</listitem>
89 <text>specify the cpu for optimization (x686:x=3,4,5,6)</text>
90 <text>eg: export hdw_arch_opt="i686"</text><text></text>
93 <header size="10"></header>
94 <header fgcolor="#8080FF" size="35">configuration (2/2)</header>
95 <header size="20"></header>
97 <listitem>hdw_opt</listitem>
98 <text>specify the optimization for CFLAGS variable (2,3..)</text>
99 <text>eg: export hdw_opt="3"</text><text></text>
100 <listitem>hdw_crossbuild</listitem>
101 <text>set to 1 if you build for an alien architecture</text>
102 <text>eg: export hdw_crossbuild="0"</text><text></text>
103 <listitem>hdw_build_dir</listitem>
104 <text>specify build directory (seperated partition recommended)</text>
105 <text>eg: export hdw_build_dir="/hdw-build"</text><text></text>
112 <action key="F1">echo "hdw rules!!!1 :)"</action>