From: Harald Hoyer Date: Wed, 6 Apr 2016 08:24:58 +0000 (+0200) Subject: plymouth/plymouth-pretrigger.sh: also trigger acpi subsystem X-Git-Tag: 045~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ef36aef28eb8f770f3c104d8e88b3b991170f3a;p=thirdparty%2Fdracut.git plymouth/plymouth-pretrigger.sh: also trigger acpi subsystem 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) --- diff --git a/modules.d/50plymouth/plymouth-pretrigger.sh b/modules.d/50plymouth/plymouth-pretrigger.sh index c3a97f204..6458d78d5 100755 --- a/modules.d/50plymouth/plymouth-pretrigger.sh +++ b/modules.d/50plymouth/plymouth-pretrigger.sh @@ -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