summaryrefslogtreecommitdiff
path: root/sys-kernel/dracut
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/dracut')
-rw-r--r--sys-kernel/dracut/dracut-044-r1708.ebuild10
-rw-r--r--sys-kernel/dracut/files/redcore-dracut.conf11
-rw-r--r--sys-kernel/dracut/metadata.xml24
3 files changed, 6 insertions, 39 deletions
diff --git a/sys-kernel/dracut/dracut-044-r1708.ebuild b/sys-kernel/dracut/dracut-044-r1708.ebuild
index 8f5a61e2..e242b33d 100644
--- a/sys-kernel/dracut/dracut-044-r1708.ebuild
+++ b/sys-kernel/dracut/dracut-044-r1708.ebuild
@@ -12,12 +12,17 @@ SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="debug selinux systemd"
+IUSE="debug selinux systemd +microcode"
RESTRICT="test"
CDEPEND="virtual/udev
systemd? ( >=sys-apps/systemd-199 )
+ microcode? (
+ sys-firmware/intel-microcode
+ sys-kernel/linux-firmware
+ )
+ sys-kernel/dracut-config-redcore
"
RDEPEND="${CDEPEND}
app-arch/cpio
@@ -156,9 +161,6 @@ src_install() {
insinto /etc/logrotate.d
newins dracut.logrotate dracut
- insinto /etc/dracut.conf.d
- doins "${FILESDIR}"/redcore-dracut.conf
-
dodir /var/lib/dracut/overlay
dohtml dracut.html
diff --git a/sys-kernel/dracut/files/redcore-dracut.conf b/sys-kernel/dracut/files/redcore-dracut.conf
deleted file mode 100644
index b3a3fa86..00000000
--- a/sys-kernel/dracut/files/redcore-dracut.conf
+++ /dev/null
@@ -1,11 +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="yes"
-
-# 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 "
-
-# Dracut modules to ommit when building the initramfs.
-omit_dracutmodules+=" plymouth systemd systemd-initrd systemd-networkd dracut-systemd "
diff --git a/sys-kernel/dracut/metadata.xml b/sys-kernel/dracut/metadata.xml
deleted file mode 100644
index bc57bc2d..00000000
--- a/sys-kernel/dracut/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>chutzpah@gentoo.org</email>
- <name>Patrick McLean</name>
- </maintainer>
- <maintainer type="person">
- <email>alexander@tsoy.me</email>
- <name>Alexander Tsoy</name>
- </maintainer>
- <maintainer type="person">
- <email>aidecoe@gentoo.org</email>
- <name>Amadeusz Żołnowski</name>
- </maintainer>
- <use>
- <flag name="debug">Module installing additional tools like strace, file
- editor, ssh and more</flag>
- </use>
- <longdescription lang="en">
- Generic, modular initramfs generation tool that can be used across various
- distributions.
- </longdescription>
-</pkgmetadata>