Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 28 Feb 2021 22:10:51
Message-Id: 1614550243.d4a0d6f746f4148ca297356130e135cbe1c5a450.mgorny@gentoo
1 commit: d4a0d6f746f4148ca297356130e135cbe1c5a450
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 28 11:47:38 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 28 22:10:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4a0d6f7
7
8 kernel-install.eclass: Include a RDEP on libelf
9
10 Closes: https://bugs.gentoo.org/732210
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 eclass/kernel-install.eclass | 6 ++++++
14 1 file changed, 6 insertions(+)
15
16 diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass
17 index 965001924e7..56d40760557 100644
18 --- a/eclass/kernel-install.eclass
19 +++ b/eclass/kernel-install.eclass
20 @@ -58,6 +58,12 @@ RDEPEND="
21 sys-kernel/installkernel-systemd-boot
22 )
23 initramfs? ( >=sys-kernel/dracut-049-r3 )"
24 +# needed by objtool that is installed along with the kernel and used
25 +# to build external modules
26 +# NB: linux-mod.eclass also adds this dep but it's cleaner to have
27 +# it here, and resolves QA warnings: https://bugs.gentoo.org/732210
28 +RDEPEND+="
29 + virtual/libelf"
30 BDEPEND="
31 test? (
32 dev-tcltk/expect