diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-24 20:30:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-24 20:30:18 +0100 |
commit | f18e431ca9d8486479e5b8976f63d0f8453e8986 (patch) | |
tree | a6bc0de2c11a37269569fc8b95c87f93e974728d /sys-kernel/dracut-config-redcore | |
parent | 496a2dbef7137a0591bdc0d7d265382c369545df (diff) |
sys-kernel/dracut-config-redcore : revision bump
Diffstat (limited to 'sys-kernel/dracut-config-redcore')
-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 " |