commit: ef8f14eb53d74fe20e6de2f972baaa574ad5e9a4
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 30 17:35:14 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Thu Sep 30 17:37:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef8f14eb
sys-kernel/linux-headers: Replace ${CATEGORY}/${PN} with package name
- ${CATEGORY} turned out to be problematic when building cross toolchain
using crossdev, as it autogenerates the cross ebuild and replaces ${CATEGORY}
with `cross-${CTARGET}` so we end up with invalid SRC_URI
( cross-${CTARGET}/linux-headers instead of sys-kernel/linux-headers )
Acked-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
sys-kernel/linux-headers/linux-headers-5.14.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-kernel/linux-headers/linux-headers-5.14.ebuild
b/sys-kernel/linux-headers/linux-headers-5.14.ebuild
index 248b4677156..8ac754c008d 100644
--- a/sys-kernel/linux-headers/linux-headers-5.14.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-5.14.ebuild
@@ -13,7 +13,7 @@ PATCH_VER="1"
PATCH_DEV="sam"
SRC_URI="
${KERNEL_URI}
-
${PATCH_VER:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/${CATEGORY}/${PN}/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}"
+
${PATCH_VER:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/sys-kernel/linux-headers/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}"
S="${WORKDIR}/linux-${PV}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"