summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-02-28 12:47:38 +0100
committerMichał Górny <mgorny@gentoo.org>2021-02-28 23:10:43 +0100
commitd4a0d6f746f4148ca297356130e135cbe1c5a450 (patch)
tree0f1d53c8c3bab5ca6c31287101f8484d3378dcfc /eclass
parentkernel-install.eclass: Fix bypassing dracut configs (diff)
downloadgentoo-d4a0d6f746f4148ca297356130e135cbe1c5a450.tar.gz
gentoo-d4a0d6f746f4148ca297356130e135cbe1c5a450.tar.bz2
gentoo-d4a0d6f746f4148ca297356130e135cbe1c5a450.zip
kernel-install.eclass: Include a RDEP on libelf
Closes: https://bugs.gentoo.org/732210 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-install.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass
index 965001924e7d..56d407605575 100644
--- a/eclass/kernel-install.eclass
+++ b/eclass/kernel-install.eclass
@@ -58,6 +58,12 @@ RDEPEND="
sys-kernel/installkernel-systemd-boot
)
initramfs? ( >=sys-kernel/dracut-049-r3 )"
+# needed by objtool that is installed along with the kernel and used
+# to build external modules
+# NB: linux-mod.eclass also adds this dep but it's cleaner to have
+# it here, and resolves QA warnings: https://bugs.gentoo.org/732210
+RDEPEND+="
+ virtual/libelf"
BDEPEND="
test? (
dev-tcltk/expect