Сравнение linux-headers-5.15-r3 с linux-headers-6.1

/usr/portage/sys-kernel/linux-headers/linux-headers-6.1.ebuild 2023-10-09 14:52:35.532368502 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
ETYPE="headers"
7
H_SUPPORTEDARCH="alpha amd64 arc arm arm64 avr32 cris frv hexagon hppa ia64 m68k metag microblaze mips mn10300 nios2 openrisc ppc ppc64 riscv s390 score sh sparc x86 xtensa"
7
H_SUPPORTEDARCH="alpha amd64 arc arm arm64 csky hexagon hppa ia64 loong m68k microblaze mips nios2 openrisc ppc ppc64 riscv s390 sh sparc x86 xtensa"
8 8
inherit kernel-2
9 9
detect_version
10 10

  
11 11
PATCH_PV=${PV} # to ease testing new versions against not existing patches
12
PATCH_VER="1"
12
PATCH_VER="0"
13 13
PATCH_DEV="sam"
14 14
SRC_URI="${KERNEL_URI}
15 15
	${PATCH_VER:+https://dev.gentoo.org/~${PATCH_DEV}/distfiles/sys-kernel/linux-headers/gentoo-headers-${PATCH_PV}-${PATCH_VER}.tar.xz}"
16 16
S="${WORKDIR}/linux-${PV}"
17 17

  
18
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
18
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
19 19

  
20
BDEPEND="
21
	app-arch/xz-utils
20
BDEPEND="app-arch/xz-utils
22 21
	dev-lang/perl"
23 22

  
24
# bug #816762
25
RESTRICT="test"
26

  
27 23
[[ -n ${PATCH_VER} ]] && PATCHES=( "${WORKDIR}"/${PATCH_PV} )
28 24

  
29 25
src_unpack() {
30
	# avoid kernel-2_src_unpack
26
	# Avoid kernel-2_src_unpack
31 27
	default
32 28
}
33 29

  
......
38 34
		"${FILESDIR}"/${PN}-5.15-remove-inclusion-sysinfo.h.patch
39 35
	)
40 36

  
41
	# avoid kernel-2_src_prepare
37
	# Avoid kernel-2_src_prepare
42 38
	default
43 39
}
44 40

  
45
src_test() {
46
	emake headers_check "${KERNEL_MAKEOPTS[@]}"
47
}
48

  
49 41
src_install() {
50 42
	kernel-2_src_install
51 43

  
52 44
	find "${ED}" \( -name '.install' -o -name '*.cmd' \) -delete || die
53
	# delete empty directories
45
	# Delete empty directories
54 46
	find "${ED}" -empty -type d -delete || die
55 47
}
Спасибо!