Changeset 229ed25 for BOOK/final-system/common
- Timestamp:
- Jan 4, 2014, 12:03:38 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- f90d077
- Parents:
- ec008670 (diff), e57ce38 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- BOOK/final-system/common
- Files:
-
- 2 added
- 3 deleted
- 45 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/autoconf.xml
rec008670 r229ed25 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">To test the results, issue: 37 <userinput>make check VERBOSE=yes</userinput>. 17 tests are skipped that use 38 Automake and different GCC languages. For full test coverage, Autoconf can 39 be re-tested after Automake has been installed.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check VERBOSE=yes</userinput></screen> 39 40 <para os="e3">17 tests are skipped that use Automake and different GCC languages. 41 For full test coverage, Autoconf can be re-tested after Automake has been 42 installed.</para> 40 43 41 44 <para os="f">Install the package:</para> -
BOOK/final-system/common/automake.xml
rec008670 r229ed25 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">To test the results, issue: 37 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 38 39 39 40 <para os="f">Install the package:</para> -
BOOK/final-system/common/bash.xml
rec008670 r229ed25 53 53 <screen os="e"><userinput>make</userinput></screen> 54 54 55 <para os="f">To test the results, issue: 56 <userinput>make tests</userinput>.</para> 55 <para os="f">To test the results, issue:</para> 56 57 <screen os="f2"><userinput remap="test">make tests</userinput></screen> 57 58 58 59 <para os="g">Install the package:</para> -
BOOK/final-system/common/binutils.xml
rec008670 r229ed25 40 40 needs to be resolved before running the test suites for Binutils and GCC.</para> 41 41 42 <!-- Branch update patch area 43 <para os="p1">The following patch contains a number of updates to the 44 &binutils-version; branch by the Binutils developers:</para> 45 46 <screen os="p2"><userinput>patch -Np1 -i ../&binutils-branch_update-patch;</userinput></screen> 47 --> 48 42 49 <para os="g">The Binutils documentation recommends building Binutils outside of the 43 50 source directory in a dedicated build directory:</para> … … 50 57 <screen os="ca"><userinput>CC="gcc -isystem /usr/include" \ 51 58 LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \ 52 ../binutils-&binutils- version;/configure --prefix=/usr \59 ../binutils-&binutils-dir;/configure --prefix=/usr \ 53 60 --enable-shared</userinput></screen> 54 61 … … 91 98 <para os="p">Test the results:</para> 92 99 93 <screen os="q"><userinput >make check</userinput></screen>100 <screen os="q"><userinput remap="test">make check</userinput></screen> 94 101 95 102 <para os="r">Install the package:</para> … … 100 107 file that is needed by some packages:</para> 101 108 102 <screen os="u"><userinput>cp -v ../binutils-&binutils- version;/include/libiberty.h /usr/include</userinput></screen>109 <screen os="u"><userinput>cp -v ../binutils-&binutils-dir;/include/libiberty.h /usr/include</userinput></screen> 103 110 104 111 </sect2> … … 113 120 114 121 <seglistitem> 115 <seg>addr2line, ar, as, c++filt, gprof, ld, nm, objcopy, objdump, 122 <seg>addr2line, ar, as, c++filt, elfedit, gprof, ld, ld.bfd, nm, objcopy, 123 objdump, 116 124 ranlib, readelf, size, strings, and strip</seg> 117 125 <seg>libiberty.a, libbfd.[a,so], and libopcodes.[a,so]</seg> … … 170 178 </varlistentry> 171 179 180 <varlistentry id="elfedit"> 181 <term><command>elfedit</command></term> 182 <listitem> 183 <para>Updates the ELF header of ELF files</para> 184 <indexterm zone="ch-system-binutils elfedit"> 185 <primary sortas="b-elfedit">elfedit</primary> 186 </indexterm> 187 </listitem> 188 </varlistentry> 189 172 190 <varlistentry id="gprof"> 173 191 <term><command>gprof</command></term> … … 188 206 <indexterm zone="ch-system-binutils ld"> 189 207 <primary sortas="b-ld">ld</primary> 208 </indexterm> 209 </listitem> 210 </varlistentry> 211 212 <varlistentry id="ld.bfd"> 213 <term><command>ld.bfd</command></term> 214 <listitem> 215 <para>Hard link to <command>ld</command></para> 216 <indexterm zone="ch-system-binutils ld.bfd"> 217 <primary sortas="b-ld.bfd">ld.bfd</primary> 190 218 </indexterm> 191 219 </listitem> -
BOOK/final-system/common/bison.xml
rec008670 r229ed25 25 25 <title>Installation of Bison</title> 26 26 27 <para os="t3">The <command>configure </command>script does not determine 28 the correct value for the following. Set the value manually:</para> 29 30 <screen os="t4"><userinput>echo "ac_cv_prog_lex_is_flex=yes" > config.cache</userinput></screen> 31 27 32 <para os="a">Prepare Bison for compilation:</para> 28 33 29 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 30 31 <para os="b1">The configure system causes Bison to be built without support 32 for internationalization of error messages if a <command>bison</command> 33 program is not already in $PATH. The following addition will correct 34 this:</para> 35 36 <screen os="b2"><userinput>echo '#define YYENABLE_NLS 1' >> config.h</userinput></screen> 34 <screen os="b"><userinput>./configure --prefix=/usr --cache-file=config.cache</userinput></screen> 37 35 38 36 <para os="c">Compile the package:</para> … … 40 38 <screen os="d"><userinput>make</userinput></screen> 41 39 42 <para os="e">To test the results, issue: 43 <userinput>make check</userinput>.</para> 40 <para os="e">To test the results, issue:</para> 41 42 <screen os="e2"><userinput remap="test">make check</userinput></screen> 44 43 45 44 <para os="f">Install the package:</para> -
BOOK/final-system/common/cloog.xml
rec008670 r229ed25 6 6 ]> 7 7 8 <sect1 id="ch-system-cloog -ppl" role="wrap">9 <?dbhtml filename="cloog -ppl.html"?>8 <sect1 id="ch-system-cloog" role="wrap"> 9 <?dbhtml filename="cloog.html"?> 10 10 11 <title>CLooG- PPL-&cloog-ppl-version;</title>11 <title>CLooG-&cloog-version;</title> 12 12 13 <indexterm zone="ch-system-cloog -ppl">14 <primary sortas="a-CLooG -PPL">CLooG-PPL</primary>13 <indexterm zone="ch-system-cloog"> 14 <primary sortas="a-CLooG">CLooG</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>CLooG -PPLis a library to generate code for scanning Z-polyhedra.20 <para>CLooG is a library to generate code for scanning Z-polyhedra. 21 21 In other words, it finds code that reaches each integral point of one or 22 22 more parameterized polyhedra. GCC links with this library in order to … … 26 26 27 27 <sect2 role="installation"> 28 <title>Installation of CLooG -PPL</title>28 <title>Installation of CLooG</title> 29 29 30 <para os="a">Prepare CLooG -PPLfor compilation:</para>30 <para os="a">Prepare CLooG for compilation:</para> 31 31 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-gmp \ 35 --with-ppl</userinput></screen> 34 ./configure --prefix=/usr --enable-shared --with-isl=system</userinput></screen> 35 36 <para os="s1">Apply a <command>sed</command> which prevents the attempted installation of an invalid file:</para> 37 38 <screen os="s2"><userinput>sed -i '/cmake/d' Makefile</userinput></screen> 36 39 37 40 <para os="c">Compile the package:</para> … … 40 43 41 44 <important os="e"> 42 <para>The test suite for CLooG -PPLis considered45 <para>The test suite for CLooG is considered 43 46 critical. Do not skip it under any circumstance.</para> 44 47 </important> … … 46 49 <para os="f">Test the results:</para> 47 50 48 <screen os="g"><userinput >make check</userinput></screen>51 <screen os="g"><userinput remap="test">make check</userinput></screen> 49 52 50 53 <para os="h">Install the package:</para> … … 54 57 </sect2> 55 58 56 <sect2 id="contents-cloog -ppl" role="content">57 <title>Contents of CLooG -PPL</title>59 <sect2 id="contents-cloog" role="content"> 60 <title>Contents of CLooG</title> 58 61 59 62 <segmentedlist> 60 <segtitle>Installed program s</segtitle>63 <segtitle>Installed program</segtitle> 61 64 <segtitle>Installed libraries</segtitle> 62 <segtitle>Installed director y</segtitle>65 <segtitle>Installed directories</segtitle> 63 66 64 67 <seglistitem> 65 68 <seg>cloog</seg> 66 <seg>libcloog .[a,so]</seg>69 <seg>libcloog-isl.[a,so]</seg> 67 70 <seg>/usr/include/cloog</seg> 68 71 </seglistitem> … … 78 81 <listitem> 79 82 <para>Loop generator for scanning Z-polyhedra</para> 80 <indexterm zone="ch-system-cloog -pplcloog">83 <indexterm zone="ch-system-cloog cloog"> 81 84 <primary sortas="b-cloog">cloog</primary> 82 85 </indexterm> … … 84 87 </varlistentry> 85 88 86 <varlistentry id="libcloog ">87 <term><filename class="libraryfile">libcloog </filename></term>89 <varlistentry id="libcloog-isl"> 90 <term><filename class="libraryfile">libcloog-isl</filename></term> 88 91 <listitem> 89 <para> The Chunky Loop Generator.</para>90 <indexterm zone="ch-system-cloog -ppl libcloog">91 <primary sortas="c-libcloog- ppl">libcloog</primary>92 <para>Isl backend for CLooG.</para> 93 <indexterm zone="ch-system-cloog libcloog-isl"> 94 <primary sortas="c-libcloog-isl">libcloog-isl</primary> 92 95 </indexterm> 93 96 </listitem> -
BOOK/final-system/common/coreutils.xml
rec008670 r229ed25 35 35 <para os="c">Now prepare Coreutils for compilation:</para> 36 36 37 <screen os="d"><userinput>./configure --prefix=/usr \ 37 <screen os="d"><userinput>FORCE_UNSAFE_CONFIGURE=1 \ 38 ./configure --prefix=/usr \ 38 39 --enable-no-install-program=kill,uptime \ 39 40 --enable-install-program=hostname</userinput></screen> 41 42 <variablelist os="d1"> 43 <title>The meaning of the configure options:</title> 44 45 <varlistentry os="d2"> 46 <term><parameter>FORCE_UNSAFE_CONFIGURE=1</parameter></term> 47 <listitem> 48 <para>Forces Coreutils to compile when using the root user.</para> 49 </listitem> 50 </varlistentry> 51 52 </variablelist> 40 53 41 54 <para os="e">Compile the package:</para> … … 45 58 <para os="g">The test suite of Coreutils makes several assumptions about the 46 59 presence of system users and groups that are not valid within the minimal 47 environment that exists at the moment. Therefore, additional items need 48 to be set up before running the tests. Skip down to <quote>Install the 49 package</quote> if not running the test suite.</para> 50 51 <para os="h">Create two <systemitem class="groupname">dummy</systemitem> groups 52 and a <systemitem class="username">dummy</systemitem> user:</para> 53 54 <screen os="i"><userinput>echo "dummy1:x:1000:" >> /etc/group 55 echo "dummy2:x:1001:dummy" >> /etc/group 56 echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd</userinput></screen> 57 58 <para os="j">Now the test suite is ready to be run. First, run 60 environment that exists at the moment. Therefore, we will reuse the dummy 61 groups and user created during Util-linux. Skip down to <quote>Install the 62 package</quote> if not running the test suite and you did not create the 63 dummy groups and users during Util-linux.</para> 64 65 <para os="h">Now the test suite is ready to be run. First, run 59 66 the tests that are meant to be run as user 60 67 <systemitem class="username">root</systemitem>:</para> 61 68 62 <screen os=" k"><userinput>make NON_ROOT_USERNAME=dummy check-root</userinput></screen>63 64 <para os=" l">The testsuite will now be run as the69 <screen os="i"><userinput remap="test">make NON_ROOT_USERNAME=dummy</userinput></screen> 70 71 <para os="j">The testsuite will now be run as the 65 72 <systemitem class="username">dummy</systemitem> user. Fix the permissions 66 73 for a few files to allow this:</para> 67 74 68 <screen os=" m"><userinput>chown -Rv dummy config.log {gnulib-tests,lib,src}/.deps</userinput></screen>69 70 <para os=" n">Then run the remainder of the tests as the75 <screen os="k"><userinput remap="test">chown -Rv dummy .</userinput></screen> 76 77 <para os="l">Then run the remainder of the tests as the 71 78 <systemitem class="username">dummy</systemitem> user:</para> 72 79 73 <screen os="o"><userinput>src/su dummy -c "make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> 74 75 <para os="p">When testing is complete, remove the 80 <screen os="m"><userinput remap="test">su dummy -s /bin/bash \ 81 -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes -k check || true"</userinput></screen> 82 83 <para os="n">When testing is complete, remove the 76 84 <systemitem class="username">dummy</systemitem> user and groups:</para> 77 85 78 <screen os=" q"><userinput>sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen>79 80 <para os=" r">Install the package:</para>81 82 <screen os=" s"><userinput>make install</userinput></screen>83 84 <para os=" t">Move programs to the locations specified by the FHS:</para>85 86 <screen os=" u"><userinput>mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date} /bin86 <screen os="o"><userinput remap="test">sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen> 87 88 <para os="p">Install the package:</para> 89 90 <screen os="q"><userinput>make install</userinput></screen> 91 92 <para os="r">Move programs to the locations specified by the FHS:</para> 93 94 <screen os="s"><userinput>mv -v /usr/bin/{cat,chgrp,chmod,chown,cp,date} /bin 87 95 mv -v /usr/bin/{dd,df,echo,false,hostname,ln,ls,mkdir,mknod} /bin 88 96 mv -v /usr/bin/{mv,pwd,rm,rmdir,stty,true,uname} /bin … … 104 112 echo, env, expand, expr, factor, false, fmt, fold, groups, head, 105 113 hostid, hostname, id, install, join, link, ln, logname, ls, md5sum, 106 mkdir, mkfifo, mknod, mktemp, mv, nice, nl, nohup, od, paste, pathchk,107 p inky, pr, printenv, printf, ptx, pwd, readlink, rm, rmdir, runcon, seq,108 sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, shred, shuf,109 s leep, sort, split, stat, stdbuf, stty, sum, sync, tac, tail, tee, test,110 timeout, touch, tr, true, truncate, tsort, tty, uname, unexpand, uniq,111 unlink, users, vdir, wc, who, whoami, and yes</seg>114 mkdir, mkfifo, mknod, mktemp, mv, nice, nl, nohup, nproc, numfmt, od, paste, 115 pathchk, pinky, pr, printenv, printf, ptx, pwd, readlink, realpath, rm, 116 rmdir, runcon, seq, sha1sum, sha224sum, sha256sum, sha384sum, 117 sha512sum, shred, shuf, sleep, sort, split, stat, stdbuf, stty, sum, 118 sync, tac, tail, tee, test, timeout, touch, tr, true, truncate, tsort, 119 tty, uname, unexpand, uniq, unlink, users, vdir, wc, who, whoami, and yes</seg> 112 120 <seg>libstdbuf.so</seg> 113 121 <seg>/usr/lib/coreutils</seg> … … 627 635 </varlistentry> 628 636 637 <varlistentry id="nproc"> 638 <term><command>nproc</command></term> 639 <listitem> 640 <para>Prints the number of processing units available to the current 641 process</para> 642 <indexterm zone="ch-system-coreutils nproc"> 643 <primary sortas="b-nproc">nproc</primary> 644 </indexterm> 645 </listitem> 646 </varlistentry> 647 648 <varlistentry id="numfmt"> 649 <term><command>numfmt</command></term> 650 <listitem> 651 <para>Converts numbers to or from human-readable strings</para> 652 <indexterm zone="ch-system-coreutils numfmt"> 653 <primary sortas="b-numfmt">numfmt</primary> 654 </indexterm> 655 </listitem> 656 </varlistentry> 657 629 658 <varlistentry id="od"> 630 659 <term><command>od</command></term> … … 727 756 <indexterm zone="ch-system-coreutils readlink"> 728 757 <primary sortas="b-readlink">readlink</primary> 758 </indexterm> 759 </listitem> 760 </varlistentry> 761 762 <varlistentry id="realpath"> 763 <term><command>realpath</command></term> 764 <listitem> 765 <para>Prints the resolved path</para> 766 <indexterm zone="ch-system-coreutils realpath"> 767 <primary sortas="b-realpath">realpath</primary> 729 768 </indexterm> 730 769 </listitem> -
BOOK/final-system/common/diffutils.xml
rec008670 r229ed25 39 39 <screen os="d"><userinput>make</userinput></screen> 40 40 41 <para os="e">This package does not come with a test suite.</para> 41 <para os="e">To test the results, issue:</para> 42 43 <screen os="e2"><userinput remap="test">make check</userinput></screen> 42 44 43 45 <para os="f">Install the package:</para> -
BOOK/final-system/common/e2fsprogs.xml
rec008670 r229ed25 73 73 <screen os="g"><userinput>make</userinput></screen> 74 74 75 <para os="h">To test the results, issue: 76 <userinput>make check</userinput>.</para> 75 <para os="h">To test the results, issue:</para> 76 77 <screen os="h2"><userinput remap="test">make check</userinput></screen> 77 78 78 79 <para os="i">Install the binaries, documentation and shared libraries:</para> … … 96 97 <seglistitem> 97 98 <seg>badblocks, chattr, compile_et, debugfs, dumpe2fs, e2freefrag, 98 e2fsck, e2image, e2initrd_helper, e2label, e2undo, filefrag, fsck.ext2,99 fsck.ext 3, fsck.ext4, fsck.ext4dev, logsave, lsattr, mk_cmds, mke2fs,100 mk fs.ext2, mkfs.ext3, mkfs.ext4, mkfs.ext4dev, mklost+found, resize2fs,101 and tune2fs</seg>102 <seg>libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so], and103 libss.[a,so] </seg>99 e2fsck, e2image, e2initrd_helper, e2label, e2undo, e4defrag, filefrag, 100 fsck.ext2, fsck.ext3, fsck.ext4, fsck.ext4dev, logsave, lsattr, 101 mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3, mkfs.ext4, mkfs.ext4dev, 102 mklost+found, resize2fs, and tune2fs</seg> 103 <seg>libcom_err.[a,so], libe2p.[a,so], libext2fs.[a,so], 104 libss.[a,so], and libquota.a</seg> 104 105 <seg>/usr/include/e2p, /usr/include/et, /usr/include/ext2fs, 105 /usr/include/ ss, /usr/share/et, /usr/share/ss</seg>106 /usr/include/quota, /usr/include/ss, /usr/share/et, /usr/share/ss</seg> 106 107 </seglistitem> 107 108 </segmentedlist> … … 126 127 <term><command>chattr</command></term> 127 128 <listitem> 128 <para>Changes the attributes of files on an <systemitem 129 class="filesystem">ext2</systemitem> file system; it also 130 changes <systemitem class="filesystem">ext3</systemitem> 131 file systems, the journaling version of <systemitem 132 class="filesystem">ext2</systemitem> file systems</para> 129 <para>Changes the attributes on a Linux file system</para> 133 130 <indexterm zone="ch-system-e2fsprogs chattr"> 134 131 <primary sortas="b-chattr">chattr</primary> … … 186 183 <listitem> 187 184 <para>Is used to check, and optionally repair <systemitem 188 class="filesystem">ext2</systemitem> file systems and <systemitem 189 class="filesystem">ext3</systemitem> file systems</para> 185 class="filesystem">ext2</systemitem>, <systemitem 186 class="filesystem">ext3</systemitem> and <systemitem 187 class="filesystem">ext4</systemitem>file systems</para> 190 188 <indexterm zone="ch-system-e2fsprogs e2fsck"> 191 189 <primary sortas="b-e2fsck">e2fsck</primary> … … 238 236 </varlistentry> 239 237 238 <varlistentry id="e4defrag"> 239 <term><command>e4defrag</command></term> 240 <listitem> 241 <para>Online defragmenter for ext4 filesystems</para> 242 <indexterm zone="ch-system-e2fsprogs e4defrag"> 243 <primary sortas="b-e4defrag">e4defrag</primary> 244 </indexterm> 245 </listitem> 246 </varlistentry> 247 240 248 <varlistentry id="filefrag"> 241 249 <term><command>filefrag</command></term> … … 328 336 <term><command>mke2fs</command></term> 329 337 <listitem> 330 <para>Creates an <systemitem class="filesystem">ext2</systemitem> 331 or <systemitem class="filesystem">ext3</systemitem> file system on332 the given device</para>338 <para>Creates an <systemitem class="filesystem">ext2</systemitem>, 339 <systemitem class="filesystem">ext3</systemitem> or <systemitem 340 class="filesystem">ext4</systemitem> file system on the given device</para> 333 341 <indexterm zone="ch-system-e2fsprogs mke2fs"> 334 342 <primary sortas="b-mke2fs">mke2fs</primary> … … 448 456 </varlistentry> 449 457 458 <varlistentry id="libquota"> 459 <term><filename class="libraryfile">libquota</filename></term> 460 <listitem> 461 <para>Provides an interface for creating and updating quota files 462 and ext4 superblock fields</para> 463 <indexterm zone="ch-system-e2fsprogs libquota"> 464 <primary sortas="c-libquota">libquota</primary> 465 </indexterm> 466 </listitem> 467 </varlistentry> 468 450 469 <varlistentry id="libss"> 451 470 <term><filename class="libraryfile">libss</filename></term> -
BOOK/final-system/common/eglibc.xml
rec008670 r229ed25 58 58 unset LINKER</userinput></screen> 59 59 60 <para os="p1">The following patch fixes an issue where EGLIBC will61 improperly handle a condition where an elf binary has missing62 dependencies:</para>63 64 <screen os="p2"><userinput>patch -Np1 -i ../&eglibc-dl_dep_fix-patch;</userinput></screen>65 66 60 <para os="b">The EGLIBC build system is self-contained and will install 67 61 perfectly, even though the compiler specs file and linker are still … … 71 65 of achieving a clean build.</para> 72 66 73 <para os="e">The EGLIBC documentation recommends building EGLIBC outside of the 74 source directory in a dedicated build directory:</para> 67 <para os="s1">Allow EGLIBC to detect Make-4.x:</para> 68 69 <screen os="s2"><userinput>sed -r -i 's/(3..89..)/\1 | 4.*/' configure</userinput></screen> 70 71 <para os="e">The EGLIBC documentation recommends building EGLIBC outside of the source directory in a dedicated build directory:</para> 75 72 76 73 <screen os="f"><userinput>mkdir -v ../eglibc-build … … 80 77 81 78 <screen os="h"><userinput>../eglibc-&eglibc-version;/configure --prefix=/usr \ 82 --disable-profile --enable- add-ons --enable-kernel=2.6.0\83 -- libexecdir=/usr/lib/eglibc</userinput></screen>79 --disable-profile --enable-kernel=2.6.32 --libexecdir=/usr/lib/eglibc \ 80 --enable-obsolete-rpc</userinput></screen> 84 81 85 82 <variablelist os="i"> … … 89 86 <term><parameter>--libexecdir=/usr/lib/eglibc</parameter></term> 90 87 <listitem> 91 <para>This changes the location of the <command> pt_chown</command>92 programfrom its default of <filename88 <para>This changes the location of the <command>getconf</command> 89 utility from its default of <filename 93 90 class="directory">/usr/libexec</filename> to <filename 94 91 class="directory">/usr/lib/eglibc</filename>.</para> … … 111 108 <!-- items n,o,p no longer the master, use x86_64 which has no failures --> 112 109 113 <screen os="n"><userinput >cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata110 <screen os="n"><userinput remap="test">cp -v ../eglibc-&eglibc-version;/iconvdata/gconv-modules iconvdata 114 111 make -k check 2>&1 | tee eglibc-check-log; grep Error eglibc-check-log</userinput></screen> 115 112 … … 150 147 <screen os="r"><userinput>touch /etc/ld.so.conf</userinput></screen> 151 148 152 <para os="s">Install the package:</para> 153 154 <screen os="t"><userinput>make install</userinput></screen> 149 <para os="s">Install the package, and remove unneeded files from 150 <filename class="directory">/usr/include/rpcsvc</filename>:</para> 151 152 <screen os="t"><userinput>make install && 153 rm -v /usr/include/rpcsvc/*.x</userinput></screen> 155 154 156 155 </sect2> … … 246 245 EOF</userinput></screen> 247 246 247 <para>Install timezone data:</para> 248 <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz 249 250 ZONEINFO=/usr/share/zoneinfo 251 mkdir -pv $ZONEINFO/{posix,right} 252 253 for tz in etcetera southamerica northamerica europe africa antarctica \ 254 asia australasia backward pacificnew \ 255 systemv; do 256 zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz} 257 zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz} 258 zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz} 259 done 260 261 cp -v zone.tab iso3166.tab $ZONEINFO 262 zic -d $ZONEINFO -p America/New_York 263 unset ZONEINFO</userinput></screen> 264 265 <variablelist> 266 <title>The meaning of the zic commands:</title> 267 268 <varlistentry> 269 <term><parameter>zic -L /dev/null ...</parameter></term> 270 <listitem> 271 <para>This creates posix timezones, without any leap seconds. It is 272 conventional to put these in both 273 <filename class="directory">zoneinfo</filename> and 274 <filename class="directory">zoneinfo/posix</filename>. It is 275 necessary to put the POSIX timezones in 276 <filename class="directory">zoneinfo</filename>, otherwise various 277 test-suites will report errors. On an embedded system, where space is 278 tight and you do not intend to ever update the timezones, you could save 279 1.9MB by not using the <filename class="directory">posix</filename> 280 directory, but some applications or test-suites might give less good 281 results</para> 282 </listitem> 283 </varlistentry> 284 <varlistentry> 285 <term><parameter>zic -L leapseconds ...</parameter></term> 286 <listitem> 287 <para>This creates right timezones, including leap seconds. On an 288 embedded system, where space is tight and you do not intend to 289 ever update the timezones, or care about the correct time, you could 290 save 1.9MB by omitting the <filename class="directory">right</filename> 291 directory.</para> 292 </listitem> 293 </varlistentry> 294 <varlistentry> 295 <term><parameter>zic ... -p ...</parameter></term> 296 <listitem> 297 <para>This creates the <filename>posixrules</filename> file. We use 298 New York because POSIX requires the daylight savings time rules 299 to be in accordance with US rules.</para> 300 </listitem> 301 </varlistentry> 302 </variablelist> 303 248 304 <para>To determine the local time zone, run the following script:</para> 249 305 … … 323 379 <seglistitem> 324 380 <seg>catchsegv, gencat, getconf, getent, iconv, iconvconfig, ldconfig, 325 ldd, lddlibc4, locale, localedef, m trace, nscd,326 pcprofiledump, p t_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,327 zdump,and zic</seg>381 ldd, lddlibc4, locale, localedef, makedb, mtrace, nscd, 382 pcprofiledump, pldd, rpcgen, sln, sprof, tzselect, xtrace,zdump, 383 and zic</seg> 328 384 <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so], 329 385 libbsd-compat.a, libc.[a,so], libc_nonshared.a, libcidn.[a,so], … … 465 521 </varlistentry> 466 522 523 <varlistentry id="makedb"> 524 <term><command>makedb</command></term> 525 <listitem> 526 <para>Creates a simple database from textual input</para> 527 <indexterm zone="ch-system-eglibc makedb"> 528 <primary sortas="b-makedb">makedb</primary> 529 </indexterm> 530 </listitem> 531 </varlistentry> 532 467 533 <varlistentry id="mtrace"> 468 534 <term><command>mtrace</command></term> … … 497 563 </varlistentry> 498 564 499 <varlistentry id="pt_chown"> 500 <term><command>pt_chown</command></term> 501 <listitem> 502 <para>A helper program for <command>grantpt</command> to set the owner, 503 group and access permissions of a slave pseudo terminal</para> 504 <indexterm zone="ch-system-eglibc pt_chown"> 505 <primary sortas="b-pt_chown">pt_chown</primary> 565 <varlistentry id="pldd"> 566 <term><command>pldd</command></term> 567 <listitem> 568 <para>Lists dynamic shared objects used by running processes</para> 569 <indexterm zone="ch-system-eglibc pldd"> 570 <primary sortas="b-pldd">pldd</primary> 506 571 </indexterm> 507 572 </listitem> … … 519 584 </varlistentry> 520 585 521 <varlistentry id="rpcinfo">522 <term><command>rpcinfo</command></term>523 <listitem>524 <para>Makes an RPC call to an RPC server</para>525 <indexterm zone="ch-system-eglibc rpcinfo">526 <primary sortas="b-rpcinfo">rpcinfo</primary>527 </indexterm>528 </listitem>529 </varlistentry>530 531 586 <varlistentry id="sln"> 532 587 <term><command>sln</command></term> … … 535 590 <indexterm zone="ch-system-eglibc sln"> 536 591 <primary sortas="b-sln">sln</primary> 592 </indexterm> 593 </listitem> 594 </varlistentry> 595 596 <varlistentry id="sotruss"> 597 <term><command>sotruss</command></term> 598 <listitem> 599 <para>Traces shared library procedure calls of a specified command</para> 600 <indexterm zone="ch-system-eglibc sotruss"> 601 <primary sortas="b-sotruss">sotruss</primary> 537 602 </indexterm> 538 603 </listitem> -
BOOK/final-system/common/file.xml
rec008670 r229ed25 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">This package does not come with a test suite.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 37 39 38 40 <para os="f">Install the package:</para> -
BOOK/final-system/common/findutils.xml
rec008670 r229ed25 51 51 <screen os="e"><userinput>make</userinput></screen> 52 52 53 <para os="f">To test the results, issue: 54 <userinput>make check</userinput>.</para> 53 <para os="f">To test the results, issue:</para> 54 55 <screen os="f2"><userinput remap="test">make check</userinput></screen> 55 56 56 57 <para os="g">Install the package:</para> -
BOOK/final-system/common/flex.xml
rec008670 r229ed25 26 26 <title>Installation of Flex</title> 27 27 28 <para os="p1">The following patch contains fixes to Generate proper29 GCC 4.4.x code:</para>30 31 <screen os="p2"><userinput>patch -Np1 -i ../&flex-gcc44-patch;</userinput></screen>32 33 28 <para os="a">Prepare Flex for compilation:</para> 34 29 … … 39 34 <screen os="d"><userinput>make</userinput></screen> 40 35 41 <para os="e">To test the results, issue: 42 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 43 39 44 40 <para os="f">Install the package:</para> … … 101 97 </varlistentry> 102 98 99 <varlistentry id="flexpp"> 100 <term><command>flex++</command></term> 101 <listitem> 102 <para>Link to <command>flex</command> which makes it generate C++ 103 scanner classes</para> 104 <indexterm zone="ch-system-flex flexpp"> 105 <primary sortas="b-flex++">flex++</primary> 106 </indexterm> 107 </listitem> 108 </varlistentry> 109 103 110 <varlistentry id="lex"> 104 111 <term><command>lex</command></term> -
BOOK/final-system/common/gawk.xml
rec008670 r229ed25 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">To test the results, issue: 37 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 38 39 39 40 <para os="f">Install the package:</para> -
BOOK/final-system/common/gcc.xml
rec008670 r229ed25 26 26 <title>Installation of GCC</title> 27 27 28 29 28 <para os="p1">The following patch contains a number of updates to the 30 29 &gcc-version; branch by the GCC developers:</para> 31 30 32 31 <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 will 34 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> 33 38 34 39 <para os="d">Apply a <command>sed</command> substitution that will suppress the … … 54 59 --enable-__cxa_atexit --enable-c99 --enable-long-long \ 55 60 --enable-clocale=gnu --enable-languages=c,c++ \ 56 --disable-multilib --disable-libstdcxx-pch</userinput></screen> 61 --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 65 58 66 <para os="j">Compile the package:</para> … … 65 73 </important> 66 74 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 67 79 <para os="m">Test the results, but do not stop at errors:</para> 68 80 69 <screen os="n"><userinput >make -k check</userinput></screen>81 <screen os="n"><userinput remap="test">make -k check</userinput></screen> 70 82 71 83 <para os="o">The <parameter>-k</parameter> flag is used to make the test suite … … 74 86 failures. To receive a summary of the test suite results, run:</para> 75 87 76 <screen os="p"><userinput >../gcc-&gcc-version;/contrib/test_summary</userinput></screen>88 <screen os="p"><userinput remap="test">../gcc-&gcc-version;/contrib/test_summary</userinput></screen> 77 89 78 90 <para os="q">For only the summaries, pipe the output through … … 97 109 98 110 <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> 99 115 100 116 </sect2> … … 109 125 110 126 <seglistitem> 111 <seg>c++, cc (link to gcc), cpp, g++, gcc, gccbug,and gcov</seg>112 <seg>lib gcc.a, libgcc_eh.a, libgcc_s.so, libgcov.a, libgomp.[a,so],113 lib mudflap.[a,so], libmudflapth.[a,so], libssp.[a,so],114 libssp_nonshared.a, libstdc++.[a,so], and libsupc++.a</seg>115 <seg>/usr/include/c++, /usr/lib/gcc </seg>127 <seg>c++, cc (link to gcc), cpp, g++, gcc, and gcov</seg> 128 <seg>libasan.[a,so], libgcc.a, libgcc_eh.a, libgcc_s.so, libgcov.a, 129 libgomp.[a,so], libmudflap.[a,so], libmudflapth.[a,so], libssp.[a,so], 130 libssp_nonshared.a, libstdc++.[a,so], libsupc++.a, and libtsan.[a,so]</seg> 131 <seg>/usr/include/c++, /usr/lib/gcc, /usr/share/gcc-&gcc-version;</seg> 116 132 </seglistitem> 117 133 </segmentedlist> … … 173 189 </varlistentry> 174 190 175 <varlistentry id="gccbug">176 <term><command>gccbug</command></term>177 <listitem>178 <para>A shell script used to help create useful bug reports</para>179 <indexterm zone="ch-system-gcc gccbug">180 <primary sortas="b-gccbug">gccbug</primary>181 </indexterm>182 </listitem>183 </varlistentry>184 185 191 <varlistentry id="gcov"> 186 192 <term><command>gcov</command></term> … … 194 200 </varlistentry> 195 201 202 <varlistentry id="libasan"> 203 <term><filename class="libraryfile">libasan</filename></term> 204 <listitem> 205 <para>The Address Sanitizer runtime library</para> 206 <indexterm zone="ch-system-gcc libasan"> 207 <primary sortas="c-libasan">libasan</primary> 208 </indexterm> 209 </listitem> 210 </varlistentry> 211 196 212 <varlistentry id="libgcc"> 197 213 <term><filename class="libraryfile">libgcc</filename></term> … … 269 285 </varlistentry> 270 286 287 <varlistentry id="libtsan"> 288 <term><filename class="libraryfile">libtsan</filename></term> 289 <listitem> 290 <para>The Thread Sanitizer runtime library</para> 291 <indexterm zone="ch-system-gcc libtsan"> 292 <primary sortas="c-libtsan">libtsan</primary> 293 </indexterm> 294 </listitem> 295 </varlistentry> 296 271 297 </variablelist> 272 298 -
BOOK/final-system/common/gettext.xml
rec008670 r229ed25 36 36 <screen os="d"><userinput>make</userinput></screen> 37 37 38 <para os="e">To test the results, issue: <userinput>make check</userinput>.</para> 38 <para os="e">To test the results, issue:</para> 39 40 <screen os="e2"><userinput remap="test">make check</userinput></screen> 39 41 40 42 <para os="f">Install the package:</para> -
BOOK/final-system/common/gmp.xml
rec008670 r229ed25 35 35 36 36 <note os="n1"> 37 <para>If you are compiling this package on a different CPU th en you plan to38 run the CLFS system on. You must replace GMP's <filename>config.guess</filename>39 and <filename>config.sub</filename> wrappers with the originals. This will40 prevent GMP from optimizing for the wrong CPU. You can make this change with41 the following command:</para>37 <para>If you are compiling this package on a different CPU than you plan 38 to run the CLFS system on, you must replace GMP's 39 <filename>config.guess</filename> and <filename>config.sub</filename> 40 wrappers with the originals. This will prevent GMP from optimizing for 41 the wrong CPU. You can make this change with the following command:</para> 42 42 43 <screen> <userinput>mv -v config{fsf,}.guess44 mv -v config{fsf,}.sub</ userinput></screen>43 <screen>mv -v config{fsf,}.guess 44 mv -v config{fsf,}.sub</screen> 45 45 46 46 </note> … … 48 48 <para os="a">Prepare GMP for compilation:</para> 49 49 50 <screen os="b"><userinput>C PPFLAGS=-fexceptions CC="gcc -isystem /usr/include" \50 <screen os="b"><userinput>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 --enable-mpbsd</userinput></screen>53 ./configure --prefix=/usr --enable-cxx</userinput></screen> 54 54 55 55 <para os="c">Compile the package:</para> … … 64 64 <para os="f">Test the results:</para> 65 65 66 <screen os="g"><userinput >make check</userinput></screen>66 <screen os="g"><userinput remap="test">make check</userinput></screen> 67 67 68 68 <para os="h">Install the package:</para> -
BOOK/final-system/common/grep.xml
rec008670 r229ed25 28 28 <para os="a">Prepare Grep for compilation:</para> 29 29 30 <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin --without-included-regex</userinput></screen>30 <screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen> 31 31 32 32 <para os="c">Compile the package:</para> … … 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">To test the results, issue: 37 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 38 39 39 40 <para os="f">Install the package:</para> -
BOOK/final-system/common/groff.xml
rec008670 r229ed25 69 69 roff2pdf, roff2ps, roff2text, roff2x, soelim, tbl, tfmtodit, troff, 70 70 and zsoelim (link to soelim)</seg> 71 <seg>/usr/lib/groff, /usr/share/doc/groff , /usr/share/groff</seg>71 <seg>/usr/lib/groff, /usr/share/doc/groff-&groff-version;, /usr/share/groff</seg> 72 72 </seglistitem> 73 73 </segmentedlist> -
BOOK/final-system/common/gzip.xml
rec008670 r229ed25 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">To test the results, issue: <command>make check</command>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 37 39 38 40 <para os="f">Install the package:</para> -
BOOK/final-system/common/iana-etc.xml
rec008670 r229ed25 25 25 <sect2 role="installation"> 26 26 <title>Installation of Iana-Etc</title> 27 28 <note os="p1"> 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> 32 Do not apply the following patch.</para> 33 </note> 34 35 <para os="p2">The following patch updates the services and protocol files:</para> 36 37 <screen os="p3"><userinput>patch -Np1 -i ../&iana-etc-numbers_update-patch;</userinput></screen> 27 38 28 39 <para os="a">The following command converts the raw data provided by IANA into -
BOOK/final-system/common/iproute2.xml
rec008670 r229ed25 29 29 program, which is dependent on Berkeley DB. Because <command>arpd</command> 30 30 is not a very common requirement on a base Linux system, remove the 31 dependency on Berkeley DB by applying the <command>sed</command> command31 dependency on Berkeley DB by using the commands 32 32 below. If the <command>arpd</command> binary is needed, instructions for 33 33 compiling Berkeley DB can be found in CBLFS at <ulink 34 34 url="&cblfs-root;index.php/Berkeley_DB"/>.</para> 35 35 36 <screen os="s2"><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile</userinput></screen> 36 <screen os="s2"><userinput>sed -i '/^TARGETS/s@arpd@@g' misc/Makefile 37 sed -i '/ARPD/d' Makefile 38 rm -v man/man8/arpd.8</userinput></screen> 39 40 <para os="f1">Remove unused libnl headers:</para> 41 42 <screen os="f2"><userinput>sed -i '/netlink\//d' ip/ipl2tp.c</userinput></screen> 37 43 38 44 <para os="a">Compile the package:</para> … … 83 89 84 90 <seglistitem> 85 <seg> ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat,nstat,86 routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss,91 <seg>bridge, ctstat (link to lnstat), genl, ifcfg, ifstat, ip, lnstat, 92 nstat, routef, routel, rtacct, rtmon, rtpr, rtstat (link to lnstat), ss, 87 93 and tc</seg> 88 94 <seg>/etc/iproute2, /lib/tc, /usr/lib/tc, /usr/share/doc/iproute2</seg> … … 94 100 <?dbfo list-presentation="list"?> 95 101 <?dbhtml list-presentation="table"?> 102 103 <varlistentry id="bridge"> 104 <term><command>bridge</command></term> 105 <listitem> 106 <para>Configures network bridges</para> 107 <indexterm zone="ch-system-iproute2 bridge"> 108 <primary sortas="b-bridge">bridge</primary> 109 </indexterm> 110 </listitem> 111 </varlistentry> 96 112 97 113 <varlistentry id="ctstat"> -
BOOK/final-system/common/iputils.xml
rec008670 r229ed25 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 for33 IPutils:</para>34 35 <screen os="p4"><userinput>patch -Np1 -i ../&iputils-doc-patch;</userinput></screen>36 37 32 <para os="a">Compile the package:</para> 38 33 39 <screen os="b"><userinput>make IPV4_TARGETS="tracepath ping rdisc clockdiff" \ 34 <screen os="b"><userinput>make USE_CAP=no \ 35 IPV4_TARGETS="tracepath ping clockdiff rdisc" \ 40 36 IPV6_TARGETS="tracepath6 traceroute6"</userinput></screen> 41 37 -
BOOK/final-system/common/kbd.xml
rec008670 r229ed25 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 32 28 <para os="a">Prepare Kbd for compilation:</para> 33 29 34 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 30 <screen os="b"><userinput>PKG_CONFIG_PATH="/tools/lib/pkgconfig" \ 31 ./configure --prefix=/usr --disable-vlock --enable-optional-progs</userinput></screen> 35 32 36 33 <para os="c">Compile the package:</para> -
BOOK/final-system/common/kmod.xml
rec008670 r229ed25 6 6 ]> 7 7 8 <sect1 id="ch-system- module-init-tools" role="wrap">9 <?dbhtml filename=" module-init-tools.html"?>8 <sect1 id="ch-system-kmod" role="wrap"> 9 <?dbhtml filename="kmod.html"?> 10 10 11 <title> Module-Init-Tools-&module-init-tools-version;</title>11 <title>Kmod-&kmod-version;</title> 12 12 13 <indexterm zone="ch-system- module-init-tools">14 <primary sortas="a- Module-Init-Tools">Module-Init-Tools</primary>13 <indexterm zone="ch-system-kmod"> 14 <primary sortas="a-Kmod">Kmod</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>The Module-Init-Tools package contains programs for handling kernel 21 modules in Linux kernels greater than or equal to version 2.5.47.</para> 20 <para>The Kmod package contains programs for loading, inserting 21 and removing kernel modules for Linux. Kmod replaces the 22 Module-Init-tools package.</para> 22 23 23 24 </sect2> 24 25 25 26 <sect2 role="installation"> 26 <title>Installation of Module-Init-Tools</title>27 <title>Installation of Kmod</title> 27 28 28 <para os=" c">Issue the following commands to perform the tests</para>29 <para os="a">Prepare Kmod for compilation:</para> 29 30 30 <screen os="d"><userinput>sed -i "s/\(make\)\( all\)/\1 DOCBOOKTOMAN=true\2/" tests/runtests && 31 ./tests/runtests</userinput></screen> 31 <screen os="b"><userinput>./configure --prefix=/usr \ 32 --bindir=/bin --sysconfdir=/etc \ 33 --with-rootlibdir=/lib --disable-manpages \ 34 --with-zlib --with-xz</userinput></screen> 32 35 33 <para os="e">Prepare Module-Init-Tools for compilation:</para> 34 35 <screen os="f"><userinput>./configure --prefix=/usr \ 36 --bindir=/bin --sbindir=/sbin \ 37 --enable-zlib-dynamic</userinput></screen> 38 39 <variablelist os="g"> 36 <variablelist os="c"> 40 37 <title>The meaning of the configure option:</title> 41 38 42 39 <varlistentry> 43 <term><parameter>-- enable-zlib-dynamic</parameter></term>40 <term><parameter>--with-rootlibdir=/lib</parameter></term> 44 41 <listitem> 45 <para>This allows the Module-Init-Tools package to handle compressed 46 kernel modules.</para> 42 <para>Install location for shared libraries.</para> 43 </listitem> 44 </varlistentry> 45 46 <varlistentry> 47 <term><parameter>--with-zlib --with-xz</parameter></term> 48 <listitem> 49 <para>This allows the Kmod package to handle zlib and XZ 50 compressed kernel modules.</para> 47 51 </listitem> 48 52 </varlistentry> … … 50 54 </variablelist> 51 55 52 <para os=" h">Compile the package:</para>56 <para os="d">Compile the package:</para> 53 57 54 <screen os=" i"><userinput>make DOCBOOKTOMAN=true</userinput></screen>58 <screen os="e"><userinput>make</userinput></screen> 55 59 56 <para os=" j">Install the package:</para>60 <para os="f">To test the results, issue:</para> 57 61 58 <screen os=" k"><userinput>make install</userinput></screen>62 <screen os="f2"><userinput remap="test">make check</userinput></screen> 59 63 64 <para os="g">Install the package:</para> 65 66 <screen os="h"><userinput>make install 67 make -C man install</userinput></screen> 68 69 <para os="i">Create symbolic links for programs that expect Module-Init-Tools.</para> 70 71 <screen os="j"><userinput>ln -sfv kmod /bin/lsmod 72 ln -sfv ../bin/kmod /sbin/depmod 73 ln -sfv ../bin/kmod /sbin/insmod 74 ln -sfv ../bin/kmod /sbin/modprobe 75 ln -sfv ../bin/kmod /sbin/modinfo 76 ln -sfv ../bin/kmod /sbin/rmmod</userinput></screen> 77 60 78 </sect2> 61 79 62 <sect2 id="contents- module-init-tools" role="content">63 <title>Contents of Module-Init-Tools</title>80 <sect2 id="contents-kmod" role="content"> 81 <title>Contents of Kmod</title> 64 82 65 83 <segmentedlist> … … 67 85 68 86 <seglistitem> 69 <seg>depmod, insmod, insmod.static, lsmod, modinfo, modprobe, and87 <seg>depmod, insmod, kmod, lsmod, modinfo, modprobe, and 70 88 rmmod</seg> 71 89 </seglistitem> … … 84 102 <command>modprobe</command> to automatically load the required 85 103 modules</para> 86 <indexterm zone="ch-system- module-init-toolsdepmod">104 <indexterm zone="ch-system-kmod depmod"> 87 105 <primary sortas="b-depmod">depmod</primary> 88 106 </indexterm> … … 94 112 <listitem> 95 113 <para>Installs a loadable module in the running kernel</para> 96 <indexterm zone="ch-system- module-init-toolsinsmod">114 <indexterm zone="ch-system-kmod insmod"> 97 115 <primary sortas="b-insmod">insmod</primary> 98 116 </indexterm> … … 100 118 </varlistentry> 101 119 102 <varlistentry id=" insmod.static">103 <term><command> insmod.static</command></term>120 <varlistentry id="kmod"> 121 <term><command>kmod</command></term> 104 122 <listitem> 105 <para> A statically compiled version of <command>insmod</command></para>106 <indexterm zone="ch-system- module-init-tools insmod.static">107 <primary sortas="b- insmod.static">insmod.static</primary>123 <para>Loads and unloads kernel modules</para> 124 <indexterm zone="ch-system-kmod kmod"> 125 <primary sortas="b-kmod">kmod</primary> 108 126 </indexterm> 109 127 </listitem> … … 114 132 <listitem> 115 133 <para>Lists currently loaded modules</para> 116 <indexterm zone="ch-system- module-init-toolslsmod">134 <indexterm zone="ch-system-kmod lsmod"> 117 135 <primary sortas="b-lsmod">lsmod</primary> 118 136 </indexterm> … … 125 143 <para>Examines an object file associated with a kernel module and 126 144 displays any information that it can glean</para> 127 <indexterm zone="ch-system- module-init-toolsmodinfo">145 <indexterm zone="ch-system-kmod modinfo"> 128 146 <primary sortas="b-modinfo">modinfo</primary> 129 147 </indexterm> … … 136 154 <para>Uses a dependency file, created by <command>depmod</command>, 137 155 to automatically load relevant modules</para> 138 <indexterm zone="ch-system- module-init-toolsmodprobe">156 <indexterm zone="ch-system-kmod modprobe"> 139 157 <primary sortas="b-modprobe">modprobe</primary> 140 158 </indexterm> … … 146 164 <listitem> 147 165 <para>Unloads modules from the running kernel</para> 148 <indexterm zone="ch-system- module-init-toolsrmmod">166 <indexterm zone="ch-system-kmod rmmod"> 149 167 <primary sortas="b-rmmod">rmmod</primary> 150 168 </indexterm> -
BOOK/final-system/common/libee.xml
rec008670 r229ed25 31 31 <para os="c">Compile the package:</para> 32 32 33 <note os="n1"> 34 <para>Libee will fail to compile if using multiple jobs with make. Append "<command>-j 1</command>" to the following make command:</para> 35 </note> 36 33 37 <screen os="d"><userinput>make</userinput></screen> 34 38 … … 45 49 46 50 <segmentedlist> 47 <segtitle>Installed Program s</segtitle>51 <segtitle>Installed Program</segtitle> 48 52 <segtitle>Installed libraries</segtitle> 53 <segtitle>Installed directory</segtitle> 49 54 50 55 <seglistitem> 51 <seg> convert</seg>56 <seg>libee-convert</seg> 52 57 <seg>libee.[a,so]</seg> 58 <seg>/usr/include/libee</seg> 53 59 </seglistitem> 54 60 </segmentedlist> … … 59 65 <?dbhtml list-presentation="table"?> 60 66 61 <varlistentry id=" convert">62 <term><command> convert</command></term>67 <varlistentry id="libee-convert"> 68 <term><command>libee-convert</command></term> 63 69 <listitem> 64 70 <para>todo</para> 65 <indexterm zone="ch-system-libee convert">66 <primary sortas="b- convert">convert</primary>71 <indexterm zone="ch-system-libee libee-convert"> 72 <primary sortas="b-libee-convert">libee-convert</primary> 67 73 </indexterm> 68 74 </listitem> -
BOOK/final-system/common/libtool.xml
rec008670 r229ed25 35 35 <screen os="d"><userinput>make</userinput></screen> 36 36 37 <para os="e">To test the results, issue: 38 <userinput>make check</userinput>.</para> 37 <para os="e">To test the results, issue:</para> 38 39 <screen os="e2"><userinput remap="test">make check</userinput></screen> 39 40 40 41 <para os="f">Install the package:</para> -
BOOK/final-system/common/linux-headers.xml
rec008670 r229ed25 32 32 <screen os="c"><userinput>make mrproper 33 33 make headers_check 34 make INSTALL_HDR_PATH=dest headers_install 35 cp -rv dest/include/* /usr/include 34 make INSTALL_HDR_PATH=/usr headers_install 36 35 find /usr/include -name .install -or -name ..install.cmd | xargs rm -fv</userinput></screen> 37 36 … … 55 54 56 55 <varlistentry os="d3"> 57 <term><parameter>make INSTALL_HDR_PATH= destheaders_install</parameter></term>56 <term><parameter>make INSTALL_HDR_PATH=/usr headers_install</parameter></term> 58 57 <listitem> 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> 58 <para>This will install the kernel headers into 59 <filename class="directory">/usr/include</filename>.</para> 60 </listitem> 61 </varlistentry> 62 63 <varlistentry os="d4"> 64 <term><parameter>find /usr/include -name .install -or -name ..install.cmd | xargs rm -fv</parameter></term> 65 <listitem> 66 <para>Removes a number of unneeded debugging files that were installed.</para> 64 67 </listitem> 65 68 </varlistentry> … … 77 80 78 81 <seglistitem> 79 <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,s ound,video}/*.h</seg>82 <seg>/usr/include/{asm,asm-generic,drm,linux,mtd,rdma,scsi,sound,video,xen}/*.h</seg> 80 83 <seg>/usr/include/asm, /usr/include/asm-generic, /usr/include/drm, 81 84 /usr/include/linux, /usr/include/mtd, /usr/include/rdma, 82 /usr/include/scsi, /usr/include/sound, /usr/include/video, /usr/include/xen</seg> 85 /usr/include/scsi, /usr/include/sound, /usr/include/uapi, 86 /usr/include/video, /usr/include/xen</seg> 83 87 </seglistitem> 84 88 </segmentedlist> -
BOOK/final-system/common/m4.xml
rec008670 r229ed25 33 33 <screen os="d"><userinput>make</userinput></screen> 34 34 35 <para os="e">To test the results, issue: 36 <userinput>make check</userinput>.</para> 35 <para os="e">To test the results, issue:</para> 36 37 <screen os="e2"><userinput remap="test">make check</userinput></screen> 37 38 38 39 <para os="f">Install the package:</para> -
BOOK/final-system/common/make.xml
rec008670 r229ed25 33 33 <screen os="d"><userinput>make</userinput></screen> 34 34 35 <para os="e">To test the results, issue: 36 <userinput>make check</userinput>.</para> 35 <para os="e">To test the results, issue:</para> 36 37 <screen os="e2"><userinput remap="test">make check</userinput></screen> 37 38 38 39 <para os="f">Install the package:</para> -
BOOK/final-system/common/mpc.xml
rec008670 r229ed25 30 30 <screen os="b"><userinput>CC="gcc -isystem /usr/include" \ 31 31 LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \ 32 EGREP="grep -E"./configure --prefix=/usr</userinput></screen>32 ./configure --prefix=/usr</userinput></screen> 33 33 34 34 <para os="c">Compile the package:</para> … … 43 43 <para os="f">Test the results:</para> 44 44 45 <screen os="g"><userinput >make check</userinput></screen>45 <screen os="g"><userinput remap="test">make check</userinput></screen> 46 46 47 47 <para os="h">Install the package:</para> -
BOOK/final-system/common/mpfr.xml
rec008670 r229ed25 26 26 <title>Installation of MPFR</title> 27 27 28 <para os="p1">Apply a patch with upstream fixes:</para> 29 30 <screen os="p2"><userinput>patch -Np1 -i ../&mpfr-fixes-patch;</userinput></screen> 31 28 32 <para os="a">Prepare MPFR for compilation:</para> 29 33 … … 44 48 <para os="f">Test the results:</para> 45 49 46 <screen os="g"><userinput >make check</userinput></screen>50 <screen os="g"><userinput remap="test">make check</userinput></screen> 47 51 48 52 <para os="h">Install the package:</para> -
BOOK/final-system/common/ncurses.xml
rec008670 r229ed25 35 35 <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \ 36 36 --with-shared --without-debug --enable-widec \ 37 --with-manpage-format=normal</userinput></screen> 37 --with-manpage-format=normal \ 38 --with-default-terminfo-dir=/usr/share/terminfo</userinput></screen> 38 39 39 40 <para os="c">Compile the package:</para> … … 41 42 <screen os="d"><userinput>make</userinput></screen> 42 43 43 <para os="e">This package does not come with a test suite.</para> 44 <para os="e">This package has a test suite, and can be ran after the 45 package is installed. The tests are in the 46 <filename class="directory">test/</filename> directory. See the 47 <filename>README</filename> file in that directory for details.</para> 44 48 45 49 <para os="f">Install the package:</para> -
BOOK/final-system/common/patch.xml
rec008670 r229ed25 35 35 <screen os="d"><userinput>make</userinput></screen> 36 36 37 <para os="e">This package does not come with a test suite.</para> 37 <para os="e">To test the results, issue:</para> 38 39 <screen os="e2"><userinput remap="test">make check</userinput></screen> 38 40 39 41 <para os="f">Install the package:</para> … … 77 79 78 80 </sect1> 81 -
BOOK/final-system/common/perl.xml
rec008670 r229ed25 39 39 loopback device as well as set a hostname for some of the tests:</para> 40 40 41 <screen><userinput>ip link set lo up41 <screen os="a01"><userinput remap="test">ip link set lo up 42 42 hostname clfs</userinput></screen> 43 43 </note> 44 44 45 <para os="a0 1">Before starting to configure, create a basic45 <para os="a02">Before starting to configure, create a basic 46 46 <filename>/etc/hosts</filename> file which will be referenced by one 47 47 of Perl's configuration files as well as used by the testsuite:</para> 48 48 49 <screen os="a0 2"><userinput>echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen>49 <screen os="a03"><userinput remap="test">echo "127.0.0.1 localhost $(hostname)" > /etc/hosts</userinput></screen> 50 50 51 51 <para os="a">To have full control over the way Perl is set up, you can … … 101 101 <screen os="e"><userinput>make</userinput></screen> 102 102 103 <para os="h">To test the results, issue: 104 <userinput>make test</userinput>.</para> 103 <para os="h">To test the results, issue:</para> 104 105 <screen os="h2"><userinput remap="test">make test</userinput></screen> 105 106 106 107 <para os="j">Install the package:</para> … … 120 121 <seglistitem> 121 122 <seg>a2p, c2ph, config_data, corelist, cpan, cpan2dist, cpanp, 122 cpanp-run-perl, dprofpp, enc2xs, find2perl, h2ph, h2xs, instmodsh,123 cpanp-run-perl, enc2xs, find2perl, h2ph, h2xs, instmodsh, json_pp, 123 124 libnetcfg, perl, perl&perl-version; (link to perl), perlbug, 124 125 perldoc, perlivp, perlthanks (link to perlbug), piconv, pl2pm, pod2html, 125 126 pod2latex, pod2man, pod2text, pod2usage, podchecker, podselect, prove, 126 psed (link to s2p), pstruct (link to c2ph), ptar, ptardiff, s2p, shasum,127 s plain, and xsubpp</seg>127 psed (link to s2p), pstruct (link to c2ph), ptar, ptardiff, ptargrep, 128 s2p, shasum, splain, xsubpp, and zipdetails</seg> 128 129 <seg>Several hundred which cannot all be listed here</seg> 129 130 <seg>/usr/lib/perl5</seg> … … 213 214 <indexterm zone="ch-system-perl cpanp-run-perl"> 214 215 <primary sortas="b-cpanp-run-perl">cpanp-run-perl</primary> 215 </indexterm>216 </listitem>217 </varlistentry>218 219 <varlistentry id="dprofpp">220 <term><command>dprofpp</command></term>221 <listitem>222 <para>Displays Perl profile data</para>223 <indexterm zone="ch-system-perl dprofpp">224 <primary sortas="b-dprofpp">dprofpp</primary>225 216 </indexterm> 226 217 </listitem> … … 282 273 </varlistentry> 283 274 275 <varlistentry id="json_pp"> 276 <term><command>json_pp</command></term> 277 <listitem> 278 <para>Converts data between certain input and output formats</para> 279 <indexterm zone="ch-system-perl json_pp"> 280 <primary sortas="b-json_pp">json_pp</primary> 281 </indexterm> 282 </listitem> 283 </varlistentry> 284 284 285 <varlistentry id="libnetcfg"> 285 286 <term><command>libnetcfg</command></term> … … 505 506 </varlistentry> 506 507 508 <varlistentry id="ptargrep"> 509 <term><command>ptargrep</command></term> 510 <listitem> 511 <para>A Perl program that applies pattern matching to the contents 512 of files in a tar archive</para> 513 <indexterm zone="ch-system-perl ptargrep"> 514 <primary sortas="b-ptargrep">ptargrep</primary> 515 </indexterm> 516 </listitem> 517 </varlistentry> 518 507 519 <varlistentry id="s2p"> 508 520 <term><command>s2p</command></term> … … 545 557 </varlistentry> 546 558 559 <varlistentry id="zipdetails"> 560 <term><command>zipdetails</command></term> 561 <listitem> 562 <para>Displays details about the internal structure of a Zip file</para> 563 <indexterm zone="ch-system-perl zipdetails"> 564 <primary sortas="b-zipdetails">zipdetails</primary> 565 </indexterm> 566 </listitem> 567 </varlistentry> 568 547 569 </variablelist> 548 570 -
BOOK/final-system/common/pkg-config-lite.xml
rec008670 r229ed25 6 6 ]> 7 7 8 <sect1 id="ch-system-pkg-config " role="wrap">9 <?dbhtml filename="pkg-config .html"?>8 <sect1 id="ch-system-pkg-config-lite" role="wrap"> 9 <?dbhtml filename="pkg-config-lite.html"?> 10 10 11 <title>Pkg-config- &pkg-config-version;</title>11 <title>Pkg-config-lite-&pkg-config-lite-version;</title> 12 12 13 <indexterm zone="ch-system-pkg-config ">14 <primary sortas="a-Pkg-config ">Pkg-config</primary>13 <indexterm zone="ch-system-pkg-config-lite"> 14 <primary sortas="a-Pkg-config-lite">Pkg-config-lite</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>Pkg-config is a tool to help you insert the correct compiler options20 <para>Pkg-config-lite 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 </title>26 <title>Installation of Pkg-config-lite</title> 27 27 28 <para os="a">Prepare Pkg-config for compilation:</para>28 <para os="a">Prepare Pkg-config-lite for compilation:</para> 29 29 30 <screen os="b"><userinput>GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \ 31 GLIB_LIBS="-lglib-2.0" \ 32 ./configure --prefix=/usr</userinput></screen> 33 34 <variablelist os="bb"> 35 <title>The meaning of the new configure option:</title> 36 37 <varlistentry> 38 <term><parameter>GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"</parameter></term> 39 <term><parameter>GLIB_LIBS="-lglib-2.0"</parameter></term> 40 <listitem> 41 <para>Pkg-config no longer comes with Glib and because Pkg-config 42 has not been installed itself it needs to be told where Glib is.</para> 43 </listitem> 44 </varlistentry> 45 </variablelist> 30 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 46 31 47 32 <para os="c">Compile the package:</para> … … 49 34 <screen os="d"><userinput>make</userinput></screen> 50 35 51 <para os="e">To test the results, issue: 52 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 53 39 54 40 <para os="f">Install the package:</para> … … 58 44 </sect2> 59 45 60 <sect2 id="contents-pkg-config " role="content">61 <title>Contents of Pkg-config </title>46 <sect2 id="contents-pkg-config-lite" role="content"> 47 <title>Contents of Pkg-config-lite</title> 62 48 63 49 <segmentedlist> … … 76 62 <?dbhtml list-presentation="table"?> 77 63 78 <varlistentry id="pkg-config ">64 <varlistentry id="pkg-config-lite"> 79 65 <term><command>pkg-config</command></term> 80 66 <listitem> … … 82 68 information about installed libraries in the system. It is typically 83 69 used to compile and link against one or more libraries.</para> 84 <indexterm zone="ch-system-pkg-config pkg-config">85 <primary sortas="b-pkg-config ">pkg-config</primary>70 <indexterm zone="ch-system-pkg-config-lite pkg-config-lite"> 71 <primary sortas="b-pkg-config-lite">pkg-config</primary> 86 72 </indexterm> 87 73 </listitem> -
BOOK/final-system/common/procps.xml
rec008670 r229ed25 48 48 <para os="d">Install the package:</para> 49 49 50 <screen os="e"><userinput>make install</userinput></screen>50 <screen os="e"><userinput>make SKIP='/bin/kill /usr/share/man/man1/kill.1' install</userinput></screen> 51 51 52 52 </sect2> … … 60 60 61 61 <seglistitem> 62 <seg>free, kill,pgrep, pkill, pmap, ps, pwdx, skill, slabtop, snice, sysctl,62 <seg>free, pgrep, pkill, pmap, ps, pwdx, skill, slabtop, snice, sysctl, 63 63 tload, top, uptime, vmstat, w, and watch</seg> 64 64 <seg>libproc.so</seg> … … 78 78 <indexterm zone="ch-system-procps free"> 79 79 <primary sortas="b-free">free</primary> 80 </indexterm>81 </listitem>82 </varlistentry>83 84 <varlistentry id="kill">85 <term><command>kill</command></term>86 <listitem>87 <para>Sends signals to processes</para>88 <indexterm zone="ch-system-procps kill">89 <primary sortas="b-kill">kill</primary>90 80 </indexterm> 91 81 </listitem> -
BOOK/final-system/common/psmisc.xml
rec008670 r229ed25 79 79 80 80 <seglistitem> 81 <seg>fuser, killall, peekfd, pstree, and pstree.x11 (link to pstree)</seg> 81 <seg>fuser, killall, peekfd, prtstat, pstree, and pstree.x11 82 (link to pstree)</seg> 82 83 </seglistitem> 83 84 </segmentedlist> … … 120 121 </varlistentry> 121 122 123 <varlistentry id="prtstat"> 124 <term><command>prtstat</command></term> 125 <listitem> 126 <para>Prints information about a process</para> 127 <indexterm zone="ch-system-psmisc prtstat"> 128 <primary sortas="b-prtstat">prtstat</primary> 129 </indexterm> 130 </listitem> 131 </varlistentry> 132 122 133 <varlistentry id="pstree"> 123 134 <term><command>pstree</command></term> -
BOOK/final-system/common/rsyslog.xml
rec008670 r229ed25 34 34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os="e">This package does not come with a test suite.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 37 39 38 40 <para os="f">Install the package:</para> -
BOOK/final-system/common/sed.xml
rec008670 r229ed25 37 37 <screen os="f"><userinput>make html</userinput></screen> 38 38 39 <para os="g">To test the results, issue: 40 <userinput>make check</userinput>.</para> 39 <para os="g">To test the results, issue:</para> 40 41 <screen os="g2"><userinput remap="test">make check</userinput></screen> 41 42 42 43 <para os="h">Install the package:</para> -
BOOK/final-system/common/shadow.xml
rec008670 r229ed25 34 34 </note> 35 35 36 <para os="f1">Fix an issue with the Russian man pages:</para> 37 38 <screen os="f2"><userinput>sed -i 's/man_MANS = $(man_nopam) /man_MANS = /' man/ru/Makefile.in</userinput></screen> 39 40 <para os="b">Prepare Shadow for compilation:</para> 41 42 <screen os="c"><userinput>./configure --sysconfdir=/etc</userinput></screen> 43 44 <para os="d">The meaning of the configure options:</para> 45 46 <variablelist os="e"> 36 37 <para os="b">Disable the installation of the <command>groups</command> and 38 <command>nologin</command> programs and their man pages, as better versions 39 of these programs are provided by Coreutils and Util-linux:</para> 40 41 <screen os="c"><userinput>sed -i src/Makefile.in \ 42 -e 's/groups$(EXEEXT) //' -e 's/= nologin$(EXEEXT)/= /' 43 find man -name Makefile.in -exec sed -i \ 44 -e 's/man1\/groups\.1 //' -e 's/man8\/nologin\.8 //' '{}' \;</userinput></screen> 45 46 <para os="d">Prepare Shadow for compilation:</para> 47 48 <screen os="e"><userinput>./configure --sysconfdir=/etc</userinput></screen> 49 50 <para os="f">The meaning of the configure options:</para> 51 52 <variablelist os="g"> 47 53 <varlistentry> 48 54 <term><parameter>--sysconfdir=/etc</parameter></term> … … 51 57 <filename class="directory">/usr/etc</filename>.</para></listitem> 52 58 </varlistentry> 59 53 60 </variablelist> 54 61 55 <para os="f">Disable the installation of the <command>groups</command>56 program and its man pages, as Coreutils provides a better version:</para>57 58 <screen os="g"><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile59 find man -name Makefile -exec sed -i '/groups.1.xml/d' '{}' \;60 find man -name Makefile -exec sed -i 's/groups.1 //' '{}' \;</userinput></screen>61 62 62 63 <para os="h">Compile the package:</para> … … 72 73 <para os="m" id="shadow-login_defs">Instead of using the default 73 74 <emphasis>crypt</emphasis> method, use the more secure 74 <emphasis> MD5</emphasis> method of password encryption, which also allows75 <emphasis>SHA512</emphasis> method of password encryption, which also allows 75 76 passwords longer than 8 characters. It is also necessary to change the 76 77 obsolete <filename class="directory">/var/spool/mail</filename> location … … 85 86 86 87 <screen os="s"><userinput>sed -i /etc/login.defs \ 87 -e 's@#\(ENCRYPT_METHOD \).*@\1 MD5@' \88 -e 's@#\(ENCRYPT_METHOD \).*@\1SHA512@' \ 88 89 -e 's@/var/spool/mail@/var/mail@'</userinput></screen> 89 90 … … 155 156 <seg>chage, chfn, chpasswd, chgpasswd, chsh, expiry, faillog, gpasswd, 156 157 groupadd, groupdel, groupmems, groupmod, grpck, grpconv, grpunconv, 157 lastlog, login, logoutd, newgrp, newusers, nologin,passwd, pwck,158 lastlog, login, logoutd, newgrp, newusers, passwd, pwck, 158 159 pwconv, pwunconv, sg (link to newgrp), su, useradd, userdel, usermod, 159 160 vigr (link to vipw), and vipw</seg> … … 380 381 </varlistentry> 381 382 382 <varlistentry id="nologin">383 <term><command>nologin</command></term>384 <listitem>385 <para>Displays a message that an account is not available. Designed386 to be used as the default shell for accounts that have been387 disabled</para>388 <indexterm zone="ch-system-shadow nologin">389 <primary sortas="b-nologin">nologin</primary>390 </indexterm>391 </listitem>392 </varlistentry>393 394 383 <varlistentry id="passwd"> 395 384 <term><command>passwd</command></term> -
BOOK/final-system/common/sysvinit.xml
rec008670 r229ed25 25 25 <title>Installation of Sysvinit</title> 26 26 27 <para os="c">Compile the package:</para> 27 <para os ="a">Apply a sed which disables last, mesg, mountpoint, sulogin, 28 utmpdump, and wall from being built and installed as they are provided by 29 Util-linux:</para> 30 31 <screen os="b"><userinput>sed -i -e 's/\ sulogin[^ ]*//' \ 32 -e '/utmpdump/d' -e '/mountpoint/d' -e '/mesg/d' src/Makefile</userinput></screen> 33 34 <para os ="c">Compile the package:</para> 28 35 29 36 <screen os="d"><userinput>make -C src clobber … … 76 83 77 84 <screen><userinput>cat >> /etc/inittab << "EOF" 78 <literal>1:2345:respawn:/sbin/agetty - I '\033(K' tty1 960079 2:2345:respawn:/sbin/agetty - I '\033(K' tty2 960080 3:2345:respawn:/sbin/agetty - I '\033(K' tty3 960081 4:2345:respawn:/sbin/agetty - I '\033(K' tty4 960082 5:2345:respawn:/sbin/agetty - I '\033(K' tty5 960083 6:2345:respawn:/sbin/agetty - I '\033(K' tty6 960085 <literal>1:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty1 9600 86 2:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty2 9600 87 3:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty3 9600 88 4:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty4 9600 89 5:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty5 9600 90 6:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty6 9600 84 91 </literal> 85 92 EOF</userinput></screen> … … 89 96 90 97 <screen><userinput>cat >> /etc/inittab << "EOF" 91 <literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt10098 <literal>c0:12345:respawn:/sbin/agetty --noclear 115200 ttyS0 vt100 92 99 </literal> 93 100 EOF</userinput></screen> … … 118 125 119 126 <seglistitem> 120 <seg>bootlogd, halt, init, killall5, last, lastb (link to last), mesg, 121 mountpoint, pidof (link to killall5), poweroff (link to halt), 122 reboot (link to halt), runlevel, shutdown, sulogin, 123 telinit (link to init), utmpdump, and wall</seg> 127 <seg>bootlogd, fstab-decode, halt, init, killall5, pidof (link to 128 killall5), poweroff (link to halt), reboot (link to halt), runlevel, 129 shutdown, and telinit (link to init)</seg> 124 130 </seglistitem> 125 131 </segmentedlist> … … 136 142 <indexterm zone="ch-system-sysvinit bootlogd"> 137 143 <primary sortas="b-bootlogd">bootlogd</primary> 144 </indexterm> 145 </listitem> 146 </varlistentry> 147 148 <varlistentry id="fstab-decode"> 149 <term><command>fstab-decode</command></term> 150 <listitem> 151 <para>Runs a command with fstab-encoded arguments</para> 152 <indexterm zone="ch-system-sysvinit fstab-decode"> 153 <primary sortas="b-fstab-decode">fstab-decode</primary> 138 154 </indexterm> 139 155 </listitem> … … 178 194 </varlistentry> 179 195 180 <varlistentry id="last">181 <term><command>last</command></term>182 <listitem>183 <para>Shows which users last logged in (and out), searching back184 through the <filename>/var/log/wtmp</filename> file; it also shows185 system boots, shutdowns, and run-level changes</para>186 <indexterm zone="ch-system-sysvinit last">187 <primary sortas="b-last">last</primary>188 </indexterm>189 </listitem>190 </varlistentry>191 192 <varlistentry id="lastb">193 <term><command>lastb</command></term>194 <listitem>195 <para>Shows the failed login attempts, as logged in196 <filename>/var/log/btmp</filename></para>197 <indexterm zone="ch-system-sysvinit lastb">198 <primary sortas="b-lastb">lastb</primary>199 </indexterm>200 </listitem>201 </varlistentry>202 203 <varlistentry id="mesg">204 <term><command>mesg</command></term>205 <listitem>206 <para>Controls whether other users can send messages to the current207 user's terminal</para>208 <indexterm zone="ch-system-sysvinit mesg">209 <primary sortas="b-mesg">mesg</primary>210 </indexterm>211 </listitem>212 </varlistentry>213 214 <varlistentry id="mountpoint">215 <term><command>mountpoint</command></term>216 <listitem>217 <para>Tells you whether or not a directory is a mount point.</para>218 <indexterm zone="ch-system-sysvinit mountpoint">219 <primary sortas="b-mountpoint">mountpoint</primary>220 </indexterm>221 </listitem>222 </varlistentry>223 224 196 <varlistentry id="pidof"> 225 197 <term><command>pidof</command></term> … … 276 248 </varlistentry> 277 249 278 <varlistentry id="sulogin">279 <term><command>sulogin</command></term>280 <listitem>281 <para>Allows <emphasis>root</emphasis> to log in; it is normally282 invoked by <command>init</command> when the system goes into single283 user mode</para>284 <indexterm zone="ch-system-sysvinit sulogin">285 <primary sortas="b-sulogin">sulogin</primary>286 </indexterm>287 </listitem>288 </varlistentry>289 290 250 <varlistentry id="telinit"> 291 251 <term><command>telinit</command></term> … … 298 258 </varlistentry> 299 259 300 <varlistentry id="utmpdump">301 <term><command>utmpdump</command></term>302 <listitem>303 <para>Displays the content of the given login file in a more304 user-friendly format</para>305 <indexterm zone="ch-system-sysvinit utmpdump">306 <primary sortas="b-utmpdump">utmpdump</primary>307 </indexterm>308 </listitem>309 </varlistentry>310 311 <varlistentry id="wall">312 <term><command>wall</command></term>313 <listitem>314 <para>Writes a message to all logged-in users</para>315 <indexterm zone="ch-system-sysvinit wall">316 <primary sortas="b-wall">wall</primary>317 </indexterm>318 </listitem>319 </varlistentry>320 321 260 </variablelist> 322 261 -
BOOK/final-system/common/tar.xml
rec008670 r229ed25 39 39 <screen os="d"><userinput>make</userinput></screen> 40 40 41 <para os="e">To test the results, issue: 42 <userinput>make check</userinput>.</para> 41 <para os="e">To test the results, issue:</para> 42 43 <screen os="e2"><userinput remap="test">make check</userinput></screen> 43 44 44 45 <para os="f">Install the package:</para> 45 46 46 47 <screen os="g"><userinput>make install</userinput></screen> 48 49 <para os="h">Generate the man page and place it in the proper location:</para> 50 51 <screen os="i"><userinput>perl tarman > /usr/share/man/man1/tar.1</userinput></screen> 47 52 48 53 </sect2> -
BOOK/final-system/common/texinfo.xml
rec008670 r229ed25 26 26 <title>Installation of Texinfo</title> 27 27 28 <para os="p1">The following patch will add support for new compressors like XZ Utils:</para>29 30 <screen os="p2"><userinput>patch -Np1 -i ../&texinfo-new_compressors-patch;</userinput></screen>31 32 28 <para os="a">Prepare Texinfo for compilation:</para> 33 29 … … 38 34 <screen os="d"><userinput>make</userinput></screen> 39 35 40 <para os="e">To test the results, issue: 41 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 42 39 43 40 <para os="f">Install the package:</para> … … 70 67 71 68 <seglistitem> 72 <seg>info, infokey, install-info, makeinfo , pdftexi2dvi, texi2dvi,73 texi2pdf, and texindex</seg>69 <seg>info, infokey, install-info, makeinfo (link to texi2any), 70 pdftexi2dvi, texi2dvi, texi2pdf, and texindex</seg> 74 71 <seg>/usr/share/texinfo</seg> 75 72 </seglistitem> -
BOOK/final-system/common/util-linux.xml
rec008670 r229ed25 33 33 <command>hwclock</command> program FHS-compliant, run the following:</para> 34 34 35 <screen><userinput>sed -i 's@etc/adjtime@var/lib/hwclock/adjtime@g' \36 hwclock/hwclock.c35 <screen><userinput>sed -i -e 's@etc/adjtime@var/lib/hwclock/adjtime@g' \ 36 $(grep -rl '/etc/adjtime' .) 37 37 mkdir -pv /var/lib/hwclock</userinput></screen> 38 38 … … 44 44 <para os="a">Prepare Util-linux for compilation:</para> 45 45 46 <screen os="b"><userinput>./configure --enable-arch \ 47 --enable-partx --enable-write --disable-wall</userinput></screen> 46 <screen os="b"><userinput>./configure --enable-write</userinput></screen> 48 47 49 48 <variablelist os="c"> … … 51 50 52 51 <varlistentry> 53 <term><parameter>--enable-arch</parameter></term>54 <listitem>55 <para>This option allows the <command>arch</command> program to be56 installed.</para>57 </listitem>58 </varlistentry>59 60 <varlistentry>61 <term><parameter>--enable-partx</parameter></term>62 <listitem>63 <para>Enables building the <command>addpart</command>, <command>delpart</command>,64 <command>partx</command> programs.</para>65 </listitem>66 </varlistentry>67 68 <varlistentry>69 52 <term><parameter>--enable-write</parameter></term> 70 53 <listitem> … … 74 57 </varlistentry> 75 58 76 <varlistentry>77 <term><parameter>--disable-wall</parameter></term>78 <listitem>79 <para>Disables building the <command>wall</command> program,80 as the Sysvinit package installs its own version.</para>81 </listitem>82 </varlistentry>83 84 59 </variablelist> 85 60 … … 88 63 <screen os="e"><userinput>make</userinput></screen> 89 64 90 <para os="f">This package does not come with a test suite.</para> 65 <para os="dummy1">Create two <systemitem class="groupname">dummy</systemitem> groups and a <systemitem class="username">dummy</systemitem> user to be used during Util-linux and Coreutils test suites:</para> 66 67 <screen os="dummy2"><userinput remap="test">echo "dummy1:x:1000:" >> /etc/group 68 echo "dummy2:x:1001:dummy" >> /etc/group 69 echo "dummy:x:1000:1000::/root:/bin/bash" >> /etc/passwd</userinput></screen> 70 71 <para os="f">To test the results, issue:</para> 72 73 <screen os="f2"><userinput remap="test">chown -Rv dummy . && 74 su dummy -s /bin/bash -c "PATH=$PATH make -k check"</userinput></screen> 91 75 92 76 <para os="g">Install the package:</para> … … 105 89 106 90 <seglistitem> 107 <seg>addpart, agetty, arch, blkid, blockdev, cal, cfdisk, chkdupexe, 108 chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, ddate, delpart, 109 dmesg, fdformat, fdisk, findfs, flock, fsck, fsck.cramfs, fsck.minix, 110 getopt, hexdump, hwclock, ionice, ipcmk, ipcrm, ipcs, isosize, 111 ldattach, line, logger, look, losetup, lscpu, mcookie, mkfs, mkfs.bfs, 112 mkfs.cramfs, mkfs.minix, mkswap, more, mount, namei, partx, pg, 113 pivot_root, readprofile, rename, renice, rev, rtcwake, script, 114 scriptreplay, setarch, setsid, setterm, sfdisk, swapoff (link to 115 swapon), swapon, switch_root, tailf, taskset, tunelp, ul, umount, 116 uuidd, uuidgen, whereis, and write</seg> 117 <seg>libblkid.[a,so] and libuuid.[a,so]</seg> 118 <seg>/usr/include/blkid, /usr/include/uuid, /usr/share/getopt, 119 /var/lib/hwclock</seg> 91 <seg>addpart, agetty, blkdiscard, blkid, blockdev, cal, cfdisk, chcpu, 92 chrt, col, colcrt, colrm, column, ctrlaltdel, cytune, delpart, 93 dmesg, eject, fallocate, fdformat, fdisk, findfs, findmnt, flock, 94 fsck, fsck.cramfs, fsck.minix, fsfreeze, fstrim, getopt, hexdump, 95 hwclock, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link 96 to last), ldattach, logger, look, losetup, lsblk, lscpu, lslocks, 97 mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, more, 98 mount, mountpoint, namei, nologin, nsenter, partx, pg, pivot_root, prlimit, 99 raw, readprofile, rename, renice, resizepart, rev, rtcwake, script, 100 scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel, 101 swapoff, swapon, switch_root, tailf, taskset, ul, umount, unshare, 102 utmpdump, uuidd, uuidgen, wall, wdctl, whereis, wipefs, and write</seg> 103 <seg>libblkid.[a,so], libmount.[a,so], and libuuid.[a,so]</seg> 104 <seg>/usr/include/blkid, /usr/include/libmount, /usr/include/uuid, 105 /usr/share/doc/util-linux/getopt, /var/lib/hwclock</seg> 120 106 </seglistitem> 121 107 </segmentedlist> … … 147 133 </varlistentry> 148 134 149 <varlistentry id=" arch">150 <term><command> arch</command></term>151 <listitem> 152 <para> Reports the machine's architecture</para>153 <indexterm zone="ch-system-util-linux arch">154 <primary sortas="b- arch">arch</primary>135 <varlistentry id="blkdiscard"> 136 <term><command>blkdiscard</command></term> 137 <listitem> 138 <para>Discards sectors on a device</para> 139 <indexterm zone="ch-system-util-linux blkdiscard"> 140 <primary sortas="b-blkdiscard">blkdiscard</primary> 155 141 </indexterm> 156 142 </listitem> … … 199 185 </varlistentry> 200 186 201 <varlistentry id="ch kdupexe">202 <term><command>ch kdupexe</command></term>203 <listitem> 204 <para> Finds duplicate executables</para>205 <indexterm zone="ch-system-util-linux ch kdupexe">206 <primary sortas="b-ch kdupexe">chkdupexe</primary>187 <varlistentry id="chcpu"> 188 <term><command>chcpu</command></term> 189 <listitem> 190 <para>Utility to configure CPUs</para> 191 <indexterm zone="ch-system-util-linux chcpu"> 192 <primary sortas="b-chcpu">chcpu</primary> 207 193 </indexterm> 208 194 </listitem> … … 313 299 </varlistentry> 314 300 301 <varlistentry id="eject"> 302 <term><command>eject</command></term> 303 <listitem> 304 <para>Eject removable media</para> 305 <indexterm zone="ch-system-util-linux eject"> 306 <primary sortas="b-dmesg">eject</primary> 307 </indexterm> 308 </listitem> 309 </varlistentry> 310 311 <varlistentry id="fallocate"> 312 <term><command>fallocate</command></term> 313 <listitem> 314 <para>Preallocates space to a file</para> 315 <indexterm zone="ch-system-util-linux fallocate"> 316 <primary sortas="b-fallocate">fallocate</primary> 317 </indexterm> 318 </listitem> 319 </varlistentry> 320 315 321 <varlistentry id="fdformat"> 316 322 <term><command>fdformat</command></term> … … 344 350 </varlistentry> 345 351 352 <varlistentry id="findmnt"> 353 <term><command>findmnt</command></term> 354 <listitem> 355 <para>Lists mounted filesystems or searches for a filesystem</para> 356 <indexterm zone="ch-system-util-linux findmnt"> 357 <primary sortas="b-findmnt">findmnt</primary> 358 </indexterm> 359 </listitem> 360 </varlistentry> 361 346 362 <varlistentry id="flock"> 347 363 <term><command>flock</command></term> … … 383 399 <indexterm zone="ch-system-util-linux fsck.minix"> 384 400 <primary sortas="b-fsck.minix">fsck.minix</primary> 401 </indexterm> 402 </listitem> 403 </varlistentry> 404 405 <varlistentry id="fsfreeze"> 406 <term><command>fsfreeze</command></term> 407 <listitem> 408 <para>Suspends and resumes access to a filesystem</para> 409 <indexterm zone="ch-system-util-linux fsfreeze"> 410 <primary sortas="b-fsfreeze">fsfreeze</primary> 411 </indexterm> 412 </listitem> 413 </varlistentry> 414 415 <varlistentry id="fstrim"> 416 <term><command>fstrim</command></term> 417 <listitem> 418 <para>Discards unused blocks on a mounted filesystem</para> 419 <indexterm zone="ch-system-util-linux fstrim"> 420 <primary sortas="b-fstrim">fstrim</primary> 385 421 </indexterm> 386 422 </listitem> … … 470 506 </varlistentry> 471 507 508 <varlistentry id="kill"> 509 <term><command>kill</command></term> 510 <listitem> 511 <para>Send a signal to a process</para> 512 <indexterm zone="ch-system-util-linux kill"> 513 <primary sortas="b-kill">kill</primary> 514 </indexterm> 515 </listitem> 516 </varlistentry> 517 518 <varlistentry id="last"> 519 <term><command>last</command></term> 520 <listitem> 521 <para>Shows which users last logged in (and out), searching back 522 through the <filename>/var/log/wtmp</filename> file; it also shows 523 system boots, shutdowns, and run-level changes</para> 524 <indexterm zone="ch-system-util-linux last"> 525 <primary sortas="b-last">last</primary> 526 </indexterm> 527 </listitem> 528 </varlistentry> 529 530 <varlistentry id="lastb"> 531 <term><command>lastb</command></term> 532 <listitem> 533 <para>Shows the failed login attempts, as logged in 534 <filename>/var/log/btmp</filename></para> 535 <indexterm zone="ch-system-util-linux lastb"> 536 <primary sortas="b-lastb">lastb</primary> 537 </indexterm> 538 </listitem> 539 </varlistentry> 540 472 541 <varlistentry id="ldattach"> 473 542 <term><command>ldattach</command></term> … … 480 549 </varlistentry> 481 550 482 <varlistentry id="line">483 <term><command>line</command></term>484 <listitem>485 <para>Copies a single line</para>486 <indexterm zone="ch-system-util-linux line">487 <primary sortas="b-line">line</primary>488 </indexterm>489 </listitem>490 </varlistentry>491 492 551 <varlistentry id="logger"> 493 552 <term><command>logger</command></term> … … 520 579 </varlistentry> 521 580 581 <varlistentry id="lsblk"> 582 <term><command>lsblk</command></term> 583 <listitem> 584 <para>Prints information about block devices</para> 585 <indexterm zone="ch-system-util-linux lsblk"> 586 <primary sortas="b-lsblk">lsblk</primary> 587 </indexterm> 588 </listitem> 589 </varlistentry> 590 522 591 <varlistentry id="lscpu"> 523 592 <term><command>lscpu</command></term> … … 526 595 <indexterm zone="ch-system-util-linux lscpu"> 527 596 <primary sortas="b-lscpu">lscpu</primary> 597 </indexterm> 598 </listitem> 599 </varlistentry> 600 601 <varlistentry id="lslocks"> 602 <term><command>lslocks</command></term> 603 <listitem> 604 <para>Lists local system locks</para> 605 <indexterm zone="ch-system-util-linux lslocks"> 606 <primary sortas="b-lslocks">lslocks</primary> 528 607 </indexterm> 529 608 </listitem> … … 541 620 </varlistentry> 542 621 622 <varlistentry id="mesg"> 623 <term><command>mesg</command></term> 624 <listitem> 625 <para>Controls whether other users can send messages to the current 626 user's terminal</para> 627 <indexterm zone="ch-system-util-linux mesg"> 628 <primary sortas="b-mesg">mesg</primary> 629 </indexterm> 630 </listitem> 631 </varlistentry> 632 543 633 <varlistentry id="mkfs"> 544 634 <term><command>mkfs</command></term> … … 614 704 </varlistentry> 615 705 706 <varlistentry id="mountpoint"> 707 <term><command>mountpoint</command></term> 708 <listitem> 709 <para>Tells you whether or not a directory is a mount point.</para> 710 <indexterm zone="ch-system-util-linux mountpoint"> 711 <primary sortas="b-mountpoint">mountpoint</primary> 712 </indexterm> 713 </listitem> 714 </varlistentry> 715 616 716 <varlistentry id="namei"> 617 717 <term><command>namei</command></term> … … 620 720 <indexterm zone="ch-system-util-linux namei"> 621 721 <primary sortas="b-namei">namei</primary> 722 </indexterm> 723 </listitem> 724 </varlistentry> 725 726 <varlistentry id="nologin"> 727 <term><command>nologin</command></term> 728 <listitem> 729 <para>Displays a message that an account is not available. Designed 730 to be used as the default shell for accounts that have been 731 disabled</para> 732 <indexterm zone="ch-system-util-linux nologin"> 733 <primary sortas="b-nologin">nologin</primary> 734 </indexterm> 735 </listitem> 736 </varlistentry> 737 738 <varlistentry id="nsenter"> 739 <term><command>nsenter</command></term> 740 <listitem> 741 <para>Runs a program with namespaces of other processes</para> 742 <indexterm zone="ch-system-util-linux nsenter"> 743 <primary sortas="b-nsenter">nsenter</primary> 622 744 </indexterm> 623 745 </listitem> … … 656 778 </varlistentry> 657 779 780 <varlistentry id="prlimit"> 781 <term><command>prlimit</command></term> 782 <listitem> 783 <para>Gets and sets a process' resource limits</para> 784 <indexterm zone="ch-system-util-linux prlimit"> 785 <primary sortas="b-prlimit">prlimit</primary> 786 </indexterm> 787 </listitem> 788 </varlistentry> 789 790 <varlistentry id="raw"> 791 <term><command>raw</command></term> 792 <listitem> 793 <para>Binds a Linux raw character device to a block device</para> 794 <indexterm zone="ch-system-util-linux raw"> 795 <primary sortas="b-raw">raw</primary> 796 </indexterm> 797 </listitem> 798 </varlistentry> 799 658 800 <varlistentry id="readprofile"> 659 801 <term><command>readprofile</command></term> … … 687 829 </varlistentry> 688 830 831 <varlistentry id="resizepart"> 832 <term><command>resizepart</command></term> 833 <listitem> 834 <para>Asks the Linux kernel to resize a partition</para> 835 <indexterm zone="ch-system-util-linux resizepart"> 836 <primary sortas="b-resizepart">resizepart</primary> 837 </indexterm> 838 </listitem> 839 </varlistentry> 840 689 841 <varlistentry id="rev"> 690 842 <term><command>rev</command></term> … … 764 916 <indexterm zone="ch-system-util-linux sfdisk"> 765 917 <primary sortas="b-sfdisk">sfdisk</primary> 918 </indexterm> 919 </listitem> 920 </varlistentry> 921 922 <varlistentry id="sulogin"> 923 <term><command>sulogin</command></term> 924 <listitem> 925 <para>Allows <emphasis>root</emphasis> to log in; it is normally 926 invoked by <command>init</command> when the system goes into single 927 user mode</para> 928 <indexterm zone="ch-system-util-linux sulogin"> 929 <primary sortas="b-sulogin">sulogin</primary> 930 </indexterm> 931 </listitem> 932 </varlistentry> 933 934 <varlistentry id="swaplabel"> 935 <term><command>swaplabel</command></term> 936 <listitem> 937 <para>Prints or changes the label or UUID of a swap area</para> 938 <indexterm zone="ch-system-util-linux swaplabel"> 939 <primary sortas="b-swaplabel">swaplabel</primary> 766 940 </indexterm> 767 941 </listitem> … … 821 995 </varlistentry> 822 996 823 <varlistentry id="tunelp">824 <term><command>tunelp</command></term>825 <listitem>826 <para>Tunes the parameters of the line printer</para>827 <indexterm zone="ch-system-util-linux tunelp">828 <primary sortas="b-tunelp">tunelp</primary>829 </indexterm>830 </listitem>831 </varlistentry>832 833 997 <varlistentry id="ul"> 834 998 <term><command>ul</command></term> … … 848 1012 <indexterm zone="ch-system-util-linux umount"> 849 1013 <primary sortas="b-umount">umount</primary> 1014 </indexterm> 1015 </listitem> 1016 </varlistentry> 1017 1018 <varlistentry id="unshare"> 1019 <term><command>unshare</command></term> 1020 <listitem> 1021 <para>Runs a program with some namespaces unshared from parent</para> 1022 <indexterm zone="ch-system-util-linux unshare"> 1023 <primary sortas="b-unshare">unshare</primary> 1024 </indexterm> 1025 </listitem> 1026 </varlistentry> 1027 1028 <varlistentry id="utmpdump"> 1029 <term><command>utmpdump</command></term> 1030 <listitem> 1031 <para>Displays the content of the given login file in a more 1032 user-friendly format</para> 1033 <indexterm zone="ch-system-util-linux utmpdump"> 1034 <primary sortas="b-utmpdump">utmpdump</primary> 850 1035 </indexterm> 851 1036 </listitem> … … 875 1060 </varlistentry> 876 1061 1062 <varlistentry id="wall"> 1063 <term><command>wall</command></term> 1064 <listitem> 1065 <para>Writes a message to all logged-in users</para> 1066 <indexterm zone="ch-system-util-linux wall"> 1067 <primary sortas="b-wall">wall</primary> 1068 </indexterm> 1069 </listitem> 1070 </varlistentry> 1071 1072 <varlistentry id="wdctl"> 1073 <term><command>wdctl</command></term> 1074 <listitem> 1075 <para>Show hardware watchdog status</para> 1076 <indexterm zone="ch-system-util-linux wdctl"> 1077 <primary sortas="b-uuidgen">wdctl</primary> 1078 </indexterm> 1079 </listitem> 1080 </varlistentry> 1081 877 1082 <varlistentry id="whereis"> 878 1083 <term><command>whereis</command></term> … … 886 1091 </varlistentry> 887 1092 1093 <varlistentry id="wipefs"> 1094 <term><command>wipefs</command></term> 1095 <listitem> 1096 <para>Wipes a filesystem signature from a device</para> 1097 <indexterm zone="ch-system-util-linux wipefs"> 1098 <primary sortas="b-wipefs">wipefs</primary> 1099 </indexterm> 1100 </listitem> 1101 </varlistentry> 1102 888 1103 <varlistentry id="write"> 889 1104 <term><command>write</command></term> … … 908 1123 </varlistentry> 909 1124 1125 <varlistentry id="libmount"> 1126 <term><filename class="libraryfile">libmount</filename></term> 1127 <listitem> 1128 <para>Contains routines for parsing the 1129 <filename>/etc/fstab</filename>, <filename>/etc/mtab</filename>, 1130 and <filename>/proc/self/mountinfo</filename> files, managing 1131 <filename>/etc/mtab</filename>, and configuring various mount 1132 options</para> 1133 <indexterm zone="ch-system-util-linux libmount"> 1134 <primary sortas="c-libmount">libmount</primary> 1135 </indexterm> 1136 </listitem> 1137 </varlistentry> 1138 910 1139 <varlistentry id="libuuid"> 911 1140 <term><filename class="libraryfile">libuuid</filename></term> -
BOOK/final-system/common/vim.xml
rec008670 r229ed25 71 71 <screen os="h"><userinput>make</userinput></screen> 72 72 73 <para os="i">To test the results, issue: <userinput>make test</userinput>. 74 However, this test suite outputs a lot of binary data to the 73 <para os="i">To test the results, issue:</para> 74 75 <screen os="i2"><userinput remap="test">make test</userinput></screen> 76 77 <para os="i3">However, this test suite outputs a lot of binary data to the 75 78 screen, which can cause issues with the settings of the current terminal. 76 79 This can be resolved by redirecting the output to a log file.</para> -
BOOK/final-system/common/xz.xml
rec008670 r229ed25 36 36 <screen os="d"><userinput>make</userinput></screen> 37 37 38 <para os="e">To test the results, issue: 39 <userinput>make check</userinput>.</para> 40 38 <para os="e">To test the results, issue:</para> 39 40 <screen os="e2"><userinput remap="test">make check</userinput></screen> 41 41 42 42 <para os="f">Install the programs:</para> … … 48 48 49 49 <screen os="i"><userinput>mv -v /usr/bin/{xz,lzma,lzcat,unlzma,unxz,xzcat} /bin</userinput></screen> 50 51 <para os="j">Finally, move the shared library to a more appropriate 52 location, and recreate the symlink pointing to it:</para> 53 54 <screen os="k"><userinput>mv -v /usr/lib/liblzma.so.* /lib 55 ln -svf ../../lib/liblzma.so.&xz-version; /usr/lib/liblzma.so</userinput></screen> 50 56 51 57 </sect2> … … 60 66 61 67 <seglistitem> 62 <seg>lzcat (link to xz), lzcmp (link to lzdiff), lzdiff, lzegrep (link to lzgrep), 63 lzfgrep (link to lzgrep), lzgrep, lzless (link to lzmore), lzma (link to xz), 64 lzmadec, lzmore, unlzma (link to xz), unxz (link to xz), xz, xzcat 65 (link to xz), and xzdec</seg> 68 <seg>lzcat (link to xz), lzcmp (link to xzdiff), lzdiff (link to 69 xzdiff), lzegrep (link to xzgrep), lzfgrep (link to xzgrep), lzgrep 70 (link to xzgrep), lzless (link to xzless), lzma (link to xz), lzmadec, 71 lzmainfo, lzmore (link to xzmore), unlzma (link to xz), unxz (link to 72 xz), xz, xzcat (link to xz), xzcmp (link to xzdiff), xzdec, xzdiff, 73 xzegrep (link to xzgrep), xzfgrep (link to xzgrep), xzgrep, xzless, 74 and xzmore</seg> 66 75 <seg>liblzma.[a,so]</seg> 67 76 <seg>/usr/include/lzma, /usr/share/doc/xz</seg> … … 164 173 </varlistentry> 165 174 175 <varlistentry id="lzmainfo"> 176 <term><command>lzmainfo</command></term> 177 <listitem> 178 <para>Displays information stored in an .lzma file header</para> 179 <indexterm zone="ch-system-xz lzmainfo"> 180 <primary sortas="b-lzmainfo">lzmainfo</primary> 181 </indexterm> 182 </listitem> 183 </varlistentry> 184 166 185 <varlistentry id="lzmore"> 167 186 <term><command>lzmore</command></term> … … 214 233 </varlistentry> 215 234 235 <varlistentry id="xzcmp"> 236 <term><command>xzcmp</command></term> 237 <listitem> 238 <para>Compares xz compressed files</para> 239 <indexterm zone="ch-system-xz xzcmp"> 240 <primary sortas="b-xzcmp">xzcmp</primary> 241 </indexterm> 242 </listitem> 243 </varlistentry> 244 216 245 <varlistentry id="xzdec"> 217 246 <term><command>xzdec</command></term> … … 224 253 </varlistentry> 225 254 255 <varlistentry id="xzdiff"> 256 <term><command>xzdiff</command></term> 257 <listitem> 258 <para>Compares xz compressed files</para> 259 <indexterm zone="ch-system-xz xzdiff"> 260 <primary sortas="b-xzdiff">xzdiff</primary> 261 </indexterm> 262 </listitem> 263 </varlistentry> 264 265 <varlistentry id="xzegrep"> 266 <term><command>xzegrep</command></term> 267 <listitem> 268 <para>Runs <command>egrep</command> on xz compressed files</para> 269 <indexterm zone="ch-system-xz xzegrep"> 270 <primary sortas="b-xzegrep">xzegrep</primary> 271 </indexterm> 272 </listitem> 273 </varlistentry> 274 275 <varlistentry id="xzfgrep"> 276 <term><command>xzfgrep</command></term> 277 <listitem> 278 <para>Runs <command>fgrep</command> on xz compressed files</para> 279 <indexterm zone="ch-system-xz xzfgrep"> 280 <primary sortas="b-xzfgrep">xzfgrep</primary> 281 </indexterm> 282 </listitem> 283 </varlistentry> 284 285 <varlistentry id="xzgrep"> 286 <term><command>xzgrep</command></term> 287 <listitem> 288 <para>Runs <command>grep</command> on xz compressed files</para> 289 <indexterm zone="ch-system-xz xzgrep"> 290 <primary sortas="b-xzgrep">xzgrep</primary> 291 </indexterm> 292 </listitem> 293 </varlistentry> 294 295 <varlistentry id="xzless"> 296 <term><command>xzless</command></term> 297 <listitem> 298 <para>Runs <command>less</command> on xz files</para> 299 <indexterm zone="ch-system-xz xzless"> 300 <primary sortas="b-xzless">xzless</primary> 301 </indexterm> 302 </listitem> 303 </varlistentry> 304 305 <varlistentry id="xzmore"> 306 <term><command>xzmore</command></term> 307 <listitem> 308 <para>Runs <command>more</command> on xz files</para> 309 <indexterm zone="ch-system-xz xzmore"> 310 <primary sortas="b-xzmore">xzmore</primary> 311 </indexterm> 312 </listitem> 313 </varlistentry> 314 226 315 <varlistentry id="liblzma"> 227 316 <term><filename class="libraryfile">liblzma</filename></term> -
BOOK/final-system/common/zlib.xml
rec008670 r229ed25 37 37 <screen os="d"><userinput>make</userinput></screen> 38 38 39 <para os="e">To test the results, issue: 40 <userinput>make check</userinput>.</para> 39 <para os="e">To test the results, issue:</para> 40 41 <screen os="e2" ><userinput remap="test">make check</userinput></screen> 41 42 42 43 <para os="f">Install the package:</para>
Note:
See TracChangeset
for help on using the changeset viewer.