]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
plymouth/plymouth-pretrigger.sh: also trigger acpi subsystem
authorHarald Hoyer <harald@redhat.com>
Wed, 6 Apr 2016 08:24:58 +0000 (10:24 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 13 Apr 2016 12:11:17 +0000 (14:11 +0200)
Trigger the acpi subsystem. This will ensure hv_vmbus gets loaded before
plymouth is started, which will make the graphics device become
available before plymouth is started too (and the keyboard ! which might
also be important for plymouth in some setups).

https://bugzilla.redhat.com/show_bug.cgi?id=1218130
(cherry picked from commit d2846fdcce9b8de0edecdf0e06a4b86fc8de542c)

modules.d/50plymouth/plymouth-pretrigger.sh

index c3a97f204024a2da713b5da0ea9e1c303cf8bcca..6458d78d5c7d7ffc53dbfe808f5fcf5e5fae1573 100755 (executable)
@@ -5,9 +5,14 @@ if type plymouthd >/dev/null 2>&1 && [ -z "$DRACUT_SYSTEMD" ]; then
         # first trigger graphics subsystem
         udevadm trigger --action=add --attr-match=class=0x030000 >/dev/null 2>&1
         # first trigger graphics and tty subsystem
-        udevadm trigger --action=add --subsystem-match=graphics --subsystem-match=drm --subsystem-match=tty >/dev/null 2>&1
+        udevadm trigger --action=add \
+            --subsystem-match=graphics \
+            --subsystem-match=drm \
+            --subsystem-match=tty \
+            --subsystem-match=acpi \
+            >/dev/null 2>&1
 
-        udevadm settle --timeout=30 2>&1 | vinfo
+        udevadm settle --timeout=180 2>&1 | vinfo
 
         info "Starting plymouth daemon"
         mkdir -m 0755 /run/plymouth