diff options
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild (renamed from sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r2.ebuild) | 6 | ||||
-rw-r--r-- | sys-kernel/dracut-config-redcore/files/redcore-dracut.conf | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r2.ebuild b/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild index cc283833..ebde8541 100644 --- a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r2.ebuild +++ b/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild @@ -32,5 +32,11 @@ pkg_preinst() { pkg_postinst() { if [[ -f ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf.bak" ]]; then mv ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf.bak" ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" + sed -i "s/plymouth//g" ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" + sed -i "s/dracut-systemd/dracut-systemd\ plymouth\ /g" ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" + fi + + if [[ ! -f ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" ]]; then + cp -avx ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf.example" ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" fi } diff --git a/sys-kernel/dracut-config-redcore/files/redcore-dracut.conf b/sys-kernel/dracut-config-redcore/files/redcore-dracut.conf index 3b0d1087..f7393d77 100644 --- a/sys-kernel/dracut-config-redcore/files/redcore-dracut.conf +++ b/sys-kernel/dracut-config-redcore/files/redcore-dracut.conf @@ -2,13 +2,13 @@ hostonly="no" # Combine early microcode with ramdisk. Uncomment the line bellow, and run "dracut -f" if you want early microcode update. -early_microcode="yes" +# early_microcode="yes" # Dracut modules to add when building the iniframfs -add_dracutmodules+=" drm plymouth " +add_dracutmodules+=" drm " # Dracut modules to ommit when building the initramfs. -omit_dracutmodules+=" systemd systemd-initrd systemd-networkd dracut-systemd " +omit_dracutmodules+=" systemd systemd-initrd systemd-networkd dracut-systemd plymouth " # Make sure we have vboxvideo && qxl inside the initramfs (Virtualbox/Qemu) add_drivers+=" vboxvideo qxl " |