summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-kernel/linux/linux-4.14.27-r2.ebuild (renamed from sys-kernel/linux/linux-4.14.27-r1.ebuild)11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys-kernel/linux/linux-4.14.27-r1.ebuild b/sys-kernel/linux/linux-4.14.27-r2.ebuild
index bc8c88e..b2c2266 100644
--- a/sys-kernel/linux/linux-4.14.27-r1.ebuild
+++ b/sys-kernel/linux/linux-4.14.27-r2.ebuild
@@ -18,8 +18,7 @@ IUSE="virt +initramfs amd"
DEPEND="
sys-devel/bc
- dev-libs/elfutils
- initramfs? ( sys-kernel/dracut )"
+ dev-libs/elfutils"
src_configure() {
# Fix ARCH variable
@@ -66,14 +65,6 @@ sysfile() {
}
pkg_postinst() {
- # Generate initramfs
- if $(use initramfs); then
- einfo "Generating initramfs"
- dracut \
- -m "dash i18n rootfs-block terminfo udev-rules base fs-lib img-lib dm btrfs crypt" \
- --force "/boot/initramfs-${PV}" "${PV}"
- fi
-
# Add label to syslinux config if there is non yet
sysfile
if ! grep -q "^LABEL gentoo-${PV}$" "${SYSLINUX}"; then