diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-12-05 21:57:06 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-12-05 21:57:06 (GMT) |
commit | d5cb134735305134af8410f00768adf4b5254c91 (patch) | |
tree | 25487539a6a2ccd7ea3941d7d991820d8c5c1eae /abs/core/plymouth/plymouth.initcpio_hook | |
parent | 7fb9e40d7558d80c04be03702231a19fe3fbfacd (diff) | |
download | linhes_pkgbuild-d5cb134735305134af8410f00768adf4b5254c91.zip linhes_pkgbuild-d5cb134735305134af8410f00768adf4b5254c91.tar.gz linhes_pkgbuild-d5cb134735305134af8410f00768adf4b5254c91.tar.bz2 |
plymouth: update to 0.9.0
Diffstat (limited to 'abs/core/plymouth/plymouth.initcpio_hook')
-rw-r--r-- | abs/core/plymouth/plymouth.initcpio_hook | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/abs/core/plymouth/plymouth.initcpio_hook b/abs/core/plymouth/plymouth.initcpio_hook index d527f24..3d7ec1d 100644 --- a/abs/core/plymouth/plymouth.initcpio_hook +++ b/abs/core/plymouth/plymouth.initcpio_hook @@ -1,16 +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() { - msg -n ":: Loading plymouth..." - - /bin/mknod /dev/fb c 29 0 &>/dev/null - #/bin/mount devpts /dev/pts -t devpts - - # plymouth deamon - #/bin/mkdir -p /run/plymouth - /usr/sbin/plymouthd --mode=boot --pid-file=/run/plymouth.pid - - # plymouth frontend /usr/bin/plymouth --show-splash - msg "done." +} + +run_latehook(){ + /usr/bin/plymouth update-root-fs --new-root-dir=/new_root } # vim: set ft=sh: |