From cdfbbe0d2e9c8b8ee5f96e32684af0f8ebd4e5da Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 28 Nov 2020 22:55:41 +0000 Subject: move : sys-kernel/dracut-config-redcore => sys-kernel/dracutcfg --- .../dracut-config-redcore-1337-r5.ebuild | 32 ---------------------- .../files/redcore-dracut.conf | 14 ---------- sys-kernel/dracut/dracut-048-r5.ebuild | 2 +- sys-kernel/dracutcfg/dracutcfg-1337.ebuild | 32 ++++++++++++++++++++++ sys-kernel/dracutcfg/files/redcore-dracut.conf | 14 ++++++++++ 5 files changed, 47 insertions(+), 47 deletions(-) delete mode 100644 sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r5.ebuild delete mode 100644 sys-kernel/dracut-config-redcore/files/redcore-dracut.conf create mode 100644 sys-kernel/dracutcfg/dracutcfg-1337.ebuild create mode 100644 sys-kernel/dracutcfg/files/redcore-dracut.conf diff --git a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r5.ebuild b/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r5.ebuild deleted file mode 100644 index 80ffaf22..00000000 --- a/sys-kernel/dracut-config-redcore/dracut-config-redcore-1337-r5.ebuild +++ /dev/null @@ -1,32 +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="" - -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 deleted file mode 100644 index 279e9bed..00000000 --- a/sys-kernel/dracut-config-redcore/files/redcore-dracut.conf +++ /dev/null @@ -1,14 +0,0 @@ -# Host-Only mode: Install only what is needed for booting the local host instead of a generic host and generate host-specific configuration. -hostonly="no" - -# Combine early microcode with ramdisk. Uncomment the line bellow, and run "dracut -f" if you want early microcode update. -# early_microcode="yes" - -# Dracut modules to add when building the iniframfs -add_dracutmodules+=" drm plymouth " - -# Dracut modules to ommit when building the initramfs. -omit_dracutmodules+=" systemd systemd-initrd systemd-networkd dracut-systemd " - -# Make sure we have vboxvideo && qxl inside the initramfs (Virtualbox/Qemu) -add_drivers+=" vboxvideo qxl " diff --git a/sys-kernel/dracut/dracut-048-r5.ebuild b/sys-kernel/dracut/dracut-048-r5.ebuild index 7c02e00c..0f8135d7 100644 --- a/sys-kernel/dracut/dracut-048-r5.ebuild +++ b/sys-kernel/dracut/dracut-048-r5.ebuild @@ -39,7 +39,7 @@ COMMON_DEPEND=">=sys-apps/kmod-23[tools] mdadm? ( sys-fs/mdadm ) - sys-kernel/dracut-config-redcore + sys-kernel/dracutcfg " RDEPEND="${COMMON_DEPEND} app-arch/cpio diff --git a/sys-kernel/dracutcfg/dracutcfg-1337.ebuild b/sys-kernel/dracutcfg/dracutcfg-1337.ebuild new file mode 100644 index 00000000..80ffaf22 --- /dev/null +++ b/sys-kernel/dracutcfg/dracutcfg-1337.ebuild @@ -0,0 +1,32 @@ +# 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="" + +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/dracutcfg/files/redcore-dracut.conf b/sys-kernel/dracutcfg/files/redcore-dracut.conf new file mode 100644 index 00000000..279e9bed --- /dev/null +++ b/sys-kernel/dracutcfg/files/redcore-dracut.conf @@ -0,0 +1,14 @@ +# Host-Only mode: Install only what is needed for booting the local host instead of a generic host and generate host-specific configuration. +hostonly="no" + +# Combine early microcode with ramdisk. Uncomment the line bellow, and run "dracut -f" if you want early microcode update. +# early_microcode="yes" + +# Dracut modules to add when building the iniframfs +add_dracutmodules+=" drm plymouth " + +# Dracut modules to ommit when building the initramfs. +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