From f2ca25f95f0fc67526a4ef102f4f26a851eb9082 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sat, 29 May 2010 10:41:33 +0000 Subject: Upgrade to Udev-156. Fixes #2671. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9294 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- bootscripts/contrib/lsb-v3/ChangeLog | 6 ++++++ bootscripts/contrib/lsb-v3/init.d/udev | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'bootscripts/contrib/lsb-v3') diff --git a/bootscripts/contrib/lsb-v3/ChangeLog b/bootscripts/contrib/lsb-v3/ChangeLog index f599bc2d8..f5620de28 100644 --- a/bootscripts/contrib/lsb-v3/ChangeLog +++ b/bootscripts/contrib/lsb-v3/ChangeLog @@ -1,4 +1,10 @@ ChangeLog + +20100529 - [matthew] + * Only copy /lib/udev/devices/null, as Udev >= 155 copies + devices from /lib/udev/devices to /dev itself. + Udevd still needs /dev/null present before starting up though. + 20100529 - [dj] * Sync to LFS-Bootscirpts-20100529 * Add test if /dev is already mounted in udev script. * Added --action=add to udevadmin trigger lines of udev script. diff --git a/bootscripts/contrib/lsb-v3/init.d/udev b/bootscripts/contrib/lsb-v3/init.d/udev index 5e74561ca..c019ab879 100644 --- a/bootscripts/contrib/lsb-v3/init.d/udev +++ b/bootscripts/contrib/lsb-v3/init.d/udev @@ -56,8 +56,9 @@ case "${1}" in # the kernel call out to any binary in response to them echo > /proc/sys/kernel/hotplug - # Copy static device nodes to /dev - cp -a /lib/udev/devices/* /dev + # Copy the only static device node that Udev >= 155 doesn't + # handle to /dev + cp -a /lib/udev/devices/null /dev # Start the udev daemon to continually watch for, and act on, # uevents -- cgit v1.2.3-54-g00ecf