Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-headers/
Date: Fri, 24 Dec 2021 21:22:02
Message-Id: 1640380908.a4d9b3ff4d0d3de52c5006e635d9d6bea515ba52.sam@gentoo
1 commit: a4d9b3ff4d0d3de52c5006e635d9d6bea515ba52
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 24 21:21:32 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 24 21:21:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4d9b3ff
7
8 sys-kernel/linux-headers: restrict tests
9
10 Not meaningful atm.
11
12 Closes: https://bugs.gentoo.org/816762
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 sys-kernel/linux-headers/linux-headers-5.15-r1.ebuild | 9 +++++----
16 1 file changed, 5 insertions(+), 4 deletions(-)
17
18 diff --git a/sys-kernel/linux-headers/linux-headers-5.15-r1.ebuild b/sys-kernel/linux-headers/linux-headers-5.15-r1.ebuild
19 index ec21c8e94f69..e33b8e9772de 100644
20 --- a/sys-kernel/linux-headers/linux-headers-5.15-r1.ebuild
21 +++ b/sys-kernel/linux-headers/linux-headers-5.15-r1.ebuild
22 @@ -11,17 +11,18 @@ detect_version
23 PATCH_PV=${PV} # to ease testing new versions against not existing patches
24 PATCH_VER="1"
25 PATCH_DEV="sam"
26 -SRC_URI="
27 - ${KERNEL_URI}
28 +SRC_URI="${KERNEL_URI}
29 ${PATCH_VER:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/sys-kernel/linux-headers/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}"
30 S="${WORKDIR}/linux-${PV}"
31
32 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
33
34 -BDEPEND="
35 - app-arch/xz-utils
36 +BDEPEND="app-arch/xz-utils
37 dev-lang/perl"
38
39 +# bug #816762
40 +RESTRICT="test"
41 +
42 [[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PATCH_PV} )
43
44 src_unpack() {