Changeset 1da2a84 for BOOK/final-system/common
- Timestamp:
- Sep 14, 2008, 11:30:14 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- e8e6c4e
- Parents:
- 9d32016
- Location:
- BOOK/final-system/common
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/e2fsprogs.xml
r9d32016 r1da2a84 27 27 <sect2 role="installation"> 28 28 <title>Installation of E2fsprogs</title> 29 30 <para os="s1">The following command adds <filename>libcom_err.so</filename> 31 to the list of libraries to link <filename>libblkid.so</filename> 32 to:</para> 33 34 <screen os="s2"><userinput>cp -v misc/Makefile.in{,.orig} 35 sed 's/_BLKID= .*$/& $(LIBCOM_ERR)/' \ 36 misc/Makefile.in.orig > misc/Makefile.in</userinput></screen> 29 37 30 38 <para os="a">The E2fsprogs documentation recommends that the package be -
BOOK/final-system/common/inetutils.xml
r9d32016 r1da2a84 32 32 <screen os="p2"><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen> 33 33 34 <para os="s1">One of the source files is missing a header. Add it with the 35 following command:</para> 36 37 <screen os="s2"><userinput>sed -i "1i\#include <stdlib.h>" libicmp/icmp_timestamp.c</userinput></screen> 38 34 39 <para os="a">Prepare Inetutils for compilation:</para> 35 40 -
BOOK/final-system/common/iproute2.xml
r9d32016 r1da2a84 38 38 <para os="a">Compile the package:</para> 39 39 40 <screen os="b"><userinput>make SBINDIR=/sbin</userinput></screen> 40 <screen os="b"><userinput>make DESTDIR=/ DOCDIR=/usr/share/doc/iproute2 \ 41 MANDIR=/usr/share/man SBINDIR=/sbin</userinput></screen> 41 42 42 43 <variablelist os="c"> … … 58 59 <para os="e">Install the package:</para> 59 60 60 <screen os="f"><userinput>make SBINDIR=/sbin install</userinput></screen> 61 <screen os="f"><userinput>make DESTDIR=/ DOCDIR=/usr/share/doc/iproute2 \ 62 MANDIR=/usr/share/man SBINDIR=/sbin</userinput></screen> 61 63 62 64 </sect2> -
BOOK/final-system/common/kbd.xml
r9d32016 r1da2a84 26 26 <title>Installation of Kbd</title> 27 27 28 <para os="s1">While installing Kbd the Makefile will attempt to execute 29 install with the strip option on all of the installed files. This will 30 create errors when installing shell scripts. Prevent the strip argument 31 from being passed to install with the following command:</para> 32 33 <screen os="s2"><userinput>sed -i "/install -s/s/ -s//" src/Makefile.in</userinput></screen> 34 35 <para os="aa">The Kbd tarball does not include a pre-generated configure 36 script. Generate it with the following command:</para> 37 38 <screen os="ab"><userinput>autoconf</userinput></screen> 39 28 40 <para os="a">Prepare Kbd for compilation:</para> 29 41 30 <screen os="b"><userinput>./configure -- datadir=/lib/kbd</userinput></screen>42 <screen os="b"><userinput>./configure --prefix=/usr --datadir=/lib/kbd</userinput></screen> 31 43 32 44 <variablelist os="c"> -
BOOK/final-system/common/mpfr.xml
r9d32016 r1da2a84 26 26 <sect2 role="installation"> 27 27 <title>Installation of MPFR</title> 28 29 <para os="p1">The following patch contains updates from upstream:</para>30 31 <screen os="p2"><userinput>patch -Np1 -i ../&mpfr-cumulative-patch;</userinput></screen>32 28 33 29 <para os="a">Prepare MPFR for compilation:</para> -
BOOK/final-system/common/perl.xml
r9d32016 r1da2a84 56 56 -Dman3dir=/usr/share/man/man3 \ 57 57 -Dpager="/bin/less -isR" \ 58 -Dusethreads </userinput></screen>58 -Dusethreads -Duseshrplib</userinput></screen> 59 59 60 60 <variablelist os="c"> … … 68 68 </listitem> 69 69 </varlistentry> 70 70 71 <varlistentry os="c2"> 71 72 <term><parameter>-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3</parameter></term> … … 76 77 </listitem> 77 78 </varlistentry> 79 78 80 <varlistentry os="c3"> 79 81 <term><parameter>-Dusethreads</parameter></term> … … 82 84 </listitem> 83 85 </varlistentry> 86 87 <varlistentry os="c4"> 88 <term><parameter>-Duseshrplib</parameter></term> 89 <listitem> 90 <para>This tells Perl to build a shared libperl.</para> 91 </listitem> 92 </varlistentry> 93 84 94 </variablelist> 85 95 -
BOOK/final-system/common/sysvinit.xml
r9d32016 r1da2a84 82 82 83 83 su:S016:once:/sbin/sulogin 84 85 1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600 84 </literal> 85 EOF</userinput></screen> 86 87 <para>The following command adds the standard virtual terminals to 88 <filename>/etc/inittab</filename>. If your system only has a serial 89 console skip the following command:</para> 90 91 <screen><userinput>cat >> /etc/inittab << "EOF" 92 <literal>1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600 86 93 2:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600 87 94 3:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600 … … 89 96 5:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600 90 97 6:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600 91 92 # End /etc/inittab</literal> 98 </literal> 99 EOF</userinput></screen> 100 101 <para>If your system has a serial console run the following command to add 102 the entry to <filename>/etc/inittab</filename>.</para> 103 104 <screen><userinput>cat >> /etc/inittab << "EOF" 105 <literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100 106 </literal> 107 EOF</userinput></screen> 108 109 <para>Finally, Add the end line to <filename>/etc/inittab</filename>.</para> 110 111 <screen><userinput>cat >> /etc/inittab << "EOF" 112 <literal># End /etc/inittab</literal> 93 113 EOF</userinput></screen> 94 114 -
BOOK/final-system/common/udev.xml
r9d32016 r1da2a84 26 26 <title>Installation of Udev</title> 27 27 28 <para os="a">Compile the package:</para> 29 30 <screen os="b"><userinput>make EXTRAS="extras/ata_id extras/cdrom_id extras/collect \ 31 extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator \ 32 extras/scsi_id extras/usb_id extras/volume_id" udevdir=/dev</userinput></screen> 33 34 <variablelist os="c"> 35 <title>The meaning of the make parameter:</title> 36 37 <varlistentry> 38 <term><parameter>EXTRAS="extras/ata_id extras/cdrom_id extras/collect 39 extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator 40 extras/scsi_id extras/usb_id extras/volume_id"</parameter></term> 41 <listitem> 42 <para>This builds the helper applications that are used with 43 udev. The helper programs assist in correct handling of devices.</para> 44 </listitem> 45 </varlistentry> 46 47 </variablelist> 48 49 <para os="d">If you want to run the testsuite, you need to change 50 a hardcoded reference to the <command>test</command> program:</para> 51 52 <screen os="e"><userinput>sed -i 's@/usr/bin/test@/bin/test@' test/udev-test.pl</userinput></screen> 53 54 <para os="f">To test the results, issue: 55 <userinput>make test</userinput>.</para> 28 <para os="a">Prepare Udev for compilation:</para> 29 30 <screen os="b"><userinput>./configure --prefix=/usr --exec-prefix= \ 31 --sysconfdir=/etc</userinput></screen> 32 33 <para os="c">Compile the package:</para> 34 35 <screen os="d"><userinput>make</userinput></screen> 56 36 57 37 <para os="g">Install the package:</para> 58 38 59 <screen os="h"><userinput>make EXTRAS="extras/ata_id extras/cdrom_id extras/collect \ 60 extras/edd_id extras/firmware extras/floppy extras/path_id extras/rule_generator \ 61 extras/scsi_id extras/usb_id extras/volume_id" DESTDIR=/ udevdir=/dev install</userinput></screen> 62 63 <variablelist os="i"> 64 <title>The meaning of the make parameter:</title> 65 66 <varlistentry> 67 <term><parameter>DESTDIR=/</parameter></term> 68 <listitem> 69 <para>This prevents the Udev build process from killing any 70 <command>udevd</command> processes that may be running on the 71 system.</para> 72 </listitem> 73 </varlistentry> 74 75 </variablelist> 76 77 <para os="j">Install documentation:</para> 78 79 <screen os="k"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html \ 39 <screen os="h"><userinput>make install</userinput></screen> 40 41 <para os="i">Install documentation:</para> 42 43 <screen os="j"><userinput>install -v -m644 -D docs/writing_udev_rules/index.html \ 80 44 /usr/share/doc/udev-&udev-version;/index.html</userinput></screen> 81 45 82 <para os=" l">Create a directory for storing firmware that can be46 <para os="k">Create a directory for storing firmware that can be 83 47 loaded by <command>udev</command>:</para> 84 48 85 <screen os=" m"><userinput>install -dv /lib/firmware</userinput></screen>49 <screen os="l"><userinput>install -dv /lib/firmware</userinput></screen> 86 50 87 51 </sect2> … … 96 60 97 61 <seglistitem> 98 <seg>udevadm, udevd, udevinfo (symlink to udevadm), 99 udevsettle (symlink to udevadm)</seg> 100 <seg>libvolume_id</seg> 62 <seg>udevadm, udevd</seg> 63 <seg>libvolume_id, libudev</seg> 101 64 <seg>/etc/udev, /lib/udev</seg> 102 65 </seglistitem> … … 111 74 <term><command>udevadm</command></term> 112 75 <listitem> 113 <para>This program combines <command>udevinfo</command>, 114 <command>udevtrigger</command>, <command>udevsettle</command>, 115 <command>udevcontrol</command>, <command>udevmonitor</command>, 116 and <command>udevtest</command> into one command.</para> 76 <para>udevadm controls the runtime behavior of udev, requests kernel 77 events, manages the event queue, and provides simple debugging.</para> 117 78 <indexterm zone="ch-system-udev udevadm"> 118 79 <primary sortas="b-udevadm">udevadm</primary> 119 </indexterm>120 </listitem>121 </varlistentry>122 123 <varlistentry id="udevadm-control">124 <term><command>udevadm control</command></term>125 <listitem>126 <para>Configures a number of options for the running127 <command>udevd</command> daemon, such as the log level. (Symlink to128 udevadm)</para>129 <indexterm zone="ch-system-udev udevadm-control">130 <primary sortas="b-udevadm-control">udevadm control</primary>131 80 </indexterm> 132 81 </listitem> … … 145 94 </varlistentry> 146 95 147 <varlistentry id="udevinfo">148 <term><command>udevinfo</command></term>149 <listitem>150 <para>Allows users to query the <command>udev</command> database for151 information on any device currently present on the system; it also152 provides a way to query any device in the <systemitem153 class="filesystem">sysfs</systemitem> tree to help create udev154 rules. (Symlink to udevadm)</para>155 <indexterm zone="ch-system-udev udevinfo">156 <primary sortas="b-udevinfo">udevinfo</primary>157 </indexterm>158 </listitem>159 </varlistentry>160 161 <varlistentry id="udevadm-monitor">162 <term><command>udevadm monitor</command></term>163 <listitem>164 <para>Prints the event received from the kernel and the event which165 <command>udev</command> sends out after rule processing</para>166 <indexterm zone="ch-system-udev udevadm-monitor">167 <primary sortas="b-udevadm-monitor">udevadm monitor</primary>168 </indexterm>169 </listitem>170 </varlistentry>171 172 <varlistentry id="udevsettle">173 <term><command>udevsettle</command></term>174 <listitem>175 <para>Watches the Udev event queue and exits if all current uevents176 have been handled. (Symlink to udevadm)</para>177 <indexterm zone="ch-system-udev udevsettle">178 <primary sortas="b-udevsettle">udevsettle</primary>179 </indexterm>180 </listitem>181 </varlistentry>182 183 <varlistentry id="udevadm-test">184 <term><command>udevadm test</command></term>185 <listitem>186 <para>Simulates a <command>udev</command> run for the given device,187 and prints out the name of the node the real <command>udev</command>188 would have created or the name of the renamed network interface</para>189 <indexterm zone="ch-system-udev udevadm-test">190 <primary sortas="b-udevadm-test">udevadm test</primary>191 </indexterm>192 </listitem>193 </varlistentry>194 195 <varlistentry id="udevadm-trigger">196 <term><command>udevadm trigger</command></term>197 <listitem>198 <para>Walks the sysfs tree for devices that need to be added to the199 system.</para>200 <indexterm zone="ch-system-udev udevadm-trigger">201 <primary sortas="b-udeadm-vtrigger">udevadm trigger</primary>202 </indexterm>203 </listitem>204 </varlistentry>205 206 96 <!-- Start of Helpers --> 207 97 <varlistentry id="ata_id"> … … 226 116 </varlistentry> 227 117 118 <varlistentry id="collect"> 119 <term><command>collect</command></term> 120 <listitem> 121 <para>DESCRIPTION REQUIRED</para> 122 <indexterm zone="ch-system-udev collect"> 123 <primary sortas="b-collect">collect</primary> 124 </indexterm> 125 </listitem> 126 </varlistentry> 127 228 128 <varlistentry id="create_floppy_devices"> 229 129 <term><command>create_floppy_devices</command></term> … … 236 136 </varlistentry> 237 137 238 <varlistentry id="dasd_id">239 <term><command>dasd_id</command></term>240 <listitem>241 <para>Read the label from an s390 block device.</para>242 <indexterm zone="ch-system-udev dasd_id">243 <primary sortas="b-dasd_id">dasd_id</primary>244 </indexterm>245 </listitem>246 </varlistentry>247 248 138 <varlistentry id="edd_id"> 249 139 <term><command>edd_id</command></term> … … 262 152 <indexterm zone="ch-system-udev firmware.sh"> 263 153 <primary sortas="b-firmware.sh">firmware.sh</primary> 154 </indexterm> 155 </listitem> 156 </varlistentry> 157 158 <varlistentry id="fstab_import"> 159 <term><command>fstab_import</command></term> 160 <listitem> 161 <para>DESCRIPTION REQUIRED</para> 162 <indexterm zone="ch-system-udev fstab_import"> 163 <primary sortas="b-fstab_import">fstab_import</primary> 264 164 </indexterm> 265 165 </listitem> … … 303 203 <indexterm zone="ch-system-udev vol_id"> 304 204 <primary sortas="b-vol_id">vol_id</primary> 205 </indexterm> 206 </listitem> 207 </varlistentry> 208 209 <varlistentry id="write_cd_rules"> 210 <term><command>write_cd_rules</command></term> 211 <listitem> 212 <para>DESCRIPTION REQUIRED</para> 213 <indexterm zone="ch-system-udev write_cd_rules"> 214 <primary sortas="b-write_cd_rules">write_cd_rules</primary> 215 </indexterm> 216 </listitem> 217 </varlistentry> 218 219 <varlistentry id="write_net_rules"> 220 <term><command>write_net_rules</command></term> 221 <listitem> 222 <para>DESCRIPTION REQUIRED</para> 223 <indexterm zone="ch-system-udev write_net_rules"> 224 <primary sortas="b-write_net_rules">write_net_rules</primary> 305 225 </indexterm> 306 226 </listitem> … … 320 240 </varlistentry> 321 241 242 <varlistentry id="libudev"> 243 <term><filename class="libraryfile">libudev</filename></term> 244 <listitem> 245 <para>DESCRIPTION REQUIRED</para> 246 <indexterm zone="ch-system-udev libudev"> 247 <primary sortas="b-libudev">libudev</primary> 248 </indexterm> 249 </listitem> 250 </varlistentry> 251 322 252 <varlistentry id="etc-udev"> 323 253 <term><filename class="directory">/etc/udev</filename></term>
Note:
See TracChangeset
for help on using the changeset viewer.