Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-headers/
Date: Thu, 30 Sep 2021 17:38:25
Message-Id: 1633023451.ef8f14eb53d74fe20e6de2f972baaa574ad5e9a4.jsmolic@gentoo
1 commit: ef8f14eb53d74fe20e6de2f972baaa574ad5e9a4
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 30 17:35:14 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 30 17:37:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef8f14eb
7
8 sys-kernel/linux-headers: Replace ${CATEGORY}/${PN} with package name
9
10 - ${CATEGORY} turned out to be problematic when building cross toolchain
11 using crossdev, as it autogenerates the cross ebuild and replaces ${CATEGORY}
12 with `cross-${CTARGET}` so we end up with invalid SRC_URI
13 ( cross-${CTARGET}/linux-headers instead of sys-kernel/linux-headers )
14
15 Acked-by: Sam James <sam <AT> gentoo.org>
16 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
17
18 sys-kernel/linux-headers/linux-headers-5.14.ebuild | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 diff --git a/sys-kernel/linux-headers/linux-headers-5.14.ebuild b/sys-kernel/linux-headers/linux-headers-5.14.ebuild
22 index 248b4677156..8ac754c008d 100644
23 --- a/sys-kernel/linux-headers/linux-headers-5.14.ebuild
24 +++ b/sys-kernel/linux-headers/linux-headers-5.14.ebuild
25 @@ -13,7 +13,7 @@ PATCH_VER="1"
26 PATCH_DEV="sam"
27 SRC_URI="
28 ${KERNEL_URI}
29 - ${PATCH_VER:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${CATEGORY}/${PN}/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}"
30 + ${PATCH_VER:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/sys-kernel/linux-headers/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}"
31 S="${WORKDIR}/linux-${PV}"
32
33 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"