[lfs-book] r9868 - in trunk/BOOK: . bootscripts bootscripts/lfs/init.d chapter01

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Wed May 30 13:49:21 PDT 2012


Author: bdubbs
Date: 2012-05-30 14:49:17 -0600 (Wed, 30 May 2012)
New Revision: 9868

Modified:
   trunk/BOOK/bootscripts/ChangeLog
   trunk/BOOK/bootscripts/lfs/init.d/mountvirtfs
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/packages.ent
Log:
Copy all entries in /lib/udev/devices to /dev in mountvirtfs.


Modified: trunk/BOOK/bootscripts/ChangeLog
===================================================================
--- trunk/BOOK/bootscripts/ChangeLog	2012-05-30 19:38:07 UTC (rev 9867)
+++ trunk/BOOK/bootscripts/ChangeLog	2012-05-30 20:49:17 UTC (rev 9868)
@@ -1,3 +1,6 @@
+2012-05-30 Bruce Dubbs <bdubbs at linuxfromscratch.org>
+   * Copy all entries in /lib/udev/devices to /dev in mounvirtfs
+
 2012-05-24 Bruce Dubbs <bdubbs at linuxfromscratch.org>
    * Remove mkdir from mountvirtfs because fs is read only
 

Modified: trunk/BOOK/bootscripts/lfs/init.d/mountvirtfs
===================================================================
--- trunk/BOOK/bootscripts/lfs/init.d/mountvirtfs	2012-05-30 19:38:07 UTC (rev 9867)
+++ trunk/BOOK/bootscripts/lfs/init.d/mountvirtfs	2012-05-30 20:49:17 UTC (rev 9868)
@@ -53,12 +53,11 @@
          mount -n -o mode=0755,nosuid /dev  || failed=1
       fi
 
+      # Copy devices that Udev >= 155 doesn't handle to /dev
+      cp -a /lib/udev/devices/* /dev
+
       ln -s /run/shm /dev/shm
       
-      # Copy the only static device node that Udev >= 155 doesn't
-      # handle to /dev
-      cp -a /lib/udev/devices/null /dev
-
       (exit ${failed})
       evaluate_retval
       exit $failed

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2012-05-30 19:38:07 UTC (rev 9867)
+++ trunk/BOOK/chapter01/changelog.xml	2012-05-30 20:49:17 UTC (rev 9868)
@@ -40,6 +40,11 @@
       <para>2012-05-30</para>
       <itemizedlist>
          <listitem>
+           <para>[bdubbs] - Copy all entries in /lib/udev/devices to 
+           /dev in mountvirtfs. Fixes 
+           <ulink url="&lfs-ticket-root;3102">#3102</ulink>.</para>
+         </listitem>
+         <listitem>
            <para>[matthew] - Correct the location of various package's man
            pages. Fixes <ulink url="&lfs-ticket-root;3097">#3097</ulink>.</para>
          </listitem>

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent	2012-05-30 19:38:07 UTC (rev 9867)
+++ trunk/BOOK/packages.ent	2012-05-30 20:49:17 UTC (rev 9868)
@@ -302,7 +302,7 @@
 <!ENTITY less-ch6-du "3.5 MB">
 <!ENTITY less-ch6-sbu "less than 0.1 SBU">
 
-<!ENTITY lfs-bootscripts-version "20120524">                 <!-- Scripts depend on this format -->
+<!ENTITY lfs-bootscripts-version "20120530">                 <!-- Scripts depend on this format -->
 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB">         <!-- Updated in Makefile -->
 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
 <!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM">           <!-- Updated in Makefile -->




More information about the lfs-book mailing list