diff options
author | Jonathan Bauer | 2018-05-23 12:09:49 +0200 |
---|---|---|
committer | Jonathan Bauer | 2018-05-23 12:09:49 +0200 |
commit | 9149d134cdd6c214ba0c253b8e9912ff8ff75045 (patch) | |
tree | 9b51aa87c804246a218444655bbfcf290eaeee25 /builder/modules.d/slx-splash/module-setup.sh | |
parent | update to dracut v47 (diff) | |
download | systemd-init-9149d134cdd6c214ba0c253b8e9912ff8ff75045.tar.gz systemd-init-9149d134cdd6c214ba0c253b8e9912ff8ff75045.tar.xz systemd-init-9149d134cdd6c214ba0c253b8e9912ff8ff75045.zip |
new slx-drm and slx-splash (PoC) modules
slx-drm pulls in dracut's drm module and provides a modprobe.d
configurations file to always prioritize nvidia drivers, falling back to
nouveau on failures.
slx-splash uses the slx busybox's fbsplash (WIP). Busybox is still
missing from defaults builds, so this won't function out of the box!
Diffstat (limited to 'builder/modules.d/slx-splash/module-setup.sh')
-rwxr-xr-x | builder/modules.d/slx-splash/module-setup.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/builder/modules.d/slx-splash/module-setup.sh b/builder/modules.d/slx-splash/module-setup.sh new file mode 100755 index 00000000..6abd06e0 --- /dev/null +++ b/builder/modules.d/slx-splash/module-setup.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +check() { + # Tell dracut that this module should only be included if it is required + # explicitly. + return 255 +} +depends() { + echo slx-drm +} +install() { + cp "$moddir/data/splash.ppm.gz" "$initdir/etc/splash.ppm.gz" + inst_hook pre-trigger 10 "$moddir/scripts/slx-splash.sh" +} |