Эх сурвалжийг харах

Copy all entries in /lib/udev/devices to /dev in mountvirtfs.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9868 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 13 жил өмнө
parent
commit
9a70048e12

+ 3 - 0
bootscripts/ChangeLog

@@ -1,3 +1,6 @@
+2012-05-30 Bruce Dubbs <bdubbs@linuxfromscratch.org>
+   * Copy all entries in /lib/udev/devices to /dev in mounvirtfs
+
 2012-05-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
    * Remove mkdir from mountvirtfs because fs is read only
 

+ 3 - 4
bootscripts/lfs/init.d/mountvirtfs

@@ -53,12 +53,11 @@ case "${1}" in
          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

+ 5 - 0
chapter01/changelog.xml

@@ -39,6 +39,11 @@
     <listitem>
       <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>

+ 1 - 1
packages.ent

@@ -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 -->