From 58bcc78f748c60135b129c502a2db5175b347c8d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 25 Apr 2020 02:33:25 +0100 Subject: sys-kernel/dracut-config-redcore : reenable plymouth --- .../dracut-config-redcore-1337-r3.ebuild | 34 ---------------------- .../dracut-config-redcore-1337-r4.ebuild | 34 ++++++++++++++++++++++ .../files/redcore-dracut.conf | 4 +-- 3 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild create mode 100644 sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r4.ebuild (limited to 'sys-kernel/dracut-config-redcore') diff --git a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild b/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild deleted file mode 100644 index e6156600..00000000 --- a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r3.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DESCRIPTION="Redcore Linux Dracut configuration files" -HOMEPAGE="" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="sys-kernel/dracut" - -S="${FILESDIR}" - -src_install() { - dodir "etc/dracut.conf.d" || die - insinto "etc/dracut.conf.d" || die - newins redcore-dracut.conf redcore-dracut.conf.example || die -} - -pkg_preinst() { - if [[ -f ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" ]]; then - rm -rf ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" - fi -} - -pkg_postinst() { - cp -avx ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf.example" ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" -} diff --git a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r4.ebuild b/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r4.ebuild new file mode 100644 index 00000000..e6156600 --- /dev/null +++ b/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +DESCRIPTION="Redcore Linux Dracut configuration files" +HOMEPAGE="" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="sys-kernel/dracut" + +S="${FILESDIR}" + +src_install() { + dodir "etc/dracut.conf.d" || die + insinto "etc/dracut.conf.d" || die + newins redcore-dracut.conf redcore-dracut.conf.example || die +} + +pkg_preinst() { + if [[ -f ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" ]]; then + rm -rf ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" + fi +} + +pkg_postinst() { + cp -avx ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf.example" ""${ROOT}"etc/dracut.conf.d/redcore-dracut.conf" +} diff --git a/sys-kernel/dracut-config-redcore/files/redcore-dracut.conf b/sys-kernel/dracut-config-redcore/files/redcore-dracut.conf index f7393d77..279e9bed 100644 --- a/sys-kernel/dracut-config-redcore/files/redcore-dracut.conf +++ b/sys-kernel/dracut-config-redcore/files/redcore-dracut.conf @@ -5,10 +5,10 @@ hostonly="no" # early_microcode="yes" # Dracut modules to add when building the iniframfs -add_dracutmodules+=" drm " +add_dracutmodules+=" drm plymouth " # Dracut modules to ommit when building the initramfs. -omit_dracutmodules+=" systemd systemd-initrd systemd-networkd dracut-systemd plymouth " +omit_dracutmodules+=" systemd systemd-initrd systemd-networkd dracut-systemd " # Make sure we have vboxvideo && qxl inside the initramfs (Virtualbox/Qemu) add_drivers+=" vboxvideo qxl " -- cgit v1.2.3