Changeset 76b06f6 for BOOK/final-system/common
- Timestamp:
- Sep 24, 2013, 11:53:17 AM (11 years ago)
- Children:
- 2e9ccbe
- Parents:
- 111b12a
- Location:
- BOOK/final-system/common
- Files:
-
- 1 added
- 2 deleted
- 15 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/cloog.xml
r111b12a r76b06f6 32 32 <screen os="b"><userinput>CC="gcc -isystem /usr/include" \ 33 33 LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \ 34 ./configure --prefix=/usr --enable-shared --with-isl=system</userinput></screen>34 ./configure --prefix=/usr --enable-shared</userinput></screen> 35 35 36 36 <para os="c">Compile the package:</para> … … 63 63 <seglistitem> 64 64 <seg>cloog</seg> 65 <seg>libcloog-isl.[a,so] </seg>66 <seg>/usr/include/cloog </seg>65 <seg>libcloog-isl.[a,so], libisl.[a,so]</seg> 66 <seg>/usr/include/cloog, /usr/include/isl</seg> 67 67 </seglistitem> 68 68 </segmentedlist> … … 93 93 </varlistentry> 94 94 95 <varlistentry id="libisl"> 96 <term><filename class="libraryfile">libisl</filename></term> 97 <listitem> 98 <para>The Integer Set Library.</para> 99 <indexterm zone="ch-system-cloog libisl"> 100 <primary sortas="c-libisl">libisl</primary> 101 </indexterm> 102 </listitem> 103 </varlistentry> 104 95 105 </variablelist> 96 106 -
BOOK/final-system/common/eglibc.xml
r111b12a r76b06f6 58 58 unset LINKER</userinput></screen> 59 59 60 <para os="p3">The following patch fixes an issue that can cause 61 ALSA to crash:</para> 62 63 <screen os="p4"><userinput>patch -Np1 -i ../&eglibc-fixes-patch;</userinput></screen> 64 60 65 <para os="b">The EGLIBC build system is self-contained and will install 61 66 perfectly, even though the compiler specs file and linker are still … … 74 79 75 80 <screen os="h"><userinput>../eglibc-&eglibc-version;/configure --prefix=/usr \ 76 --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/eglibc \ 77 --enable-obsolete-rpc</userinput></screen> 81 --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/eglibc</userinput></screen> 78 82 79 83 <variablelist os="i"> … … 83 87 <term><parameter>--libexecdir=/usr/lib/eglibc</parameter></term> 84 88 <listitem> 85 <para>This changes the location of the <command> getconf</command>86 utilityfrom its default of <filename89 <para>This changes the location of the <command>pt_chown</command> 90 program from its default of <filename 87 91 class="directory">/usr/libexec</filename> to <filename 88 92 class="directory">/usr/lib/eglibc</filename>.</para> … … 148 152 <screen os="t"><userinput>make install</userinput></screen> 149 153 154 <para os="ra">Install NIS and RPC related headers that are not installed by default.</para> 155 156 <screen os="rb"><userinput>cp -v ../eglibc-&eglibc-version;/sunrpc/rpc/*.h /usr/include/rpc 157 cp -v ../eglibc-&eglibc-version;/sunrpc/rpcsvc/*.h /usr/include/rpcsvc 158 cp -v ../eglibc-&eglibc-version;/nis/rpcsvc/*.h /usr/include/rpcsvc</userinput></screen> 159 150 160 </sect2> 151 161 … … 240 250 EOF</userinput></screen> 241 251 242 <para>Install timezone data:</para>243 <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz244 245 ZONEINFO=/usr/share/zoneinfo246 mkdir -pv $ZONEINFO/{posix,right}247 248 for tz in etcetera southamerica northamerica europe africa antarctica \249 asia australasia backward pacificnew solar87 solar88 solar89 \250 systemv; do251 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz}252 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}253 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}254 done255 256 cp -v zone.tab iso3166.tab $ZONEINFO257 zic -d $ZONEINFO -p America/New_York258 unset ZONEINFO</userinput></screen>259 260 <variablelist>261 <title>The meaning of the zic commands:</title>262 263 <varlistentry>264 <term><parameter>zic -L /dev/null ...</parameter></term>265 <listitem>266 <para>This creates posix timezones, without any leap seconds. It is267 conventional to put these in both268 <filename class="directory">zoneinfo</filename> and269 <filename class="directory">zoneinfo/posix</filename>. It is270 necessary to put the POSIX timezones in271 <filename class="directory">zoneinfo</filename>, otherwise various272 test-suites will report errors. On an embedded system, where space is273 tight and you do not intend to ever update the timezones, you could save274 1.9MB by not using the <filename class="directory">posix</filename>275 directory, but some applications or test-suites might give less good276 results</para>277 </listitem>278 </varlistentry>279 <varlistentry>280 <term><parameter>zic -L leapseconds ...</parameter></term>281 <listitem>282 <para>This creates right timezones, including leap seconds. On an283 embedded system, where space is tight and you do not intend to284 ever update the timezones, or care about the correct time, you could285 save 1.9MB by omitting the <filename class="directory">right</filename>286 directory.</para>287 </listitem>288 </varlistentry>289 <varlistentry>290 <term><parameter>zic ... -p ...</parameter></term>291 <listitem>292 <para>This creates the <filename>posixrules</filename> file. We use293 New York because POSIX requires the daylight savings time rules294 to be in accordance with US rules.</para>295 </listitem>296 </varlistentry>297 </variablelist>298 299 252 <para>To determine the local time zone, run the following script:</para> 300 253 … … 375 328 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig, 376 329 ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd, 377 pcprofiledump, pldd, rpcgen, sln, sprof, tzselect, xtrace,zdump,378 and zic</seg>330 pcprofiledump, pldd, pt_chown, rpcgen, sln, sprof, tzselect, 331 xtrace,zdump, and zic</seg> 379 332 <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so], 380 333 libbsd-compat.a, libc.[a,so], libc_nonshared.a, libcidn.[a,so], … … 568 521 </varlistentry> 569 522 523 <varlistentry id="pt_chown"> 524 <term><command>pt_chown</command></term> 525 <listitem> 526 <para>A helper program for <command>grantpt</command> to set the owner, 527 group and access permissions of a slave pseudo terminal</para> 528 <indexterm zone="ch-system-eglibc pt_chown"> 529 <primary sortas="b-pt_chown">pt_chown</primary> 530 </indexterm> 531 </listitem> 532 </varlistentry> 533 570 534 <varlistentry id="rpcgen"> 571 535 <term><command>rpcgen</command></term> -
BOOK/final-system/common/gcc.xml
r111b12a r76b06f6 26 26 <title>Installation of GCC</title> 27 27 28 28 29 <para os="p1">The following patch contains a number of updates to the 29 30 &gcc-version; branch by the GCC developers:</para> 30 31 31 32 <screen os="p2"><userinput>patch -Np1 -i ../&gcc-branch_update-patch;</userinput></screen> 32 33 <para os="fix1">Apply a <command>sed</command> subsitution that will34 suppress the execution of the <command>fixincludes</command> script:</para>35 36 <screen os="fix2"><userinput>cp -v gcc/Makefile.in{,.orig}37 sed 's@\./fixinc\.sh@-c true@' gcc/Makefile.in.orig > gcc/Makefile.in</userinput></screen>38 33 39 34 <para os="d">Apply a <command>sed</command> substitution that will suppress the … … 60 55 --enable-clocale=gnu --enable-languages=c,c++ \ 61 56 --disable-multilib --disable-libstdcxx-pch \ 62 --enable-cloog-backend=isl --disable-isl-version-check --with-system-zlib \ 63 --enable-checking=release --enable-libstdcxx-time \ 64 --disable-install-libiberty</userinput></screen> 57 --enable-cloog-backend=isl</userinput></screen> 65 58 66 59 <para os="j">Compile the package:</para> … … 73 66 </important> 74 67 75 <para os="s1">Increase the stack size prior to running the tests:</para>76 77 <screen os="s2"><userinput remap="test">ulimit -s 32768</userinput></screen>78 79 68 <para os="m">Test the results, but do not stop at errors:</para> 80 69 … … 109 98 110 99 <screen os="x"><userinput>ln -sv gcc /usr/bin/cc</userinput></screen> 111 112 <para os="y">Finally, move a misplaced file:</para>113 114 <screen os="z"><userinput>mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>115 100 116 101 </sect2> -
BOOK/final-system/common/gmp.xml
r111b12a r76b06f6 48 48 <para os="a">Prepare GMP for compilation:</para> 49 49 50 <screen os="b"><userinput>C C="gcc -isystem /usr/include" \50 <screen os="b"><userinput>CPPFLAGS=-fexceptions CC="gcc -isystem /usr/include" \ 51 51 CXX="g++ -isystem /usr/include" \ 52 52 LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \ 53 ./configure --prefix=/usr --enable-cxx </userinput></screen>53 ./configure --prefix=/usr --enable-cxx --enable-mpbsd</userinput></screen> 54 54 55 55 <para os="c">Compile the package:</para> -
BOOK/final-system/common/iana-etc.xml
r111b12a r76b06f6 28 28 <note os="p1"> 29 29 <para>This package has the option of downloading updated data when internet access is available. If /etc/resolv.conf has a nameserver entry and internet access is available at this step, then apply the IANA get patch and get the updated data: 30 <screen>< command>patch -Np1 -i ../&iana-etc-get_fix-patch;</command>31 < command>make get</command></screen>30 <screen><userinput>patch -Np1 -i ../&iana-etc-get_fix-patch;</userinput></screen> 31 <screen><userinput>make get</userinput></screen> 32 32 Do not apply the following patch.</para> 33 33 </note> -
BOOK/final-system/common/iputils.xml
r111b12a r76b06f6 30 30 <screen os="p2"><userinput>patch -Np1 -i ../&iputils-fixes-patch;</userinput></screen> 31 31 32 <para os="p3">The following patch contains pregenerated documentation for 33 IPutils:</para> 34 35 <screen os="p4"><userinput>patch -Np1 -i ../&iputils-doc-patch;</userinput></screen> 36 32 37 <para os="a">Compile the package:</para> 33 38 34 <screen os="b"><userinput>make USE_CAP=no \ 35 IPV4_TARGETS="tracepath ping clockdiff rdisc" \ 39 <screen os="b"><userinput>make IPV4_TARGETS="tracepath ping clockdiff rdisc" \ 36 40 IPV6_TARGETS="tracepath6 traceroute6"</userinput></screen> 37 41 -
BOOK/final-system/common/kbd.xml
r111b12a r76b06f6 26 26 <title>Installation of Kbd</title> 27 27 28 <para os="p1">Apply the following patch to fix a typo in es.po:</para> 29 30 <screen os="p2"><userinput>patch -Np1 -i ../&kbd-espo-patch;</userinput></screen> 31 28 32 <para os="a">Prepare Kbd for compilation:</para> 29 33 30 <screen os="b"><userinput>PKG_CONFIG_PATH="/tools/lib/pkgconfig" \ 31 ./configure --prefix=/usr --disable-vlock --enable-optional-progs</userinput></screen> 34 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 32 35 33 36 <para os="c">Compile the package:</para> -
BOOK/final-system/common/kmod.xml
r111b12a r76b06f6 31 31 <screen os="b"><userinput>./configure --prefix=/usr \ 32 32 --bindir=/bin --sysconfdir=/etc \ 33 --with-rootlibdir=/lib --disable-manpages\33 --with-rootlibdir=/lib \ 34 34 --with-zlib --with-xz</userinput></screen> 35 35 … … 62 62 <para os="g">Install the package:</para> 63 63 64 <screen os="h"><userinput>make install 65 make -C man install</userinput></screen> 64 <screen os="h"><userinput>make install</userinput></screen> 66 65 67 66 <para os="i">Create symbolic links for programs that expect Module-Init-Tools.</para> 68 67 69 <screen os="j"><userinput>ln -s fv kmod /bin/lsmod70 ln -s fv ../bin/kmod /sbin/depmod71 ln -s fv ../bin/kmod /sbin/insmod72 ln -s fv ../bin/kmod /sbin/modprobe73 ln -s fv ../bin/kmod /sbin/modinfo74 ln -s fv ../bin/kmod /sbin/rmmod</userinput></screen>68 <screen os="j"><userinput>ln -sv kmod /bin/lsmod 69 ln -sv ../bin/kmod /sbin/depmod 70 ln -sv ../bin/kmod /sbin/insmod 71 ln -sv ../bin/kmod /sbin/modprobe 72 ln -sv ../bin/kmod /sbin/modinfo 73 ln -sv ../bin/kmod /sbin/rmmod</userinput></screen> 75 74 76 75 </sect2> -
BOOK/final-system/common/linux-headers.xml
r111b12a r76b06f6 32 32 <screen os="c"><userinput>make mrproper 33 33 make headers_check 34 make INSTALL_HDR_PATH=/usr headers_install 34 make INSTALL_HDR_PATH=dest headers_install 35 cp -rv dest/include/* /usr/include 35 36 find /usr/include -name .install -or -name ..install.cmd | xargs rm -fv</userinput></screen> 36 37 … … 54 55 55 56 <varlistentry os="d3"> 56 <term><parameter>make INSTALL_HDR_PATH= /usrheaders_install</parameter></term>57 <term><parameter>make INSTALL_HDR_PATH=dest headers_install</parameter></term> 57 58 <listitem> 58 <para>This will install the kernel headers into 59 <filename class="directory">/usr/include</filename>.</para> 59 <para>Normally the headers_install target removes the entire 60 destination directory (default 61 <filename class="directory">/usr/include</filename>) before 62 installing the headers. To prevent this, we tell the kernel to 63 install the headers to a directory inside the source dir.</para> 60 64 </listitem> 61 65 </varlistentry> -
BOOK/final-system/common/make.xml
r111b12a r76b06f6 24 24 <sect2 role="installation"> 25 25 <title>Installation of Make</title> 26 27 <para os="p1">Apply upstream fixes:</para>28 29 <screen os="p2"><userinput>patch -Np1 -i ../&make-fixes-patch;</userinput></screen>30 26 31 27 <para os="a">Prepare Make for compilation:</para> -
BOOK/final-system/common/pkg-config.xml
r111b12a r76b06f6 6 6 ]> 7 7 8 <sect1 id="ch-system-pkg-config -lite" role="wrap">9 <?dbhtml filename="pkg-config -lite.html"?>8 <sect1 id="ch-system-pkg-config" role="wrap"> 9 <?dbhtml filename="pkg-config.html"?> 10 10 11 <title>Pkg-config- lite-&pkg-config-lite-version;</title>11 <title>Pkg-config-&pkg-config-version;</title> 12 12 13 <indexterm zone="ch-system-pkg-config -lite">14 <primary sortas="a-Pkg-config -lite">Pkg-config-lite</primary>13 <indexterm zone="ch-system-pkg-config"> 14 <primary sortas="a-Pkg-config">Pkg-config</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>Pkg-config -liteis a tool to help you insert the correct compiler options20 <para>Pkg-config is a tool to help you insert the correct compiler options 21 21 on the command line when compiling applications and libraries.</para> 22 22 … … 24 24 25 25 <sect2 role="installation"> 26 <title>Installation of Pkg-config -lite</title>26 <title>Installation of Pkg-config</title> 27 27 28 <para os="a">Prepare Pkg-config -litefor compilation:</para>28 <para os="a">Prepare Pkg-config for compilation:</para> 29 29 30 30 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> … … 43 43 </sect2> 44 44 45 <sect2 id="contents-pkg-config -lite" role="content">46 <title>Contents of Pkg-config -lite</title>45 <sect2 id="contents-pkg-config" role="content"> 46 <title>Contents of Pkg-config</title> 47 47 48 48 <segmentedlist> … … 61 61 <?dbhtml list-presentation="table"?> 62 62 63 <varlistentry id="pkg-config -lite">63 <varlistentry id="pkg-config"> 64 64 <term><command>pkg-config</command></term> 65 65 <listitem> … … 67 67 information about installed libraries in the system. It is typically 68 68 used to compile and link against one or more libraries.</para> 69 <indexterm zone="ch-system-pkg-config -lite pkg-config-lite">70 <primary sortas="b-pkg-config -lite">pkg-config</primary>69 <indexterm zone="ch-system-pkg-config pkg-config"> 70 <primary sortas="b-pkg-config">pkg-config</primary> 71 71 </indexterm> 72 72 </listitem> -
BOOK/final-system/common/sysvinit.xml
r111b12a r76b06f6 82 82 83 83 <screen><userinput>cat >> /etc/inittab << "EOF" 84 <literal>1:2345:respawn:/sbin/agetty - -noclear -I '\033(K' tty1 960085 2:2345:respawn:/sbin/agetty - -noclear -I '\033(K' tty2 960086 3:2345:respawn:/sbin/agetty - -noclear -I '\033(K' tty3 960087 4:2345:respawn:/sbin/agetty - -noclear -I '\033(K' tty4 960088 5:2345:respawn:/sbin/agetty - -noclear -I '\033(K' tty5 960089 6:2345:respawn:/sbin/agetty - -noclear -I '\033(K' tty6 960084 <literal>1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600 85 2:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600 86 3:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600 87 4:2345:respawn:/sbin/agetty -I '\033(K' tty4 9600 88 5:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600 89 6:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600 90 90 </literal> 91 91 EOF</userinput></screen> … … 95 95 96 96 <screen><userinput>cat >> /etc/inittab << "EOF" 97 <literal>c0:12345:respawn:/sbin/agetty --noclear115200 ttyS0 vt10097 <literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100 98 98 </literal> 99 99 EOF</userinput></screen> -
BOOK/final-system/common/tar.xml
r111b12a r76b06f6 29 29 30 30 <screen os="p2"><userinput>patch -Np1 -i ../&tar-man-patch;</userinput></screen> 31 32 <para os="s1">EGLIBC-&eglibc-version; does not declare gets():</para>33 34 <screen os="s2"><userinput>sed -i -e '/gets is a/d' gnu/stdio.in.h</userinput></screen>35 31 36 32 <para os="a">Prepare Tar for compilation:</para> -
BOOK/final-system/common/udev.xml
r111b12a r76b06f6 6 6 ]> 7 7 8 <sect1 id="ch-system- eudev" role="wrap">9 <?dbhtml filename=" eudev.html"?>10 11 <title> Eudev-&eudev-version;</title>12 13 <indexterm zone="ch-system- eudev">14 <primary sortas="a- Eudev">Eudev</primary>8 <sect1 id="ch-system-udev" role="wrap"> 9 <?dbhtml filename="udev.html"?> 10 11 <title>Udev-&udev-version;</title> 12 13 <indexterm zone="ch-system-udev"> 14 <primary sortas="a-Udev">Udev</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>The Eudev package contains programs for dynamic creation of device20 <para>The Udev package contains programs for dynamic creation of device 21 21 nodes.</para> 22 22 … … 24 24 25 25 <sect2 role="installation"> 26 <title>Installation of Eudev</title>27 28 <para os="a">Prepare Eudev for compilation:</para>29 30 <screen os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc\31 --with-rootprefix="" --libexecdir=/lib --enable-split-usr\32 --libdir=/usr/lib --with-rootlibdir=/lib --sbindir=/sbin--bindir=/sbin \33 --enable-rule_generator --disable-introspection --disable-keymap\34 --disable-gudev --disable-gtk-doc-html --with-firmware-path=/lib/firmware\35 --enable-libkmod</userinput></screen>26 <title>Installation of Udev</title> 27 28 <para os="a">Prepare Udev for compilation:</para> 29 30 <screen os="b"><userinput>./configure --prefix=/usr \ 31 --sysconfdir=/etc --with-rootprefix="" \ 32 --libexecdir=/lib --bindir=/sbin \ 33 --with-usb-ids-path=no --with-pci-ids-path=no \ 34 --enable-rule_generator --disable-introspection \ 35 --disable-keymap --disable-gudev</userinput></screen> 36 36 37 37 <para os="c">Compile the package:</para> … … 50 50 <screen os="j"><userinput>install -dv /lib/firmware</userinput></screen> 51 51 52 <para os="r1">Create a dummy rule so that Eudev will name ethernet devices properly for the system.</para>53 54 <screen os="r2"><userinput>echo "# dummy, so that network is once again on eth*" \55 > /etc/udev/rules.d/80-net-name-slot.rules</userinput></screen>56 57 52 </sect2> 58 53 59 <sect2 id="contents- eudev" role="content">60 <title>Contents of Eudev</title>54 <sect2 id="contents-udev" role="content"> 55 <title>Contents of Udev</title> 61 56 62 57 <segmentedlist> … … 82 77 <term><command>udevadm</command></term> 83 78 <listitem> 84 <para>Controls the runtime behavior of Eudev, requests kernel79 <para>Controls the runtime behavior of Udev, requests kernel 85 80 events, manages the event queue, and provides simple debugging.</para> 86 <indexterm zone="ch-system- eudev udevadm">81 <indexterm zone="ch-system-udev udevadm"> 87 82 <primary sortas="b-udevadm">udevadm</primary> 88 83 </indexterm> … … 96 91 <command>udev</command>, 97 92 thus avoiding various race conditions</para> 98 <indexterm zone="ch-system- eudev udevd">93 <indexterm zone="ch-system-udev udevd"> 99 94 <primary sortas="b-udevd">udevd</primary> 100 95 </indexterm> … … 106 101 <term><command>ata_id</command></term> 107 102 <listitem> 108 <para>Provides Eudev with a unique string and additional103 <para>Provides Udev with a unique string and additional 109 104 information (uuid, label) for an ATA drive</para> 110 <indexterm zone="ch-system- eudev ata_id">105 <indexterm zone="ch-system-udev ata_id"> 111 106 <primary sortas="b-ata_id">ata_id</primary> 112 107 </indexterm> … … 118 113 <listitem> 119 114 <para>Prints the capabilities of a CDROM or DVDROM drive.</para> 120 <indexterm zone="ch-system- eudev cdrom_id">115 <indexterm zone="ch-system-udev cdrom_id"> 121 116 <primary sortas="b-cdrom_id">cdrom_id</primary> 122 117 </indexterm> … … 127 122 <term><command>collect</command></term> 128 123 <listitem> 129 <para>Given an ID for the current uevent and a list of IDs 130 (for all target uevents), registers the current ID and indicates whether 131 all target IDs have been registered.</para> 132 <indexterm zone="ch-system-eudev collect"> 124 <para>DESCRIPTION REQUIRED</para> 125 <indexterm zone="ch-system-udev collect"> 133 126 <primary sortas="b-collect">collect</primary> 134 127 </indexterm> … … 140 133 <listitem> 141 134 <para>Creates all possible floppy devices based on the CMOS type</para> 142 <indexterm zone="ch-system- eudev create_floppy_devices">135 <indexterm zone="ch-system-udev create_floppy_devices"> 143 136 <primary sortas="b-create_floppy_devices">create_floppy_devices</primary> 144 137 </indexterm> … … 150 143 <listitem> 151 144 <para>Identifies x86 disk drives from Enhanced Disk Drive calls</para> 152 <indexterm zone="ch-system- eudev edd_id">145 <indexterm zone="ch-system-udev edd_id"> 153 146 <primary sortas="b-edd_id">edd_id</primary> 154 147 </indexterm> … … 160 153 <listitem> 161 154 <para>Script to load firmware for a device</para> 162 <indexterm zone="ch-system- eudev firmware.sh">155 <indexterm zone="ch-system-udev firmware.sh"> 163 156 <primary sortas="b-firmware.sh">firmware.sh</primary> 164 157 </indexterm> … … 169 162 <term><command>fstab_import</command></term> 170 163 <listitem> 171 <para>Finds an entry in <filename>/etc/fstab</filename> that matches 172 the current device, and provides its information to Udev.</para> 173 <indexterm zone="ch-system-eudev fstab_import"> 164 <para>DESCRIPTION REQUIRED</para> 165 <indexterm zone="ch-system-udev fstab_import"> 174 166 <primary sortas="b-fstab_import">fstab_import</primary> 175 167 </indexterm> … … 182 174 <para>Provides the shortest possible unique hardware path to a 183 175 device</para> 184 <indexterm zone="ch-system- eudev path_id">176 <indexterm zone="ch-system-udev path_id"> 185 177 <primary sortas="b-path_id">path_id</primary> 186 178 </indexterm> … … 192 184 <listitem> 193 185 <para>Retrieves or generates a unique SCSI identifier.</para> 194 <indexterm zone="ch-system- eudev scsi_id">186 <indexterm zone="ch-system-udev scsi_id"> 195 187 <primary sortas="b-scsi_id">scsi_id</primary> 196 188 </indexterm> … … 202 194 <listitem> 203 195 <para>Identifies a USB block device.</para> 204 <indexterm zone="ch-system- eudev usb_id">196 <indexterm zone="ch-system-udev usb_id"> 205 197 <primary sortas="b-usb_id">usb_id</primary> 206 198 </indexterm> … … 211 203 <term><command>v4l_id</command></term> 212 204 <listitem> 213 <para>D etermines V4L capabilities for a given device.</para>214 <indexterm zone="ch-system- eudev v4l_id">205 <para>DESCRIPTION REQUIRED</para> 206 <indexterm zone="ch-system-udev v4l_id"> 215 207 <primary sortas="b-v4l_id">v4l_id</primary> 216 208 </indexterm> … … 221 213 <term><command>write_cd_rules</command></term> 222 214 <listitem> 223 <para>A script which generates Eudev rules to provide stable names 224 for network interfaces.</para> 225 <indexterm zone="ch-system-eudev write_cd_rules"> 215 <para>DESCRIPTION REQUIRED</para> 216 <indexterm zone="ch-system-udev write_cd_rules"> 226 217 <primary sortas="b-write_cd_rules">write_cd_rules</primary> 227 218 </indexterm> … … 232 223 <term><command>write_net_rules</command></term> 233 224 <listitem> 234 <para>A script which generates Eudev rules to provide stable names 235 for network interfaces.</para> 236 <indexterm zone="ch-system-eudev write_net_rules"> 225 <para>DESCRIPTION REQUIRED</para> 226 <indexterm zone="ch-system-udev write_net_rules"> 237 227 <primary sortas="b-write_net_rules">write_net_rules</primary> 238 228 </indexterm> … … 244 234 <term><filename class="libraryfile">libudev</filename></term> 245 235 <listitem> 246 <para> A library interface to eudev device information.</para>247 <indexterm zone="ch-system- eudev libudev">236 <para>DESCRIPTION REQUIRED</para> 237 <indexterm zone="ch-system-udev libudev"> 248 238 <primary sortas="c-libudev">libudev</primary> 249 239 </indexterm> … … 251 241 </varlistentry> 252 242 253 <varlistentry id="etc- eudev">243 <varlistentry id="etc-udev"> 254 244 <term><filename class="directory">/etc/udev</filename></term> 255 245 <listitem> 256 246 <para>Contains <command>udev</command> configuration files, 257 247 device permissions, and rules for device naming</para> 258 <indexterm zone="ch-system- eudev etc-eudev">248 <indexterm zone="ch-system-udev etc-udev"> 259 249 <primary sortas="e-/etc/udev">/etc/udev</primary> 260 250 </indexterm> … … 262 252 </varlistentry> 263 253 264 <varlistentry id="lib- eudev">254 <varlistentry id="lib-udev"> 265 255 <term><filename class="directory">/lib/udev</filename></term> 266 256 <listitem> 267 257 <para>Contains <command>udev</command> helper programs 268 258 and static devices which get copied to /dev when booted.</para> 269 <indexterm zone="ch-system- eudev lib-eudev">259 <indexterm zone="ch-system-udev lib-udev"> 270 260 <primary sortas="e-/lib/udev">/lib/udev</primary> 271 261 </indexterm> -
BOOK/final-system/common/util-linux.xml
r111b12a r76b06f6 44 44 <para os="a">Prepare Util-linux for compilation:</para> 45 45 46 <screen os="b"><userinput>./configure --enable-write --disable-login --disable-su</userinput></screen> 46 <screen os="b"><userinput>./configure --enable-arch \ 47 --enable-write --disable-login --disable-su</userinput></screen> 47 48 48 49 <variablelist os="c"> 49 50 <title>The meaning of the configure options:</title> 51 52 <varlistentry> 53 <term><parameter>--enable-arch</parameter></term> 54 <listitem> 55 <para>This option allows the <command>arch</command> program to be 56 installed.</para> 57 </listitem> 58 </varlistentry> 50 59 51 60 <varlistentry> … … 97 106 98 107 <seglistitem> 99 <seg>addpart, agetty, blkid, blockdev, cal, cfdisk, chcpu,108 <seg>addpart, agetty, arch, blkid, blockdev, cal, cfdisk, chcpu, 100 109 chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, delpart, 101 110 dmesg, eject, fallocate, fdformat, fdisk, findfs, findmnt, flock, … … 141 150 </varlistentry> 142 151 152 <varlistentry id="arch"> 153 <term><command>arch</command></term> 154 <listitem> 155 <para>Reports the machine's architecture</para> 156 <indexterm zone="ch-system-util-linux arch"> 157 <primary sortas="b-arch">arch</primary> 158 </indexterm> 159 </listitem> 160 </varlistentry> 161 143 162 <varlistentry id="blkid"> 144 163 <term><command>blkid</command></term> -
BOOK/final-system/common/vim.xml
r111b12a r76b06f6 34 34 </tip> 35 35 36 <!-- vim branch update patch area37 36 <para os="p1">The following patch merges all updates from the &vim-version; Branch 38 37 from the Vim developers:</para> 39 38 40 39 <screen os="p2"><userinput>patch -Np1 -i ../&vim-branch_update-patch;</userinput></screen> 41 -->42 40 43 41 <para os="b">Change the default location of -
BOOK/final-system/common/xz.xml
r111b12a r76b06f6 30 30 <para os="a">Prepare XZ-Utils for compilation:</para> 31 31 32 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>32 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 33 33 34 34 <para os="c">Compile the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.