From 1005bde5ea4eeab943b22f514b72796f660edaa8 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 5 Sep 2012 23:40:19 +0000 Subject: Add udevadm trigger --action=change line to udev script to support initramfs/LVM better. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9986 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- bootscripts/ChangeLog | 4 ++++ bootscripts/lfs/init.d/udev | 5 +++-- chapter01/changelog.xml | 10 ++++++++++ general.ent | 4 ++-- packages.ent | 2 +- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/bootscripts/ChangeLog b/bootscripts/ChangeLog index 82db386f9..5ff5efcf7 100644 --- a/bootscripts/ChangeLog +++ b/bootscripts/ChangeLog @@ -1,3 +1,7 @@ +2012-09-05 Bruce Dubbs + * Add udevadm trigger --action=change line to udev script + to support initramfs better + 2012-08-24 Bruce Dubbs * Read /etc/sysconfig/console when needed in rc diff --git a/bootscripts/lfs/init.d/udev b/bootscripts/lfs/init.d/udev index 5628545f6..78c48d753 100644 --- a/bootscripts/lfs/init.d/udev +++ b/bootscripts/lfs/init.d/udev @@ -53,8 +53,9 @@ case "${1}" in # Now traverse /sys in order to "coldplug" devices that have # already been discovered - /sbin/udevadm trigger --action=add --type=subsystems - /sbin/udevadm trigger --action=add --type=devices + /sbin/udevadm trigger --action=add --type=subsystems + /sbin/udevadm trigger --action=add --type=devices + /sbin/udevadm trigger --action=change --type=devices # Now wait for udevd to process the uevents we triggered /sbin/udevadm settle diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index b6cab23ab..c9a257810 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -37,6 +37,16 @@ --> + + 2012-09-05 + + + [bdubbs] - Add udevadm trigger --action=change line + to udev script to support initramfs better. + + + + 2012-09-04 diff --git a/general.ent b/general.ent index e3ea44138..5b0a427bc 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + + diff --git a/packages.ent b/packages.ent index 968d0c36b..f4be246da 100644 --- a/packages.ent +++ b/packages.ent @@ -302,7 +302,7 @@ - + -- cgit v1.2.3-54-g00ecf