Сравнение vanilla-kernel-5.10.197 с vanilla-kernel-5.10.9999

/usr/portage/sys-kernel/vanilla-kernel/vanilla-kernel-5.10.9999.ebuild 2023-10-09 14:52:35.536368503 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit kernel-build toolchain-funcs verify-sig
6
inherit git-r3 kernel-build toolchain-funcs
7 7

  
8
MY_P=linux-${PV}
9 8
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
10 9
CONFIG_VER=5.10.12
11 10
CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530
12
GENTOO_CONFIG_VER=g9
11
GENTOO_CONFIG_VER=g7
13 12

  
14 13
DESCRIPTION="Linux kernel built from vanilla upstream sources"
15 14
HOMEPAGE="
......
17 16
	https://www.kernel.org/
18 17
"
19 18
SRC_URI+="
20
	https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
21 19
	https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
22 20
		-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
23
	verify-sig? (
24
		https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.sign
25
	)
26 21
	amd64? (
27 22
		https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
28 23
			-> kernel-x86_64-fedora.config.${CONFIG_VER}
......
40 35
			-> kernel-i686-fedora.config.${CONFIG_VER}
41 36
	)
42 37
"
43
S=${WORKDIR}/${MY_P}
38

  
39
EGIT_REPO_URI=(
40
	https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
41
	https://github.com/gregkh/linux/
42
)
43
EGIT_BRANCH="linux-${PV/.9999/.y}"
44 44

  
45 45
LICENSE="GPL-2"
46
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
46
KEYWORDS=""
47 47
IUSE="debug hardened"
48 48
REQUIRED_USE="arm? ( savedconfig )"
49 49

  
50 50
BDEPEND="
51 51
	debug? ( dev-util/pahole )
52
	verify-sig? ( sec-keys/openpgp-keys-kernel )
53 52
"
54 53
PDEPEND="
55
	>=virtual/dist-kernel-${PV}
54
	>=virtual/dist-kernel-$(ver_cut 1-2)
56 55
"
57 56

  
58
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kernel.org.asc
59

  
60 57
src_unpack() {
61
	if use verify-sig; then
62
		einfo "Unpacking linux-${PV}.tar.xz ..."
63
		verify-sig_verify_detached - "${DISTDIR}"/linux-${PV}.tar.sign \
64
			< <(xz -cd "${DISTDIR}"/linux-${PV}.tar.xz | tee >(tar -x))
65
		assert "Unpack failed"
66
		unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
67
	else
68
		default
69
	fi
58
	git-r3_src_unpack
59
	default
70 60
}
71 61

  
72 62
src_prepare() {
Спасибо!