aboutsummaryrefslogtreecommitdiffstats
path: root/bootscripts
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2012-09-05 23:40:19 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2012-09-05 23:40:19 +0000
commit1005bde5ea4eeab943b22f514b72796f660edaa8 (patch)
tree7413bc6345b05714e67ff9f1883e0c5984c9e406 /bootscripts
parent94d3eee6e404c0a1e17afd663e7f35523e44c06f (diff)
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
Diffstat (limited to 'bootscripts')
-rw-r--r--bootscripts/ChangeLog4
-rw-r--r--bootscripts/lfs/init.d/udev5
2 files changed, 7 insertions, 2 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 <bdubbs@linuxfromscratch.org>
+ * Add udevadm trigger --action=change line to udev script
+ to support initramfs better
+
2012-08-24 Bruce Dubbs <bdubbs@linuxfromscratch.org>
* 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