summaryrefslogtreecommitdiff
path: root/pcr-testing/plymouth/plymouth.initcpio_hook
diff options
context:
space:
mode:
authorFreemor <freemor@freemor.ca>2018-11-23 17:15:39 -0400
committerFreemor <freemor@freemor.ca>2018-11-23 17:15:39 -0400
commitff368b7f4dd180b8f9fa04fd1cb32726de98a0fd (patch)
treec1f38e5b183f1c6d9818b49bf646f66e5aa0eb01 /pcr-testing/plymouth/plymouth.initcpio_hook
parentc0f527d18c9ef4d30bac6a91189284362ce5026c (diff)
downloadabslibre-ff368b7f4dd180b8f9fa04fd1cb32726de98a0fd.tar.gz
abslibre-ff368b7f4dd180b8f9fa04fd1cb32726de98a0fd.tar.bz2
abslibre-ff368b7f4dd180b8f9fa04fd1cb32726de98a0fd.zip
Updated [plymouth] to address #2067
- Added parabola-logo.png - Updated referrences to arch-logo.png to parabola-logo.png - v0.9.3 -> 0.9.4 - removed a patch that seemed not to be necessary any more.
Diffstat (limited to 'pcr-testing/plymouth/plymouth.initcpio_hook')
-rw-r--r--pcr-testing/plymouth/plymouth.initcpio_hook23
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr-testing/plymouth/plymouth.initcpio_hook b/pcr-testing/plymouth/plymouth.initcpio_hook
new file mode 100644
index 000000000..3d7ec1d17
--- /dev/null
+++ b/pcr-testing/plymouth/plymouth.initcpio_hook
@@ -0,0 +1,23 @@
+run_earlyhook(){
+ # 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 settle --timeout=30 2>&1
+
+ /usr/bin/mknod /dev/fb c 29 &>/dev/null
+ /usr/bin/mkdir -p /dev/pts
+ /usr/bin/mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts || true
+ /usr/bin/plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session
+}
+
+run_hook() {
+ /usr/bin/plymouth --show-splash
+}
+
+run_latehook(){
+ /usr/bin/plymouth update-root-fs --new-root-dir=/new_root
+}
+
+# vim: set ft=sh: