aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/ChangeLog3
-rw-r--r--bootscripts/lfs/init.d/mountvirtfs7
2 files changed, 6 insertions, 4 deletions
diff --git a/bootscripts/ChangeLog b/bootscripts/ChangeLog
index 752d41733..a2eb6c439 100644
--- a/bootscripts/ChangeLog
+++ b/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
diff --git a/bootscripts/lfs/init.d/mountvirtfs b/bootscripts/lfs/init.d/mountvirtfs
index 456e62479..fab73d5b6 100644
--- a/bootscripts/lfs/init.d/mountvirtfs
+++ b/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