|
Harald Hoyer |
b38677 |
From 7ef36aef28eb8f770f3c104d8e88b3b991170f3a Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
b38677 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
b38677 |
Date: Wed, 6 Apr 2016 10:24:58 +0200
|
|
Harald Hoyer |
b38677 |
Subject: [PATCH] plymouth/plymouth-pretrigger.sh: also trigger acpi subsystem
|
|
Harald Hoyer |
b38677 |
|
|
Harald Hoyer |
b38677 |
Trigger the acpi subsystem. This will ensure hv_vmbus gets loaded before
|
|
Harald Hoyer |
b38677 |
plymouth is started, which will make the graphics device become
|
|
Harald Hoyer |
b38677 |
available before plymouth is started too (and the keyboard ! which might
|
|
Harald Hoyer |
b38677 |
also be important for plymouth in some setups).
|
|
Harald Hoyer |
b38677 |
|
|
Harald Hoyer |
b38677 |
https://bugzilla.redhat.com/show_bug.cgi?id=1218130
|
|
Harald Hoyer |
b38677 |
(cherry picked from commit d2846fdcce9b8de0edecdf0e06a4b86fc8de542c)
|
|
Harald Hoyer |
b38677 |
---
|
|
Harald Hoyer |
b38677 |
modules.d/50plymouth/plymouth-pretrigger.sh | 9 +++++++--
|
|
Harald Hoyer |
b38677 |
1 file changed, 7 insertions(+), 2 deletions(-)
|
|
Harald Hoyer |
b38677 |
|
|
Harald Hoyer |
b38677 |
diff --git a/modules.d/50plymouth/plymouth-pretrigger.sh b/modules.d/50plymouth/plymouth-pretrigger.sh
|
|
Harald Hoyer |
b38677 |
index c3a97f2..6458d78 100755
|
|
Harald Hoyer |
b38677 |
--- a/modules.d/50plymouth/plymouth-pretrigger.sh
|
|
Harald Hoyer |
b38677 |
+++ b/modules.d/50plymouth/plymouth-pretrigger.sh
|
|
Harald Hoyer |
b38677 |
@@ -5,9 +5,14 @@ if type plymouthd >/dev/null 2>&1 && [ -z "$DRACUT_SYSTEMD" ]; then
|
|
Harald Hoyer |
b38677 |
# first trigger graphics subsystem
|
|
Harald Hoyer |
b38677 |
udevadm trigger --action=add --attr-match=class=0x030000 >/dev/null 2>&1
|
|
Harald Hoyer |
b38677 |
# first trigger graphics and tty subsystem
|
|
Harald Hoyer |
b38677 |
- udevadm trigger --action=add --subsystem-match=graphics --subsystem-match=drm --subsystem-match=tty >/dev/null 2>&1
|
|
Harald Hoyer |
b38677 |
+ udevadm trigger --action=add \
|
|
Harald Hoyer |
b38677 |
+ --subsystem-match=graphics \
|
|
Harald Hoyer |
b38677 |
+ --subsystem-match=drm \
|
|
Harald Hoyer |
b38677 |
+ --subsystem-match=tty \
|
|
Harald Hoyer |
b38677 |
+ --subsystem-match=acpi \
|
|
Harald Hoyer |
b38677 |
+ >/dev/null 2>&1
|
|
Harald Hoyer |
b38677 |
|
|
Harald Hoyer |
b38677 |
- udevadm settle --timeout=30 2>&1 | vinfo
|
|
Harald Hoyer |
b38677 |
+ udevadm settle --timeout=180 2>&1 | vinfo
|
|
Harald Hoyer |
b38677 |
|
|
Harald Hoyer |
b38677 |
info "Starting plymouth daemon"
|
|
Harald Hoyer |
b38677 |
mkdir -m 0755 /run/plymouth
|