- Timestamp:
- 12/31/2015 09:09:13 AM (8 years ago)
- Branches:
- 7.9-systemd
- Children:
- 6e13139
- Parents:
- 6eb40d4
- Location:
- chapter06
- Files:
-
- 41 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/acl.xml
r6eb40d4 r131c907 99 99 <seglistitem> 100 100 <seg>chacl, getfacl, and setacl</seg> 101 <seg>libacl. {a,so}</seg>101 <seg>libacl.so</seg> 102 102 <seg>/usr/include/acl and /usr/share/doc/acl-&acl-version;</seg> 103 103 </seglistitem> -
chapter06/adjusting.xml
r6eb40d4 r131c907 56 56 the prefix of our dynamic linker.</para> 57 57 58 <para os="d">Now make sure that we're setup to use the correct start files:</para>58 <para os="d">Now make sure that we're setup to use the correct start files:</para> 59 59 60 60 <screen os="e"><userinput>grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log</userinput></screen> -
chapter06/attr.xml
r6eb40d4 r131c907 92 92 <seglistitem> 93 93 <seg>attr, getfattr, and setattr</seg> 94 <seg>libattr. {a,so}</seg>94 <seg>libattr.so</seg> 95 95 <seg>/usr/include/attr and /usr/share/doc/attr-&attr-version;</seg> 96 96 </seglistitem> -
chapter06/automake.xml
r6eb40d4 r131c907 78 78 79 79 <seglistitem> 80 <seg>aclocal, aclocal-&am-minor-version;, automake, 81 automake-&am-minor-version;, compile, config.guess, config.sub, 82 depcomp, install-sh, mdate-sh, missing, mkinstalldirs, 83 py-compile, and ylwrap</seg> 80 <seg>aclocal, aclocal-&am-minor-version; (hard linked with aclocal), automake, and 81 automake-&am-minor-version; (hard linked with automake) </seg> 84 82 <seg>/usr/share/aclocal-&am-minor-version;, /usr/share/automake-&am-minor-version;, and 85 83 /usr/share/doc/automake-&automake-version;</seg> … … 140 138 </varlistentry> 141 139 142 <varlistentry id="compile">143 <term><command>compile</command></term>144 <listitem>145 <para>A wrapper for compilers</para>146 <indexterm zone="ch-system-automake compile">147 <primary sortas="b-compile">compile</primary>148 </indexterm>149 </listitem>150 </varlistentry>151 152 <varlistentry id="config.guess">153 <term><command>config.guess</command></term>154 <listitem>155 <para>A script that attempts to guess the canonical triplet for156 the given build, host, or target architecture</para>157 <indexterm zone="ch-system-automake config.guess">158 <primary sortas="b-config.guess">config.guess</primary>159 </indexterm>160 </listitem>161 </varlistentry>162 163 <varlistentry id="config.sub">164 <term><command>config.sub</command></term>165 <listitem>166 <para>A configuration validation subroutine script</para>167 <indexterm zone="ch-system-automake config.sub">168 <primary sortas="b-config.sub">config.sub</primary>169 </indexterm>170 </listitem>171 </varlistentry>172 173 <varlistentry id="depcomp">174 <term><command>depcomp</command></term>175 <listitem>176 <para>A script for compiling a program so that dependency information177 is generated in addition to the desired output</para>178 <indexterm zone="ch-system-automake depcomp">179 <primary sortas="b-depcomp">depcomp</primary>180 </indexterm>181 </listitem>182 </varlistentry>183 184 <varlistentry id="install-sh">185 <term><command>install-sh</command></term>186 <listitem>187 <para>A script that installs a program, script, or data file</para>188 <indexterm zone="ch-system-automake install-sh">189 <primary sortas="b-install-sh">install-sh</primary>190 </indexterm>191 </listitem>192 </varlistentry>193 194 <varlistentry id="mdate-sh">195 <term><command>mdate-sh</command></term>196 <listitem>197 <para>A script that prints the modification time of a file or198 directory</para>199 <indexterm zone="ch-system-automake mdate-sh">200 <primary sortas="b-mdate-sh">mdate-sh</primary>201 </indexterm>202 </listitem>203 </varlistentry>204 205 <varlistentry id="missing">206 <term><command>missing</command></term>207 <listitem>208 <para>A script acting as a common stub for missing GNU programs during209 an installation</para>210 <indexterm zone="ch-system-automake missing">211 <primary sortas="b-missing">missing</primary>212 </indexterm>213 </listitem>214 </varlistentry>215 216 <varlistentry id="mkinstalldirs">217 <term><command>mkinstalldirs</command></term>218 <listitem>219 <para>A script that creates a directory tree</para>220 <indexterm zone="ch-system-automake mkinstalldirs">221 <primary sortas="b-mkinstalldirs">mkinstalldirs</primary>222 </indexterm>223 </listitem>224 </varlistentry>225 226 <varlistentry id="py-compile">227 <term><command>py-compile</command></term>228 <listitem>229 <para>Compiles a Python program</para>230 <indexterm zone="ch-system-automake py-compile">231 <primary sortas="b-py-compile">py-compile</primary>232 </indexterm>233 </listitem>234 </varlistentry>235 236 <varlistentry id="ylwrap">237 <term><command>ylwrap</command></term>238 <listitem>239 <para>A wrapper for <command>lex</command> and240 <command>yacc</command></para>241 <indexterm zone="ch-system-automake ylwrap">242 <primary sortas="b-ylwrap">ylwrap</primary>243 </indexterm>244 </listitem>245 </varlistentry>246 247 140 </variablelist> 248 141 -
chapter06/bc.xml
r6eb40d4 r131c907 74 74 <para>To test bc, run the commands below. There is quite a bit of output, 75 75 so you may want to redirect it to a file. There are a very small percentage 76 of tests (10 of 12,144) that will indicate a round off error at the last76 of tests (10 of 12,144) that will indicate a round off error at the last 77 77 digit.</para> 78 78 -
chapter06/bison.xml
r6eb40d4 r131c907 53 53 <screen><userinput remap="make">make</userinput></screen> 54 54 55 <para>To test the results (about 0.5 SBU), issue:</para> 55 <!-- 56 <para>To test the results (about 2.2 SBU), issue:</para> 56 57 57 58 <screen><userinput remap="test">make check</userinput></screen> 59 --> 60 <para>There is a circular dependency between bison and flex with regard to 61 the checks. If desired, after installing flex in the next section, the 62 bison checks can be run with <command>make check</command>.</para> 58 63 59 64 <para>Install the package:</para> -
chapter06/chapter06.xml
r6eb40d4 r131c907 38 38 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="shadow.xml"/> 39 39 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="psmisc.xml"/> 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="procps.xml"/>41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="e2fsprogs.xml"/>42 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/>43 40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iana-etc.xml"/> 44 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="m4.xml"/> 42 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/> 45 43 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="flex.xml"/> 46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>47 44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="grep.xml"/> 48 45 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="readline.xml"/> … … 51 48 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtool.xml"/> 52 49 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gdbm.xml"/> 50 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gperf.xml"/> 53 51 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="expat.xml"/> 54 52 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="inetutils.xml"/> 55 53 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="perl.xml"/> 56 54 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xml-parser.xml"/> 55 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="intltool.xml"/> 57 56 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="autoconf.xml"/> 58 57 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="automake.xml"/> 58 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/> 59 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="procps.xml"/> 60 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="e2fsprogs.xml"/> 61 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="coreutils.xml"/> 59 62 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="diffutils.xml"/> 60 63 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gawk.xml"/> 61 64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="findutils.xml"/> 62 65 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gettext.xml"/> 63 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="intltool.xml"/>64 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gperf.xml"/>65 66 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="groff.xml"/> 66 67 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="xz.xml"/> … … 74 75 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="make.xml"/> 75 76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="patch.xml"/> 76 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/>77 77 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus.xml"/> 78 78 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/> -
chapter06/creatingdirs.xml
r6eb40d4 r131c907 53 53 <title>FHS Compliance Note</title> 54 54 55 <para>The directory tree is based on the Filesystem Hierarchy Standard (FHS) 56 (available at <ulink url="https://wiki.linuxfoundation.org/en/FHS"/>). 57 The FHS also stipulates the existence of <filename 55 <para>The directory tree is based on the Filesystem Hierarchy Standard 56 (FHS) (available at <ulink 57 url="https://wiki.linuxfoundation.org/en/FHS"/>). The FHS also stipulates 58 the optional existence some directories such as <filename 58 59 class="directory">/usr/local/games</filename> and <filename 59 class="directory">/usr/share/games</filename>. The FHS is not precise as to 60 the structure of the <filename class="directory">/usr/local/share</filename> 61 subdirectory, so we create only the directories that are needed. However, 62 feel free to create these directories if you prefer to conform more strictly 63 to the FHS.</para> 64 60 class="directory">/usr/share/games</filename>. We create only the 61 directories that are needed. However, feel free to create these 62 directories. </para> 65 63 </sect2> 66 64 -
chapter06/dbus.xml
r6eb40d4 r131c907 49 49 <para>Prepare D-Bus for compilation:</para> 50 50 51 <screen><userinput remap="configure">./configure --prefix=/usr \ 52 --sysconfdir=/etc \ 53 --localstatedir=/var \ 54 --docdir=/usr/share/doc/dbus-&dbus-version; \ 55 --disable-static \ 56 --with-console-auth-dir=/run/console</userinput></screen> 51 <screen><userinput remap="configure"> ./configure --prefix=/usr \ 52 --sysconfdir=/etc \ 53 --localstatedir=/var \ 54 --disable-static \ 55 --disable-doxygen-docs \ 56 --disable-xml-docs \ 57 --docdir=/usr/share/doc/dbus-&dbus-version; \ 58 --with-console-auth-dir=/run/console</userinput></screen> 57 59 58 60 <variablelist> … … 73 75 <screen><userinput remap="make">make</userinput></screen> 74 76 75 <para>This package does come with a test suite, but it requires several77 <para>This package does come with a test suite, but it requires several 76 78 packages that are not included in LFS. Instructions for running the 77 test suite can be found in the BLFS book at79 test suite can be found in the BLFS book at 78 80 <ulink url="&blfs-book;general/dbus.html"/>.</para> 79 81 -
chapter06/e2fsprogs.xml
r6eb40d4 r131c907 44 44 <sect2 role="installation"> 45 45 <title>Installation of E2fsprogs</title> 46 47 <!-- <para>First, fix a potential security issue identified upstream:</para>48 49 <screen><userinput remap="pre">sed -e '/int.*old_desc_blocks/s/int/blk64_t/' \50 -e '/if (old_desc_blocks/s/super->s_first_meta_bg/desc_blocks/' \51 -i lib/ext2fs/closefs.c</userinput></screen> -->52 46 53 47 <para>The E2fsprogs documentation recommends that the package be built in … … 178 172 e2fsck, e2image, e2label, e2undo, e4defrag, filefrag, fsck.ext2, 179 173 fsck.ext3, fsck.ext4, fsck.ext4dev, logsave, lsattr, mk_cmds, mke2fs, 180 mkfs.ext2, mkfs.ext3, mkfs.ext4, mkfs.ext4dev, 174 mkfs.ext2, mkfs.ext3, mkfs.ext4, mkfs.ext4dev, mklost+found, 181 175 resize2fs, and tune2fs</seg> 182 <seg>libcom_err.{a,so}, libe2p.{a,so}, libext2fs.{a,so}, 183 libquota.a, and libss.{a,so}</seg> 176 <seg>libcom_err.so, libe2p.so, libext2fs.so, and libss.so</seg> 184 177 <seg>/usr/include/e2p, /usr/include/et, /usr/include/ext2fs, 185 /usr/include/ quota, /usr/include/ss, /usr/share/et, and /usr/share/ss</seg>178 /usr/include/ss, /usr/share/et, and /usr/share/ss</seg> 186 179 </seglistitem> 187 180 </segmentedlist> … … 530 523 </varlistentry> 531 524 532 <varlistentry id="libquota">525 <!-- <varlistentry id="libquota"> 533 526 <term><filename class="libraryfile">libquota</filename></term> 534 527 <listitem> … … 540 533 </listitem> 541 534 </varlistentry> 542 535 --> 543 536 <varlistentry id="libss"> 544 537 <term><filename class="libraryfile">libss</filename></term> -
chapter06/expat.xml
r6eb40d4 r131c907 75 75 <seglistitem> 76 76 <seg>xmlwf</seg> 77 <seg>libexpat. {a,so}</seg>77 <seg>libexpat.so</seg> 78 78 <seg>/usr/share/doc/expat-&expat-version;</seg> 79 79 </seglistitem> -
chapter06/findutils.xml
r6eb40d4 r131c907 91 91 92 92 <seglistitem> 93 <seg> bigram, code, find, frcode, locate, oldfind, updatedb, and xargs</seg>93 <seg>code, find, locate, oldfind, updatedb, and xargs</seg> 94 94 </seglistitem> 95 95 </segmentedlist> … … 99 99 <?dbfo list-presentation="list"?> 100 100 <?dbhtml list-presentation="table"?> 101 102 <varlistentry id="bigram">103 <term><command>bigram</command></term>104 <listitem>105 <para>Was formerly used to produce <command>locate</command>106 databases</para>107 <indexterm zone="ch-system-findutils bigram">108 <primary sortas="b-bigram">bigram</primary>109 </indexterm>110 </listitem>111 </varlistentry>112 101 113 102 <varlistentry id="code"> … … 129 118 <indexterm zone="ch-system-findutils find"> 130 119 <primary sortas="b-find">find</primary> 131 </indexterm>132 </listitem>133 </varlistentry>134 135 <varlistentry id="frcode">136 <term><command>frcode</command></term>137 <listitem>138 <para>Is called by <command>updatedb</command> to compress the list139 of file names; it uses front-compression, reducing the database size140 by a factor of four to five</para>141 <indexterm zone="ch-system-findutils frcode">142 <primary sortas="b-frcode">frcode</primary>143 120 </indexterm> 144 121 </listitem> -
chapter06/flex.xml
r6eb40d4 r131c907 42 42 <title>Installation of Flex</title> 43 43 44 <para>First, skip running three regression tests that require Bison:</para>45 46 <screen><userinput remap="pre">sed -i -e '/test-bison/d' tests/Makefile.in</userinput></screen>47 48 44 <para>Prepare Flex for compilation:</para> 49 45 50 <screen><userinput remap="configure">./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen> 46 <screen><userinput remap="configure">./configure --prefix=/usr \ 47 --disable-static \ 48 --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen> 51 49 52 50 <para>Compile the package:</para> … … 61 59 62 60 <screen><userinput remap="install">make install</userinput></screen> 63 <!--64 <para>There are some packages that expect to find the65 <filename class="libraryfile">lex</filename> library in <filename66 class="directory">/usr/lib</filename>. Create a symlink to account for67 this:</para>68 61 69 <screen><userinput remap="install">ln -sv libfl.a /usr/lib/libl.a</userinput></screen>70 -->71 62 <para>A few programs do not know about <command>flex</command> yet and 72 63 try to run its predecessor, <command>lex</command>. To support those … … 89 80 <seglistitem> 90 81 <seg>flex, flex++ (link to flex), and lex (link to flex)</seg> 91 <seg>libfl. {a,so} and libfl_pic.{a,so}</seg>82 <seg>libfl.so and libfl_pic.so</seg> 92 83 <seg>/usr/share/doc/flex-&flex-version;</seg> 93 84 </seglistitem> -
chapter06/gcc.xml
r6eb40d4 r131c907 117 117 <para>A few unexpected failures cannot always be avoided. The GCC developers 118 118 are usually aware of these issues, but have not resolved them yet. 119 In particular, one test in the libgomp test suite is known to fail. 119 In particular, two tests in the libstdc++ test suite are known to fail 120 when running as the root user as we do here. 120 121 Unless the test results are vastly different from those at the above URL, 121 122 it is safe to continue.</para> … … 140 141 141 142 <screen><userinput remap="install">install -v -dm755 /usr/lib/bfd-plugins 142 ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so /usr/lib/bfd-plugins/</userinput></screen> 143 ln -sfv ../../libexec/gcc/$(gcc -dumpmachine)/&gcc-version;/liblto_plugin.so \ 144 /usr/lib/bfd-plugins/</userinput></screen> 143 145 144 146 <para>Now that our final toolchain is in place, it is important to again ensure … … 375 377 <para>A wrapper around <command>ar</command> that adds a 376 378 plugin to the command line. This program is only used 377 to add "link time opti zation" and is not useful with the379 to add "link time optimization" and is not useful with the 378 380 default build options</para> 379 381 <indexterm zone="ch-system-gcc gcc-ar"> … … 388 390 <para>A wrapper around <command>nm</command> that adds a 389 391 plugin to the command line. This program is only used 390 to add "link time opti zation" and is not useful with the392 to add "link time optimization" and is not useful with the 391 393 default build options</para> 392 394 <indexterm zone="ch-system-gcc gcc-nm"> … … 401 403 <para>A wrapper around <command>ranlib</command> that adds a 402 404 plugin to the command line. This program is only used 403 to add "link time opti zation" and is not useful with the405 to add "link time optimization" and is not useful with the 404 406 default build options</para> 405 407 <indexterm zone="ch-system-gcc gcc-ranlib"> -
chapter06/gdbm.xml
r6eb40d4 r131c907 87 87 <seglistitem> 88 88 <seg>gdbm_dump, gdbm_load, and gdbmtool</seg> 89 <seg>libgdbm. {a,so} and libgdbm_compat.{a,so}</seg>89 <seg>libgdbm.so and libgdbm_compat.so</seg> 90 90 </seglistitem> 91 91 </segmentedlist> -
chapter06/gettext.xml
r6eb40d4 r131c907 61 61 <para>Install the package:</para> 62 62 63 <screen><userinput remap="install">make install</userinput></screen> 63 <screen><userinput remap="install">make install 64 chmod -v 0755 /usr/lib/preloadable_libintl.so</userinput></screen> 64 65 65 66 </sect2> … … 74 75 75 76 <seglistitem> 76 <seg>autopoint, config.charset, config.rpath,envsubst, gettext, gettext.sh,77 <seg>autopoint, envsubst, gettext, gettext.sh, 77 78 gettextize, hostname, msgattrib, msgcat, msgcmp, msgcomm, msgconv, msgen, 78 79 msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, msguniq, 79 80 ngettext, recode-sr-latin, and xgettext</seg> 80 <seg>libasprintf. {a,so}, libgettextlib.so, libgettextpo.{a,so},81 <seg>libasprintf.so, libgettextlib.so, libgettextpo.so, 81 82 libgettextsrc.so, and preloadable_libintl.so</seg> 82 83 <seg>/usr/lib/gettext, /usr/share/doc/gettext-&gettext-version;, and … … 97 98 <indexterm zone="ch-system-gettext autopoint"> 98 99 <primary sortas="b-autopoint">autopoint</primary> 99 </indexterm>100 </listitem>101 </varlistentry>102 103 <varlistentry id="config.charset">104 <term><command>config.charset</command></term>105 <listitem>106 <para>Outputs a system-dependent table of character encoding107 aliases</para>108 <indexterm zone="ch-system-gettext config.charset">109 <primary sortas="b-config.charset">config.charset</primary>110 </indexterm>111 </listitem>112 </varlistentry>113 114 <varlistentry id="config.rpath">115 <term><command>config.rpath</command></term>116 <listitem>117 <para>Outputs a system-dependent set of variables, describing how118 to set the runtime search path of shared libraries in an119 executable</para>120 <indexterm zone="ch-system-gettext config.rpath">121 <primary sortas="b-config.rpath">config.rpath</primary>122 100 </indexterm> 123 101 </listitem> -
chapter06/glibc.xml
r6eb40d4 r131c907 71 71 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-upstream-patch;</userinput></screen> 72 72 73 <para>The most recent stable version of Glibc does not handle large files 74 correctly. Fix the problem with this patch:</para> 75 76 <screen><userinput remap="pre">patch -Np1 -i ../&glibc-largefile-patch;</userinput></screen> 77 73 78 <para>The Glibc documentation recommends building Glibc outside of the source 74 79 directory in a dedicated build directory:</para> … … 139 144 --> 140 145 <listitem> 141 <para>The <emphasis>elf/tst-protected1 a</emphasis> and146 <para>The <emphasis>elf/tst-protected1b</emphasis> and 142 147 <emphasis>elf/tst-protected1b</emphasis> tests are known to 143 148 fail with the current stable version of binutils.</para> … … 272 277 <title>Adding time zone data</title> 273 278 274 <para>Install and set up the time zone data with the following:</para>279 <para>Install and set up the time zone data with the following:</para> 275 280 <screen><userinput>tar -xf ../tzdata&tzdata-version;.tar.gz 276 281 … … 295 300 <term><parameter>zic -L /dev/null ...</parameter></term> 296 301 <listitem> 297 <para>This creates posix time zones, without any leap seconds. It is302 <para>This creates posix time zones, without any leap seconds. It is 298 303 conventional to put these in both 299 304 <filename class="directory">zoneinfo</filename> and 300 305 <filename class="directory">zoneinfo/posix</filename>. It is 301 necessary to put the POSIX time zones in306 necessary to put the POSIX time zones in 302 307 <filename class="directory">zoneinfo</filename>, otherwise various 303 308 test-suites will report errors. On an embedded system, where space is 304 tight and you do not intend to ever update the time zones, you could save309 tight and you do not intend to ever update the time zones, you could save 305 310 1.9MB by not using the <filename class="directory">posix</filename> 306 311 directory, but some applications or test-suites might produce some … … 311 316 <term><parameter>zic -L leapseconds ...</parameter></term> 312 317 <listitem> 313 <para>This creates right time zones, including leap seconds. On an318 <para>This creates right time zones, including leap seconds. On an 314 319 embedded system, where space is tight and you do not intend to 315 ever update the time zones, or care about the correct time, you could320 ever update the time zones, or care about the correct time, you could 316 321 save 1.9MB by omitting the <filename class="directory">right</filename> 317 322 directory.</para> … … 337 342 output the name of the time zone (e.g., 338 343 <emphasis>America/Edmonton</emphasis>). There are also some other possible 339 time zones listed in <filename344 time zones listed in <filename 340 345 class='directory'>/usr/share/zoneinfo</filename> such as 341 346 <emphasis>Canada/Eastern</emphasis> or <emphasis>EST5EDT</emphasis> that -
chapter06/gmp.xml
r6eb40d4 r131c907 92 92 <screen><userinput remap="test">make check 2>&1 | tee gmp-check-log</userinput></screen> 93 93 94 <para>Ensure that all 1 88tests in the test suite passed.94 <para>Ensure that all 190 tests in the test suite passed. 95 95 Check the results by issuing the following command:</para> 96 96 97 <screen><userinput remap="test">awk '/ tests passed/{total+=$2} ; END{print total}' gmp-check-log</userinput></screen>97 <screen><userinput remap="test">awk '/# PASS:/{total+=$3} ; END{print total}' gmp-check-log</userinput></screen> 98 98 99 99 <para>Install the package and its documentation:</para> … … 112 112 113 113 <seglistitem> 114 <seg>libgmp. {a,so} and libgmpxx.{a,so}</seg>114 <seg>libgmp.so and libgmpxx.so</seg> 115 115 <seg>/usr/share/doc/gmp-&gmp-version;</seg> 116 116 </seglistitem> -
chapter06/gperf.xml
r6eb40d4 r131c907 66 66 <segmentedlist> 67 67 <segtitle>Installed program</segtitle> 68 <segtitle>Installed directory</segtitle> 68 69 69 70 <seglistitem> 70 71 <seg>gperf</seg> 72 <seg>/usr/share/doc/gperf-&gperf-version;</seg> 71 73 </seglistitem> 72 74 </segmentedlist> -
chapter06/grep.xml
r6eb40d4 r131c907 40 40 <sect2 role="installation"> 41 41 <title>Installation of Grep</title> 42 43 <para>First fix a potential security issue identified upstream:</para>44 45 <screen><userinput remap="configure">sed -i -e '/tp++/a if (ep <= tp) break;' src/kwset.c</userinput></screen>46 42 47 43 <para>Prepare Grep for compilation:</para> -
chapter06/groff.xml
r6eb40d4 r131c907 74 74 75 75 <seglistitem> 76 <seg>addftinfo, afmtodit, chem, eqn, eqn2graph, gdiffmk, 77 g eqn (link to eqn), grap2graph, grn, grodvi, groff, groffer, grog,78 grol bp, grolj4, grops, grotty, gtbl (link to tbl), hpftodit,79 indxbib, lkbib, lookbib, mmroff, neqn, nroff, pdfroff, pfbtops, pic,80 p ic2graph, post-grohtml, preconv, pre-grohtml, refer, roff2dvi,81 roff2 html, roff2pdf, roff2ps, roff2text, roff2x, soelim, tbl, tfmtodit,82 andtroff</seg>76 <seg>addftinfo, afmtodit, chem, eqn, eqn2graph, gdiffmk, glilypond, 77 gperl, gpinyin, grap2graph, grn, grodvi, groff, groffer, grog, grolbp, 78 grolj4, gropdf, grops, grotty, hpftodit, indxbib, lkbib, lookbib, 79 mmroff, neqn, nroff, pdfmom, pdfroff, pfbtops, pic, pic2graph, 80 post-grohtml, preconv, pre-grohtml, refer, roff2dvi, roff2html, 81 roff2pdf, roff2ps, roff2text, roff2x, soelim, tbl, tfmtodit, and 82 troff</seg> 83 83 <seg>/usr/lib/groff and /usr/share/doc/groff-&groff-version;, 84 84 /usr/share/groff</seg> … … 155 155 </varlistentry> 156 156 157 <varlistentry id="geqn"> 158 <term><command>geqn</command></term> 159 <listitem> 160 <para>A link to <command>eqn</command></para> 161 <indexterm zone="ch-system-groff geqn"> 162 <primary sortas="b-geqn">geqn</primary> 157 <varlistentry id="glilypond"> 158 <term><command>glilypond</command></term> 159 <listitem> 160 <para>Transforms sheet music written in the lilypond language into 161 the groff language</para> 162 <indexterm zone="ch-system-groff glilypond"> 163 <primary sortas="b-glilypond">glilypond</primary> 164 </indexterm> 165 </listitem> 166 </varlistentry> 167 168 <varlistentry id="gperl"> 169 <term><command>gperl</command></term> 170 <listitem> 171 <para>Preprocesor for groff, allowing addition of perl code 172 into groff files</para> 173 <indexterm zone="ch-system-groff gperl"> 174 <primary sortas="b-gperl">gperl</primary> 175 </indexterm> 176 </listitem> 177 </varlistentry> 178 179 <varlistentry id="gpinyin"> 180 <term><command>gpinyin</command></term> 181 <listitem> 182 <para>Preprocesor for groff, allowing addition of Chinese 183 European-like language Pinyin into groff files.</para> 184 <indexterm zone="ch-system-groff gpinyin"> 185 <primary sortas="b-gpinyin">gpinyin</primary> 163 186 </indexterm> 164 187 </listitem> … … 255 278 </varlistentry> 256 279 280 <varlistentry id="gropdf"> 281 <term><command>gropdf</command></term> 282 <listitem> 283 <para>Translates the output of GNU <command>troff</command> to 284 PDF</para> 285 <indexterm zone="ch-system-groff gropdf"> 286 <primary sortas="b-gropdf">gropdf</primary> 287 </indexterm> 288 </listitem> 289 </varlistentry> 290 257 291 <varlistentry id="grops"> 258 292 <term><command>grops</command></term> … … 273 307 <indexterm zone="ch-system-groff grotty"> 274 308 <primary sortas="b-grotty">grotty</primary> 275 </indexterm>276 </listitem>277 </varlistentry>278 279 <varlistentry id="gtbl">280 <term><command>gtbl</command></term>281 <listitem>282 <para>A link to <command>tbl</command></para>283 <indexterm zone="ch-system-groff gtbl">284 <primary sortas="b-gtbl">gtbl</primary>285 309 </indexterm> 286 310 </listitem> … … 368 392 </varlistentry> 369 393 394 <varlistentry id="pdfmom"> 395 <term><command>pdfmom</command></term> 396 <listitem> 397 <para>Is a wrapper around groff that facilitates the production of PDF 398 documents from files formatted with the mom macros.</para> 399 <indexterm zone="ch-system-groff pdfmom"> 400 <primary sortas="b-pdfmom">pdfmom</primary> 401 </indexterm> 402 </listitem> 403 </varlistentry> 404 370 405 <varlistentry id="pdfroff"> 371 406 <term><command>pdfroff</command></term> -
chapter06/grub.xml
r6eb40d4 r131c907 95 95 <seglistitem> 96 96 97 <seg> grub-bios-setup, grub-editenv, grub-fstest, 98 grub-install, grub-kbdcomp, grub-menulst2cfg, grub-mkconfig, 97 <seg>grub-bios-setup, grub-editenv, grub-file, grub-fstest, 98 grub-glue-efi, grub-install, grub-kbdcomp, grub-macbless, 99 grub-menulst2cfg, grub-mkconfig, 99 100 grub-mkimage, grub-mklayout, grub-mknetdir, 100 101 grub-mkpasswd-pbkdf2, grub-mkrelpath, grub-mkrescue, grub-mkstandalone, 101 grub-ofpathname, grub-probe, grub-reboot, grub-script-check, 102 grub-set-default, grub-sparc64-setup </seg> 103 104 <seg>/usr/lib/grub, /etc/grub.d, /usr/share/grub, /boot/grub</seg> 102 grub-ofpathname, grub-probe, grub-reboot, grub-render-label, 103 grub-script-check, 104 grub-set-default, grub-sparc64-setup, and grub-syslinux2cfg</seg> 105 106 <seg>/usr/lib/grub, /etc/grub.d, /usr/share/grub, and boot/grub (when grub-install 107 is first run)</seg> 105 108 </seglistitem> 106 109 </segmentedlist> … … 131 134 </varlistentry> 132 135 136 <varlistentry id="grub-file"> 137 <term><command>grub-file</command></term> 138 <listitem> 139 <para>Checks if FILE is of the specified type.</para> 140 <indexterm zone="ch-system-grub grub-file"> 141 <primary sortas="b-grub-file">grub-file</primary> 142 </indexterm> 143 </listitem> 144 </varlistentry> 145 133 146 <varlistentry id="grub-fstest"> 134 147 <term><command>grub-fstest</command></term> … … 137 150 <indexterm zone="ch-system-grub grub-fstest"> 138 151 <primary sortas="b-grub-fstest">grub-fstest</primary> 152 </indexterm> 153 </listitem> 154 </varlistentry> 155 156 <varlistentry id="grub-glue-efi"> 157 <term><command>grub-glue-efi</command></term> 158 <listitem> 159 <para>Processes ia32 and amd64 EFI images and glues them 160 according to Apple format.</para> 161 <indexterm zone="ch-system-grub grub-glue-efi"> 162 <primary sortas="b-grub-glue-efi">grub-glue-efi</primary> 139 163 </indexterm> 140 164 </listitem> … … 162 186 </varlistentry> 163 187 188 <varlistentry id="grub-macbless"> 189 <term><command>grub-macbless</command></term> 190 <listitem> 191 <para>Mac-style bless on HFS or HFS+ files</para> 192 <indexterm zone="ch-system-grub grub-macbless"> 193 <primary sortas="b-grub-macbless">grub-macbless</primary> 194 </indexterm> 195 </listitem> 196 </varlistentry> 197 164 198 <varlistentry id="grub-menulst2cfg"> 165 199 <term><command>grub-menulst2cfg</command></term> … … 284 318 </varlistentry> 285 319 320 <varlistentry id="grub-render-label"> 321 <term><command>grub-render-label</command></term> 322 <listitem> 323 <para>Render Apple .disk_label for Apple Macs</para> 324 <indexterm zone="ch-system-grub grub-render-label"> 325 <primary sortas="b-grub-render-label">grub-render-label</primary> 326 </indexterm> 327 </listitem> 328 </varlistentry> 329 286 330 <varlistentry id="grub-script-check"> 287 331 <term><command>grub-script-check</command></term> … … 314 358 </varlistentry> 315 359 360 <varlistentry id="grub-syslinux2cfg"> 361 <term><command>grub-syslinux2cfg</command></term> 362 <listitem> 363 <para>Transform a syslinux config file into grub.cfg format</para> 364 <indexterm zone="ch-system-grub grub-syslinux2cfg"> 365 <primary sortas="b-grub-syslinux2cfg">grub-syslinux2cfg</primary> 366 </indexterm> 367 </listitem> 368 </varlistentry> 369 316 370 </variablelist> 317 371 -
chapter06/gzip.xml
r6eb40d4 r131c907 72 72 73 73 <seglistitem> 74 <seg>gunzip, gzexe, gzip, uncompress , zcat, zcmp, zdiff, zegrep, zfgrep,75 z force, zgrep, zless, zmore, and znew</seg>74 <seg>gunzip, gzexe, gzip, uncompress (hard link with gunzip), zcat, zcmp, 75 zdiff, zegrep, zfgrep, zforce, zgrep, zless, zmore, and znew</seg> 76 76 </seglistitem> 77 77 </segmentedlist> -
chapter06/inetutils.xml
r6eb40d4 r131c907 110 110 111 111 <screen><userinput remap="test">make check</userinput></screen> 112 <!-- 112 113 <para>One test, <emphasis>libls.sh</emphasis>, is known to fail due to hard 113 114 coding of some support program paths. All tests pass if the tests are rerun 114 115 at the end of Chapter 6.</para> 115 116 --> 116 117 <para>Install the package:</para> 117 118 … … 133 134 134 135 <seglistitem> 135 <seg> ftp, ifconfig, hostname, ping, ping6, rcp, rexec, rlogin,136 rsh,talk, telnet, tftp, and traceroute</seg>136 <seg>dnsdomainname, ftp, ifconfig, hostname, ping, ping6, 137 talk, telnet, tftp, and traceroute</seg> 137 138 </seglistitem> 138 139 </segmentedlist> … … 143 144 <?dbhtml list-presentation="table"?> 144 145 146 <varlistentry id="dnsdomainname"> 147 <term><command>dnsdomainname</command></term> 148 <listitem> 149 <para>Show the system's DNS domain name</para> 150 <indexterm zone="ch-system-inetutils dnsdomainname"> 151 <primary sortas="b-dnsdomainname">dnsdomainname</primary> 152 </indexterm> 153 </listitem> 154 </varlistentry> 155 145 156 <varlistentry id="ftp"> 146 157 <term><command>ftp</command></term> … … 153 164 </varlistentry> 154 165 166 <varlistentry id="hostname"> 167 <term><command>hostname</command></term> 168 <listitem> 169 <para>Reports or sets the name of the host</para> 170 <indexterm zone="ch-system-inetutils hostname"> 171 <primary sortas="b-hostname">hostname</primary> 172 </indexterm> 173 </listitem> 174 </varlistentry> 175 155 176 <varlistentry id="ifconfig"> 156 177 <term><command>ifconfig</command></term> … … 160 181 <primary sortas="b-ifconfig">ifconfig</primary> 161 182 </indexterm> 162 </listitem>163 </varlistentry>164 165 <varlistentry id="hostname">166 <term><command>hostname</command></term>167 <listitem>168 <para>Reports or sets the name of the host</para>169 <indexterm zone="ch-system-inetutils hostname">170 <primary sortas="b-hostname">hostname</primary>171 </indexterm>172 183 </listitem> 173 184 </varlistentry> -
chapter06/kbd.xml
r6eb40d4 r131c907 134 134 mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to 135 135 psfxtable), psfstriptable (link to psfxtable), psfxtable, <!--resizecons,--> 136 setfont, setkeycodes, setleds, setmetamode, 136 setfont, setkeycodes, setleds, setmetamode, setvtrgb, 137 137 showconsolefont, showkey, unicode_start, and unicode_stop</seg> 138 138 <seg>/usr/share/consolefonts, /usr/share/consoletrans, /usr/share/keymaps, 139 and /usr/share/unimaps</seg>139 /usr/share/doc/kbd-&kbd-version;, and /usr/share/unimaps</seg> 140 140 </seglistitem> 141 141 </segmentedlist> … … 310 310 </varlistentry> 311 311 312 <!--<varlistentry id="resizecons">313 <term><command>resizecons</command></term>314 <listitem>315 <para>Changes the kernel idea of the console size</para>316 <indexterm zone="ch-system-kbd resizecons">317 <primary sortas="b-resizecons">resizecons</primary>318 </indexterm>319 </listitem>320 </varlistentry>-->321 322 312 <varlistentry id="setfont"> 323 313 <term><command>setfont</command></term> … … 358 348 <indexterm zone="ch-system-kbd setmetamode"> 359 349 <primary sortas="b-setmetamode">setmetamode</primary> 350 </indexterm> 351 </listitem> 352 </varlistentry> 353 354 <varlistentry id="setvtrgb"> 355 <term><command>setvtrgb</command></term> 356 <listitem> 357 <para>Sets the console color map in all virtual terminals</para> 358 <indexterm zone="ch-system-kbd setvtrgb"> 359 <primary sortas="b-setvtrgb">setvtrgb</primary> 360 360 </indexterm> 361 361 </listitem> -
chapter06/libcap.xml
r6eb40d4 r131c907 92 92 <seglistitem> 93 93 <seg>capsh, getcap, getpcaps, and setcap</seg> 94 <seg>libcap. {a,so}</seg>94 <seg>libcap.so</seg> 95 95 </seglistitem> 96 96 </segmentedlist> -
chapter06/libtool.xml
r6eb40d4 r131c907 76 76 <seglistitem> 77 77 <seg>libtool and libtoolize</seg> 78 <seg>libltdl. {a,so}</seg>78 <seg>libltdl.so</seg> 79 79 <seg>/usr/include/libltdl and /usr/share/libtool</seg> 80 80 </seglistitem> -
chapter06/man-db.xml
r6eb40d4 r131c907 284 284 <seglistitem> 285 285 <seg>accessdb, apropos (link to whatis), catman, lexgrog, man, mandb, 286 manpath, whatis, and zsoelim</seg>286 manpath, and whatis</seg> 287 287 <seg>libman.so and libmandb.so</seg> 288 <seg>/usr/lib/man-db, /usr/lib exec/man-db,288 <seg>/usr/lib/man-db, /usr/lib/tmpfiles.d, /usr/libexec/man-db, 289 289 and /usr/share/doc/man-db-&man-db-version;</seg> 290 290 </seglistitem> … … 384 384 </varlistentry> 385 385 386 <varlistentry id="zsoelim">387 <term><command>zsoelim</command></term>388 <listitem>389 <para>Reads files and replaces lines of the form <emphasis>.so390 file</emphasis> by the contents of the mentioned391 <emphasis>file</emphasis></para>392 <indexterm zone="ch-system-man-db zsoelim">393 <primary sortas="b-zsoelim">zsoelim</primary>394 </indexterm>395 </listitem>396 </varlistentry>397 398 386 <varlistentry id="libman"> 399 387 <term><filename class="libraryfile">libman</filename></term> -
chapter06/mpc.xml
r6eb40d4 r131c907 74 74 75 75 <seglistitem> 76 <seg>libmpc. {a,so}</seg>76 <seg>libmpc.so</seg> 77 77 <seg>/usr/share/doc/mpc-&mpc-version;</seg> 78 78 </seglistitem> -
chapter06/mpfr.xml
r6eb40d4 r131c907 84 84 85 85 <seglistitem> 86 <seg>libmpfr. {a,so}</seg>86 <seg>libmpfr.so</seg> 87 87 <seg>/usr/share/doc/mpfr-&mpfr-version;</seg> 88 88 </seglistitem> -
chapter06/ncurses.xml
r6eb40d4 r131c907 175 175 infocmp, 176 176 infotocap (link to tic), 177 ncursesw 5-config,177 ncursesw6-config, 178 178 reset (link to tset), 179 179 tabs, … … 188 188 libmenuw.so, 189 189 libncursesw.so, 190 libncurses++w.a, 190 191 libpanelw.so, and their non-wide-character counterparts without "w" 191 192 in the library names.</seg> … … 243 244 </varlistentry> 244 245 245 <varlistentry id="ncursesw 5-config">246 <term><command>ncursesw 5-config</command></term>246 <varlistentry id="ncursesw6-config"> 247 <term><command>ncursesw6-config</command></term> 247 248 <listitem> 248 249 <para>Provides configuration information for ncurses</para> 249 <indexterm zone="ch-system-ncurses ncursesw 5-config">250 <primary sortas="b-ncursesw5-config">ncursesw 5-config</primary>250 <indexterm zone="ch-system-ncurses ncursesw6-config"> 251 <primary sortas="b-ncursesw5-config">ncursesw6-config</primary> 251 252 </indexterm> 252 253 </listitem> -
chapter06/perl.xml
r6eb40d4 r131c907 136 136 137 137 <seglistitem> 138 <seg>a2p, c2ph, corelist, cpan, cpan2dist, cpanp, 139 cpanp-run-perl, enc2xs, find2perl, h2ph, h2xs, 140 instmodsh, json_pp, libnetcfg, perl, perl&perl-version; (link to perl), 141 perlbug, perldoc, perlivp, perlthanks (link to perlbug), piconv, pl2pm, 142 pod2html, pod2latex, pod2man, pod2text, pod2usage, podchecker, 143 podselect, prove, psed (link to s2p), pstruct (link to c2ph), ptar, 144 ptardiff, ptargrep, s2p, shasum, splain, xsubpp, and zipdetails</seg> 145 <seg>Several hundred which cannot all be listed here</seg> 138 <seg>c2ph, corelist, cpan, enc2xs, encguess, h2ph, h2xs, instmodsh, 139 json_pp, libnetcfg, perl, perl&perl-version; (hard link to perl), 140 perlbug, perldoc, perlivp, perlthanks (hard link to perlbug), piconv, 141 pl2pm, pod2html, pod2man, pod2text, pod2usage, podchecker, podselect, 142 prove, pstruct (hard link to c2ph), ptar, ptardiff, ptargrep, shasum, 143 splain, xsubpp, and zipdetails</seg> 144 <seg>Many which cannot all be listed here</seg> 146 145 <seg>/usr/lib/perl5</seg> 147 146 </seglistitem> … … 233 232 <indexterm zone="ch-system-perl enc2xs"> 234 233 <primary sortas="b-enc2xs">enc2xs</primary> 234 </indexterm> 235 </listitem> 236 </varlistentry> 237 238 <varlistentry id="encguess"> 239 <term><command>encguess</command></term> 240 <listitem> 241 <para>Guess the encoding type of one or several files</para> 242 <indexterm zone="ch-system-perl encguess"> 243 <primary sortas="b-encguess">encguess</primary> 235 244 </indexterm> 236 245 </listitem> … … 473 482 </varlistentry> 474 483 475 <varlistentry id="psed">476 <term><command>psed</command></term>477 <listitem>478 <para>A Perl version of the stream editor <command>sed</command></para>479 <indexterm zone="ch-system-perl psed">480 <primary sortas="b-psed">psed</primary>481 </indexterm>482 </listitem>483 </varlistentry>484 485 484 <varlistentry id="pstruct"> 486 485 <term><command>pstruct</command></term> -
chapter06/procps.xml
r6eb40d4 r131c907 48 48 --docdir=/usr/share/doc/procps-ng-&procps-ng-version; \ 49 49 --disable-static \ 50 --disable-kill</userinput></screen> 50 --disable-kill \ 51 --with-systemd</userinput></screen> 51 52 52 53 <variablelist> -
chapter06/readline.xml
r6eb40d4 r131c907 106 106 107 107 <seglistitem> 108 <seg>libhistory. {a,so} and libreadline.{a,so}</seg>108 <seg>libhistory.so and libreadline.so</seg> 109 109 <seg>/usr/include/readline, /usr/share/readline, and 110 110 /usr/share/doc/readline-&readline-version;</seg> -
chapter06/revisedchroot.xml
r6eb40d4 r131c907 47 47 remove them now:</para> 48 48 49 <screen><userinput>rm /usr/lib/lib{bfd,opcodes}.a 50 rm /usr/lib/libbz2.a 51 rm /usr/lib/lib{com_err,e2p,ext2fs,ss}.a 52 <!--rm /usr/lib/lib{fl,fl_pic}.a 53 -->rm /usr/lib/libltdl.a 54 rm /usr/lib/libz.a</userinput></screen> 49 <screen><userinput>rm -f /usr/lib/lib{bfd,opcodes}.a 50 rm -f /usr/lib/libbz2.a 51 rm -f /usr/lib/lib{com_err,e2p,ext2fs,ss}.a 52 rm -f /usr/lib/libltdl.a 53 rm -f /usr/lib/libz.a</userinput></screen> 55 54 56 55 <!-- Flex shared library is broken. Keep static until next flex release. --> -
chapter06/shadow.xml
r6eb40d4 r131c907 148 148 group ID (GID) numbers will begin with 1000. This means if you don't pass 149 149 parameters to <command>useradd</command>, each user will be a member of a 150 unique group on the system. If this behavio ur is undesirable, you'll need150 unique group on the system. If this behavior is undesirable, you'll need 151 151 to pass the <parameter>-g</parameter> parameter to 152 152 <command>useradd</command>. The default parameters are stored in the … … 212 212 <seg>chage, chfn, chgpasswd, chpasswd, chsh, expiry, faillog, gpasswd, 213 213 groupadd, groupdel, groupmems, groupmod, grpck, grpconv, grpunconv, 214 lastlog, login, logoutd, newg rp, newusers, nologin, passwd, pwck,215 pwconv, pwunconv, sg (link to newgrp), su, useradd, userdel, usermod,216 vigr (link to vipw), and vipw</seg>214 lastlog, login, logoutd, newgidmap, newgrp,newuidmap, newusers, 215 nologin, passwd, pwck, pwconv, pwunconv, sg (link to newgrp), su, 216 useradd, userdel, usermod, vigr (link to vipw), and vipw</seg> 217 217 <seg>/etc/default</seg> 218 218 </seglistitem> … … 415 415 </varlistentry> 416 416 417 <varlistentry id="newgidmap"> 418 <term><command>newgidmap</command></term> 419 <listitem> 420 <para>Is used to set the gid mapping of a user namespace</para> 421 <indexterm zone="ch-system-shadow newgidmap"> 422 <primary sortas="b-newgidmap">newgidmap</primary> 423 </indexterm> 424 </listitem> 425 </varlistentry> 426 417 427 <varlistentry id="newgrp"> 418 428 <term><command>newgrp</command></term> … … 421 431 <indexterm zone="ch-system-shadow newgrp"> 422 432 <primary sortas="b-newgrp">newgrp</primary> 433 </indexterm> 434 </listitem> 435 </varlistentry> 436 437 <varlistentry id="newuidmap"> 438 <term><command>newuidmap</command></term> 439 <listitem> 440 <para>Is used to set the uid mapping of a user namespace</para> 441 <indexterm zone="ch-system-shadow newuidmap"> 442 <primary sortas="b-newuidmap">newuidmap</primary> 423 443 </indexterm> 424 444 </listitem> -
chapter06/systemd.xml
r6eb40d4 r131c907 42 42 43 43 <para>First, create a file to allow systemd to build when using Util-Linux 44 built in Chapter 5 and disable LTO by default:</para> 44 built in Chapter 5, to disable LTO by default, and to build without 45 xlstproc:</para> 45 46 46 47 <screen><userinput remap="pre">cat > config.cache << "EOF" … … 54 55 MOUNT_LIBS="-lmount" 55 56 MOUNT_CFLAGS="-I/tools/include/libmount" 56 cc_cv_CFLAGS__flto=no</literal> 57 cc_cv_CFLAGS__flto=no 58 XSLTPROC="/usr/bin/xsltproc"</literal> 57 59 EOF</userinput></screen> 58 60 -
chapter06/tar.xml
r6eb40d4 r131c907 77 77 <screen><userinput remap="install">make install 78 78 make -C doc install-html docdir=/usr/share/doc/tar-&tar-version;</userinput></screen> 79 <!--80 <para>Finally, generate the man page and place it in the proper location:</para>81 82 <screen><userinput remap="install">perl tarman > /usr/share/man/man1/tar.1</userinput></screen>83 -->84 79 </sect2> 85 80 … … 93 88 94 89 <seglistitem> 95 <seg> rmt andtar</seg>90 <seg>tar</seg> 96 91 <seg>/usr/share/doc/tar-&tar-version;</seg> 97 92 </seglistitem> … … 102 97 <?dbfo list-presentation="list"?> 103 98 <?dbhtml list-presentation="table"?> 104 105 <varlistentry id="rmt">106 <term><command>rmt</command></term>107 <listitem>108 <para>Remotely manipulates a magnetic109 tape drive through an interprocess communication connection</para>110 <indexterm zone="ch-system-tar rmt">111 <primary sortas="b-rmt">rmt</primary>112 </indexterm>113 </listitem>114 </varlistentry>115 99 116 100 <varlistentry id="tar"> -
chapter06/texinfo.xml
r6eb40d4 r131c907 102 102 103 103 <seglistitem> 104 <seg>info, in fokey, install-info, makeinfo (link to texi2any),104 <seg>info, install-info, makeinfo (link to texi2any), 105 105 pdftexi2dvi, pod2texi, texi2any, texi2dvi, texi2pdf, and texindex</seg> 106 106 <seg>/usr/share/texinfo</seg> … … 126 126 </varlistentry> 127 127 128 <varlistentry id="infokey">129 <term><command>infokey</command></term>130 <listitem>131 <para>Compiles a source file containing Info customizations into a132 binary format</para>133 <indexterm zone="ch-system-texinfo infokey">134 <primary sortas="b-infokey">infokey</primary>135 </indexterm>136 </listitem>137 </varlistentry>138 139 128 <varlistentry id="install-info"> 140 129 <term><command>install-info</command></term> -
chapter06/util-linux.xml
r6eb40d4 r131c907 122 122 i386, ionice, ipcmk, ipcrm, ipcs, isosize, kill, last, lastb (link to 123 123 last), ldattach, linux32, linux64, logger, look, losetup, lsblk, lscpu, 124 ls locks, lslogins, mcookie, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap,125 more, mount, mountpoint, namei, partx, pg, pivot_root, prlimit, raw,124 lsipc, lslocks, lslogins, mcookie, mesg, mkfs, mkfs.bfs, mkfs.cramfs, mkfs.minix, mkswap, 125 more, mount, mountpoint, namei, nsenter, partx, pg, pivot_root, prlimit, raw, 126 126 readprofile, rename, renice, resizepart, rev, rtcwake, script, 127 127 scriptreplay, setarch, setsid, setterm, sfdisk, sulogin, swaplabel, 128 128 swapoff (link to swapon), swapon, switch_root, tailf, taskset, ul, 129 umount, un share, utmpdump, uuidd, uuidgen, wall, wdctl, whereis,129 umount, uname26, unshare, utmpdump, uuidd, uuidgen, wall, wdctl, whereis, 130 130 wipefs, x86_64, and zramctl</seg> 131 <seg>libblkid.{a,so}, libfdisk.{a,so}, libmount.{a,so}, 132 libsmartcols.{a,so}, and libuuid.{a,so}</seg> 133 <seg>/etc/terminal-colors.d, /usr/include/blkid, /usr/include/libmount, 134 /usr/include/uuid, /usr/share/doc/util-linux-&util-linux-version;/getopt, 135 and /var/lib/hwclock</seg> 131 <seg>libblkid.so, libfdisk.so, libmount.so, 132 libsmartcols.so, and libuuid.so</seg> 133 <seg>/usr/include/blkid, 134 /usr/include/libfdisk, 135 /usr/include/libmount, 136 /usr/include/libsmartcols, 137 /usr/include/uuid, 138 /usr/share/doc/util-linux-&util-linux-version;, 139 and /var/lib/hwclock</seg> 136 140 </seglistitem> 137 141 </segmentedlist> … … 340 344 <term><command>fdisk</command></term> 341 345 <listitem> 342 <para>Manipulates the par itition table of the given device</para>346 <para>Manipulates the partition table of the given device</para> 343 347 <indexterm zone="ch-system-util-linux fdisk"> 344 348 <primary sortas="b-fdisk">fdisk</primary> … … 640 644 </varlistentry> 641 645 646 <varlistentry id="lsipc"> 647 <term><command>lsipc</command></term> 648 <listitem> 649 <para>Prints information on IPC facilities currently employed 650 in the system</para> 651 <indexterm zone="ch-system-util-linux lsipc"> 652 <primary sortas="b-lsipc">lsipc</primary> 653 </indexterm> 654 </listitem> 655 </varlistentry> 656 642 657 <varlistentry id="lslocks"> 643 658 <term><command>lslocks</command></term> … … 1056 1071 </varlistentry> 1057 1072 1073 <varlistentry id="uname26"> 1074 <term><command>uname26</command></term> 1075 <listitem> 1076 <para>A symbolic link to setarch</para> 1077 <indexterm zone="ch-system-util-linux uname26"> 1078 <primary sortas="b-uname26">uname26</primary> 1079 </indexterm> 1080 </listitem> 1081 </varlistentry> 1082 1058 1083 <varlistentry id="unshare"> 1059 1084 <term><command>unshare</command></term> -
chapter06/xz.xml
r6eb40d4 r131c907 44 44 <sect2 role="installation"> 45 45 <title>Installation of Xz</title> 46 47 <para>First, fix an internal problem:</para> 48 49 <screen><userinput remap="pre">sed -e '/mf\.buffer = NULL/a next->coder->mf.size = 0;' \ 50 -i src/liblzma/lz/lz_encoder.c</userinput></screen> 51 52 46 53 47 54 <para>Prepare Xz for compilation with:</para>
Note:
See TracChangeset
for help on using the changeset viewer.