sys-kernel/genkernel: add sys-devel/* deps
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 18 Jul 2019 22:17:19 +0000 (00:17 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 18 Jul 2019 22:28:13 +0000 (00:28 +0200)
We need sys-devel/* deps like autoconf or automake at runtime
because genkernel will usually build things like LVM2, cryptsetup,
mdadm... during initramfs generation.

Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
sys-kernel/genkernel/genkernel-9999.ebuild

index 64a7193dc7da9ab9779099d0b96367d684563b83..a4befc09fffbdf9afb329b38eb3efd4cbbcece01 100644 (file)
@@ -89,14 +89,24 @@ SLOT="0"
 RESTRICT=""
 IUSE="ibm +firmware"
 
+# Note:
+# We need sys-devel/* deps like autoconf or automake at _runtime_
+# because genkernel will usually build things like LVM2, cryptsetup,
+# mdadm... during initramfs generation which will require these
+# things.
 DEPEND=""
 RDEPEND="${DEPEND}
        app-arch/cpio
        >=app-misc/pax-utils-1.2.2
+       app-portage/elt-patches
        sys-apps/sandbox
+       sys-devel/autoconf
+       sys-devel/autoconf-archive
+       sys-devel/automake
+       sys-devel/libtool
+       virtual/pkgconfig
        firmware? ( sys-kernel/linux-firmware )
        !<sys-apps/openrc-0.9.9"
-# pax-utils is used for lddtree
 
 if [[ ${PV} == 9999* ]]; then
        DEPEND="${DEPEND} app-text/asciidoc"