浏览代码

Add an instruction to the eudev install to create the initial
/etc/udev/hwdb.bin file.

Update to tzdata-2014i.
Update to util-linux-2.25.2.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10779 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Bruce Dubbs 10 年之前
父节点
当前提交
96e9f0bd0a
共有 9 个文件被更改,包括 63 次插入18 次删除
  1. 1 1
      appendices/dependencies.xml
  2. 18 0
      chapter01/changelog.xml
  3. 2 2
      chapter01/whatsnew.xml
  4. 12 0
      chapter06/coreutils.xml
  5. 4 2
      chapter06/eudev.xml
  6. 1 1
      chapter06/gmp.xml
  7. 17 4
      chapter06/util-linux.xml
  8. 2 2
      general.ent
  9. 6 6
      packages.ent

+ 1 - 1
appendices/dependencies.xml

@@ -2440,7 +2440,7 @@
         <segtitle>&external;</segtitle>
 
         <seglistitem>
-          <seg>None</seg>
+          <seg><ulink url="https://people.redhat.com/sgrubb/libcap-ng/">libcap-ng</ulink></seg>
         </seglistitem>
       </segmentedlist>
 

+ 18 - 0
chapter01/changelog.xml

@@ -35,6 +35,24 @@
       </itemizedlist>
     </listitem>
 -->
+    <listitem>
+      <para>2014-10-25</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add an instruction to the eudev install
+          to create the initial /etc/udev/hwdb.bin file.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to tzdata-2014i. Fixes 
+          <ulink url="&lfs-ticket-root;3696">#3696</ulink>.</para>
+        </listitem>
+        <listitem>
+          <para>[bdubbs] - Update to util-linux-2.25.2. Fixes 
+          <ulink url="&lfs-ticket-root;3697">#3697</ulink>.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2014-10-19</para>
       <itemizedlist>

+ 2 - 2
chapter01/whatsnew.xml

@@ -211,9 +211,9 @@
     <listitem>
       <para>Tzdata &tzdata-version;</para>
     </listitem>
-    <!--<listitem>
+    <listitem>
       <para>Util-Linux &util-linux-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Vim &vim-version;</para>
     </listitem>-->

+ 12 - 0
chapter06/coreutils.xml

@@ -71,6 +71,15 @@ touch Makefile.in</userinput></screen>
     <variablelist>
       <title>The meaning of the configure options:</title>
 
+      <varlistentry>
+        <term><envar>FORCE_UNSAFE_CONFIGURE=1</envar></term>
+        <listitem>
+          <para>This environment variable allows the package to be 
+          built as the root user.
+          </para>
+        </listitem>
+      </varlistentry>
+
       <varlistentry>
         <term><parameter>--enable-no-install-program=kill,uptime</parameter></term>
         <listitem>
@@ -112,6 +121,9 @@ touch Makefile.in</userinput></screen>
 <screen><userinput remap="test">su nobody -s /bin/bash \
           -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
 
+    <para>The stty-pairs test is known to fail on a virtual console, but
+    passes if run in a X terminal.</para>
+
     <para>Remove the temporary group:</para>
 
 <screen><userinput remap="test">sed -i '/dummy/d' /etc/group</userinput></screen>

+ 4 - 2
chapter06/eudev.xml

@@ -80,9 +80,11 @@ mkdir -pv /etc/udev/rules.d</userinput></screen>
 
 <screen><userinput remap="test">make check</userinput></screen>
 
-    <para>Install the package:</para>
+    <para>Install the package and creat the initial
+    <filename>/etc/udev/hwdb.bin</filename> file:</para>
 
-<screen><userinput remap="install">make install</userinput></screen>
+<screen><userinput remap="install">make install
+udevadm hwdb --update</userinput></screen>
 
 <para>Now, install the man pages:</para>
 

+ 1 - 1
chapter06/gmp.xml

@@ -67,7 +67,7 @@
       </varlistentry>
 
       <varlistentry>
-        <term><parameter>--docdir=/usr/share/doc-gmp&gmp-version;</parameter></term>
+        <term><parameter>--docdir=/usr/share/doc/gmp&gmp-version;</parameter></term>
         <listitem>
           <para>This variable specifies the correct place for the
           documentation.</para>

+ 17 - 4
chapter06/util-linux.xml

@@ -54,16 +54,29 @@
 
   <sect2 role="installation">
     <title>Installation of Util-linux</title>
-
+<!--
     <para>First, fix one of the regression tests:</para>
 
 <screen><userinput remap="pre">sed -e 's/2^64/(2^64/' -e 's/E &lt;/E) &lt;=/' -e 's/ne /eq /' \
     -i tests/ts/ipcs/limits2</userinput></screen>
-
+-->
     <para>Prepare Util-linux for compilation:</para>
 
-<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
-            --docdir=/usr/share/doc/util-linux-&util-linux-version;</userinput></screen>
+<screen><userinput remap="configure">./configure ADJTIME_PATH=/var/lib/hwclock/adjtime     \
+            --docdir=/usr/share/doc/util-linux-&util-linux-version; \
+            --disable-chfn-chsh  \
+            --disable-login      \
+            --disable-su         \
+            --disable-setpriv    \
+            --disable-runuser    \
+            --disable-pylibmount \
+            --without-python     \
+            --without-systemd    \
+            --without-systemdsystemunitdir</userinput></screen>
+
+    <para>The --disable and --without options prevent warnings about
+    building components that require packages not in LFS or are 
+    inconsistent with programs installed by other packages.</para>
 
     <para>Compile the package:</para>
 

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
-<!ENTITY version         "SVN-20141019">
+<!ENTITY version         "SVN-20141025">
 <!ENTITY short-version   "svn">  <!-- Used in dbus chapter, change to x.y for release -->
-<!ENTITY releasedate     "October 19, 2014">
+<!ENTITY releasedate     "October 25, 2014">
 <!ENTITY copyrightdate   "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone       "7.7">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

+ 6 - 6
packages.ent

@@ -581,10 +581,10 @@
 <!ENTITY texinfo-ch6-du "99 MB">
 <!ENTITY texinfo-ch6-sbu "0.6 SBU">
 
-<!ENTITY tzdata-version "2014h">
-<!ENTITY tzdata-size "280 KB">
+<!ENTITY tzdata-version "2014i">
+<!ENTITY tzdata-size "283 KB">
 <!ENTITY tzdata-url "http://www.iana.org/time-zones/repository/releases/tzdata&tzdata-version;.tar.gz">
-<!ENTITY tzdata-md5 "ed05111948beba8a0f30956baa46b272">
+<!ENTITY tzdata-md5 "00adeb62a0897aac5ba67da838351adb">
 <!ENTITY tzdata-home "http://www.iana.org/time-zones">
 
 <!ENTITY udev-lfs-version "udev-lfs-20140408">
@@ -593,10 +593,10 @@
 <!ENTITY udev-lfs-md5     "c2d6b127f89261513b23b6d458484099">
 <!ENTITY udev-lfs-home    " ">
 
-<!ENTITY util-linux-version "2.25.1">
-<!ENTITY util-linux-size "3,609 KB">
+<!ENTITY util-linux-version "2.25.2">
+<!ENTITY util-linux-size "3,617 KB">
 <!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v2.25/util-linux-&util-linux-version;.tar.xz">
-<!ENTITY util-linux-md5 "2ff36a8f8ede70f66c5ad0fb09e40e79">
+<!ENTITY util-linux-md5 "cab3d7be354000f629bc601238b629b3">
 <!ENTITY util-linux-home "http://freecode.com/projects/util-linux">
 <!ENTITY util-linux-ch5-du "104 MB">
 <!ENTITY util-linux-ch5-sbu "0.7 SBU">