瀏覽代碼

Merge latest lfs svn

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10446 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Krejzi 11 年之前
父節點
當前提交
848907cdbf
共有 7 個文件被更改,包括 71 次插入37 次删除
  1. 30 0
      chapter01/changelog.xml
  2. 1 1
      chapter06/chroot.xml
  3. 7 6
      chapter06/gcc.xml
  4. 20 23
      chapter06/inetutils.xml
  5. 8 2
      chapter06/revisedchroot.xml
  6. 2 2
      general.ent
  7. 3 3
      packages.ent

+ 30 - 0
chapter01/changelog.xml

@@ -35,6 +35,36 @@
       </itemizedlist>
       </itemizedlist>
     </listitem>
     </listitem>
 -->
 -->
+    <listitem>
+      <para>2014-01-17</para>
+      <itemizedlist>
+        <listitem>
+          <para>[krejzi] - Merge LFS SVN-20140114 book.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>2014-01-14</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Update to inetutils-1.9.2 and remove
+          referece to old BLFS page. Fixes
+          <ulink url="&lfs-ticket-root;3471">#3471</ulink> and
+          <ulink url="&lfs-ticket-root;3473">#3473</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Fix hardcoded reference to /tools in
+          Chapter 6 glibc.  Fixes
+          <ulink url="&lfs-ticket-root;3466">#3466</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Clean up /run and /tmp.  Fixes
+          <ulink url="&lfs-ticket-root;3463">#3463</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
     <listitem>
       <para>2014-01-10</para>
       <para>2014-01-10</para>
       <itemizedlist>
       <itemizedlist>

+ 1 - 1
chapter06/chroot.xml

@@ -15,7 +15,7 @@
   class="username">root</systemitem>, run the following command to enter the
   class="username">root</systemitem>, run the following command to enter the
   realm that is, at the moment, populated with only the temporary tools:</para>
   realm that is, at the moment, populated with only the temporary tools:</para>
 
 
-<screen><userinput>chroot "$LFS" /tools/bin/env -i \
+<screen role="nodump"><userinput>chroot "$LFS" /tools/bin/env -i \
     HOME=/root                  \
     HOME=/root                  \
     TERM="$TERM"                \
     TERM="$TERM"                \
     PS1='\u:\w\$ '              \
     PS1='\u:\w\$ '              \

+ 7 - 6
chapter06/gcc.xml

@@ -70,7 +70,8 @@ cd ../gcc-build</userinput></screen>
 
 
     <para>Prepare GCC for compilation:</para>
     <para>Prepare GCC for compilation:</para>
 
 
-<screen><userinput remap="configure">../gcc-&gcc-version;/configure --prefix=/usr               \
+<screen><userinput remap="configure">SED=sed                                            \
+../gcc-&gcc-version;/configure --prefix=/usr               \
                        --libexecdir=/usr/lib       \
                        --libexecdir=/usr/lib       \
                        --enable-shared             \
                        --enable-shared             \
                        --enable-threads=posix      \
                        --enable-threads=posix      \
@@ -87,15 +88,15 @@ cd ../gcc-build</userinput></screen>
 
 
     <variablelist>
     <variablelist>
       <title>The meaning of the new configure option:</title>
       <title>The meaning of the new configure option:</title>
-<!--
+
       <varlistentry>
       <varlistentry>
-        <term><parameter>- -disable-install-libiberty</parameter></term>
+        <term><envar>SED=sed</envar></term>
         <listitem>
         <listitem>
-          <para>This prevents GCC from installing its own copy of libiberty,
-          which is already provided by Binutils-&binutils-version;.</para>
+          <para>Setting this environment variable prevents a hard-coded
+          path to /tools/bin/sed.</para>
         </listitem>
         </listitem>
       </varlistentry>
       </varlistentry>
--->
+ 
       <varlistentry>
       <varlistentry>
         <term><parameter>--with-system-zlib</parameter></term>
         <term><parameter>--with-system-zlib</parameter></term>
         <listitem>
         <listitem>

+ 20 - 23
chapter06/inetutils.xml

@@ -40,16 +40,16 @@
   <sect2 role="installation">
   <sect2 role="installation">
     <title>Installation of Inetutils</title>
     <title>Installation of Inetutils</title>
 
 
-    <para>Fix an incompatibility between this package and Glibc-&glibc-version;</para>
+    <para>Create a definition to allow the <command>ifconfig</command> program
+    to build properly.</para>
 
 
-<screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen>
+<screen><userinput remap="pre">echo '#define PATH_PROCNET_DEV "/proc/net/dev"' &gt;&gt; ifconfig/system/linux.h </userinput></screen>
 
 
     <para>Prepare Inetutils for compilation:</para>
     <para>Prepare Inetutils for compilation:</para>
 
 
 <screen><userinput remap="configure">./configure --prefix=/usr  \
 <screen><userinput remap="configure">./configure --prefix=/usr  \
     --libexecdir=/usr/sbin \
     --libexecdir=/usr/sbin \
     --localstatedir=/var   \
     --localstatedir=/var   \
-    --disable-ifconfig     \
     --disable-logger       \
     --disable-logger       \
     --disable-syslogd      \
     --disable-syslogd      \
     --disable-whois        \
     --disable-whois        \
@@ -58,16 +58,6 @@
     <variablelist>
     <variablelist>
       <title>The meaning of the configure options:</title>
       <title>The meaning of the configure options:</title>
 
 
-      <varlistentry>
-        <term><parameter>--disable-ifconfig</parameter></term>
-        <listitem>
-          <para>This option prevents Inetutils from installing the
-          <command>ifconfig</command> program, which can be used to configure network
-          interfaces. LFS uses <command>ip</command> from IPRoute2 to perform
-          this task.</para>
-        </listitem>
-      </varlistentry>
-
       <varlistentry>
       <varlistentry>
         <term><parameter>--disable-logger</parameter></term>
         <term><parameter>--disable-logger</parameter></term>
         <listitem>
         <listitem>
@@ -101,8 +91,7 @@
           <para>This disables the installation of the various network servers
           <para>This disables the installation of the various network servers
           included as part of the Inetutils package. These servers are deemed not
           included as part of the Inetutils package. These servers are deemed not
           appropriate in a basic LFS system. Some are insecure by nature and are
           appropriate in a basic LFS system. Some are insecure by nature and are
-          only considered safe on trusted networks. More information can be found
-          at <ulink url="&blfs-root;view/svn/basicnet/inetutils.html"/>. Note that
+          only considered safe on trusted networks. Note that
           better replacements are available for many of these servers.</para>
           better replacements are available for many of these servers.</para>
         </listitem>
         </listitem>
       </varlistentry>
       </varlistentry>
@@ -120,14 +109,12 @@
     <para>Install the package:</para>
     <para>Install the package:</para>
 
 
 <screen><userinput remap="install">make install</userinput></screen>
 <screen><userinput remap="install">make install</userinput></screen>
-<!-- The html file generation is broken as of texinfo-5.0
-make -C doc html
-make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version;</userinput></screen>
--->
+
     <para>Move some programs so they are available if <filename
     <para>Move some programs so they are available if <filename
     class='directory'>/usr</filename> is not accessible:</para>
     class='directory'>/usr</filename> is not accessible:</para>
 
 
-<screen><userinput remap="install">mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin</userinput></screen>
+<screen><userinput remap="install">mv -v /usr/bin/{hostname,ping,ping6,traceroute} /bin
+mv -v /usr/bin/ifconfig /sbin</userinput></screen>
 
 
   </sect2>
   </sect2>
 
 
@@ -138,8 +125,8 @@ make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version;</us
       <segtitle>Installed programs</segtitle>
       <segtitle>Installed programs</segtitle>
 
 
       <seglistitem>
       <seglistitem>
-        <seg>ftp, hostname, ping, ping6, rcp, rexec, rlogin, rsh, talk, telnet,
-        tftp, and traceroute</seg>
+        <seg>ftp, ifconfig, hostname, ping, ping6, rcp, rexec, rlogin, 
+        rsh, talk, telnet, tftp, and traceroute</seg>
       </seglistitem>
       </seglistitem>
     </segmentedlist>
     </segmentedlist>
 
 
@@ -158,6 +145,16 @@ make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version;</us
         </listitem>
         </listitem>
       </varlistentry>
       </varlistentry>
 
 
+      <varlistentry id="ifconfig">
+        <term><command>ifconfig</command></term>
+        <listitem>
+        <para>Manages network interfaces</para>
+        <indexterm zone="ch-system-inetutils ifconfig">
+          <primary sortas="b-ifconfig">ifconfig</primary>
+        </indexterm>
+        </listitem>
+      </varlistentry>
+
       <varlistentry id="hostname">
       <varlistentry id="hostname">
         <term><command>hostname</command></term>
         <term><command>hostname</command></term>
         <listitem>
         <listitem>
@@ -202,7 +199,7 @@ make -C doc install-html docdir=/usr/share/doc/inetutils-&inetutils-version;</us
       <varlistentry id="rexec">
       <varlistentry id="rexec">
         <term><command>rexec</command></term>
         <term><command>rexec</command></term>
         <listitem>
         <listitem>
-          <para>executes commands on a remote host</para>
+          <para>Executes commands on a remote host</para>
           <indexterm zone="ch-system-inetutils rexec">
           <indexterm zone="ch-system-inetutils rexec">
             <primary sortas="b-rexec">rexec</primary>
             <primary sortas="b-rexec">rexec</primary>
           </indexterm>
           </indexterm>

+ 8 - 2
chapter06/revisedchroot.xml

@@ -10,12 +10,16 @@
 
 
   <title>Cleaning Up</title>
   <title>Cleaning Up</title>
 
 
+  <para>Finally, clean up some extra files left around from running tests:</para>
+
+<screen><userinput>rm -rf /run/* /tmp/*</userinput></screen>
+
   <para>From now on, when reentering the chroot environment after
   <para>From now on, when reentering the chroot environment after
   exiting, use the following modified chroot command:</para>
   exiting, use the following modified chroot command:</para>
 
 
-<screen><userinput>chroot "$LFS" /usr/bin/env -i \
+<screen role="nodump"><userinput>chroot "$LFS" /usr/bin/env -i              \
     HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
     HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
-    PATH=/bin:/usr/bin:/sbin:/usr/sbin \
+    PATH=/bin:/usr/bin:/sbin:/usr/sbin     \
     /bin/bash --login</userinput></screen>
     /bin/bash --login</userinput></screen>
 
 
   <para>The reason for this is that the programs in <filename
   <para>The reason for this is that the programs in <filename
@@ -31,6 +35,8 @@
     instructions for this (see <ulink url="&blfs-root;"/>).</para>
     instructions for this (see <ulink url="&blfs-root;"/>).</para>
   </note>
   </note>
 
 
+<screen role="nodump"><userinput>rm -rf /tools</userinput></screen>
+
   <para>If the virtual kernel file systems have been unmounted, either manually
   <para>If the virtual kernel file systems have been unmounted, either manually
   or through a reboot, ensure that the virtual kernel file systems are mounted
   or through a reboot, ensure that the virtual kernel file systems are mounted
   when reentering the chroot. This process was explained in <xref
   when reentering the chroot. This process was explained in <xref

+ 2 - 2
general.ent

@@ -1,5 +1,5 @@
-<!ENTITY version         "SYSTEMD-20140110">
-<!ENTITY releasedate     "January 10, 2014">
+<!ENTITY version         "SYSTEMD-20140117">
+<!ENTITY releasedate     "January 17, 2014">
 <!ENTITY copyrightdate   "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY copyrightdate   "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "7.5">
 <!ENTITY milestone       "7.5">
 <!ENTITY generic-version "systemd"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
 <!ENTITY generic-version "systemd"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

+ 3 - 3
packages.ent

@@ -310,10 +310,10 @@
 <!ENTITY iana-etc-ch6-du "2.2 MB">
 <!ENTITY iana-etc-ch6-du "2.2 MB">
 <!ENTITY iana-etc-ch6-sbu "less than 0.1 SBU">
 <!ENTITY iana-etc-ch6-sbu "less than 0.1 SBU">
 
 
-<!ENTITY inetutils-version "1.9.1">
-<!ENTITY inetutils-size "1,941 KB">
+<!ENTITY inetutils-version "1.9.2">
+<!ENTITY inetutils-size "2,188 KB">
 <!ENTITY inetutils-url "&gnu;inetutils/inetutils-&inetutils-version;.tar.gz">
 <!ENTITY inetutils-url "&gnu;inetutils/inetutils-&inetutils-version;.tar.gz">
-<!ENTITY inetutils-md5 "944f7196a2b3dba2d400e9088576000c">
+<!ENTITY inetutils-md5 "aa1a9a132259db83e66c1f3265065ba2">
 <!ENTITY inetutils-home "&gnu-software;inetutils/">
 <!ENTITY inetutils-home "&gnu-software;inetutils/">
 <!ENTITY inetutils-ch6-du "27 MB">
 <!ENTITY inetutils-ch6-du "27 MB">
 <!ENTITY inetutils-ch6-sbu "0.4 SBU">
 <!ENTITY inetutils-ch6-sbu "0.4 SBU">