Gentoo Archives: gentoo-commits

From: Alice Ferrazzi <alicef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/rt-sources/
Date: Mon, 23 Aug 2021 14:25:56
Message-Id: 1629728734.a60220d85f87e1fe4b0b143e65dcbef807ae82bf.alicef@gentoo
1 commit: a60220d85f87e1fe4b0b143e65dcbef807ae82bf
2 Author: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 23 14:24:19 2021 +0000
4 Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 23 14:25:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60220d8
7
8 sys-kernel/rt-sources: rt-sources 5.4.138_p62
9
10 Move to EAPI8
11 Remove deblob as incompatibility with python2
12
13 Package-Manager: Portage-3.0.19, Repoman-3.0.3
14 Signed-off-by: Alice Ferrazzi <alicef <AT> gentoo.org>
15
16 sys-kernel/rt-sources/Manifest | 2 +
17 .../rt-sources/rt-sources-5.4.138_p62.ebuild | 51 ++++++++++++++++++++++
18 2 files changed, 53 insertions(+)
19
20 diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
21 index 383e3c01f2f..2d1e65178c7 100644
22 --- a/sys-kernel/rt-sources/Manifest
23 +++ b/sys-kernel/rt-sources/Manifest
24 @@ -41,3 +41,5 @@ DIST patch-5.4.109-rt56.patch.xz 182720 BLAKE2B cf87f20f32b692e832e1a0a93a2c1b09
25 DIST patch-5.4.109.xz 2776096 BLAKE2B 1b705558335df5ef12ee3f01654532b7bcefe23242599c749f31ca9d2c6509a81660e8977eb43c4dd052d586d47537d9d58a82930b9587d69142211baed25bdd SHA512 2033c11b03a6cac1770dbc9188c84881538212f7ed9bc419f594b637aef88934d9602c95d3d4d20af8e0a0a56a135a25905d4a6a358fb2334c9132082b66eb76
26 DIST patch-5.4.129-rt61.patch.xz 182772 BLAKE2B d6486f817dba60ddd6526fc98b1a381f5f8c6323fbaa2aff780942fbd26ece2af57c7c39e4b11c87b7bad0c607ec291f6e37ee107d3372bd9cedc1ccc8eeaae7 SHA512 4c70914fa4940d7dee257c02ab95384ccd53329306074a8f54d58481c6979762db49ddfe849c7e10b6bb82eecfdbfd89043b584c7ee281430c4772ac17a588ce
27 DIST patch-5.4.129.xz 3068036 BLAKE2B ca95c9fce66dfcc83c5c8252475d79d3d6a66d3d06308520e4643854089c6051266663ae1a1f461443ab9abf24255c219beaaf235b21053981cfb0d850e711e8 SHA512 9b5cc80c89caa74b3b700b6defc5c4e214e09ac3fffb9b7cb364daaec1e81242bd3d03d36ceae7688eee43bf9fb471385ef65ef1fc477ef1a33dab0c2a516e2c
28 +DIST patch-5.4.138-rt62.patch.xz 182740 BLAKE2B 788f2bf6c0e7a42bdec285bd1901231a6e8645ec58d889ca14d7c554c89ab68f3d633f019e1fa3c59119531fb3931e34838db68230786738e3890a21c063b10f SHA512 416fe5a31200be146256b4a670518253b80e68d400f0d67946fa807c1f3acce7dd37293e3aa4aa6285aa005f19df5077add0643cd28c535ccf1c8826e3a4e75e
29 +DIST patch-5.4.138.xz 3221104 BLAKE2B 67f23da6fb88ac9787aae01426d0ae03e169e383d1a8b8cafd33fe946b74ae0f1bfcd310a25b20ba1fdccb5de8f52d041700d5ad193efeb045e230845eeb0473 SHA512 fa81c0f8ff8aeb728fad31b973d12ac5640a2b4308c613674aa107a8f48d9f086cf529f36e733db200c2a531ecabd95539aae33d0bcde6310eddca193c52b320
30
31 diff --git a/sys-kernel/rt-sources/rt-sources-5.4.138_p62.ebuild b/sys-kernel/rt-sources/rt-sources-5.4.138_p62.ebuild
32 new file mode 100644
33 index 00000000000..337b873dda4
34 --- /dev/null
35 +++ b/sys-kernel/rt-sources/rt-sources-5.4.138_p62.ebuild
36 @@ -0,0 +1,51 @@
37 +# Copyright 1999-2021 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI="8"
41 +ETYPE="sources"
42 +KEYWORDS="~amd64 ~arm64"
43 +
44 +HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
45 +
46 +CKV="$(ver_cut 1-3)"
47 +K_SECURITY_UNSUPPORTED="1"
48 +RT_PATCHSET="${PV/*_p}"
49 +
50 +inherit kernel-2
51 +detect_version
52 +
53 +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
54 +RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
55 +RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
56 + https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
57 +
58 +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
59 +SRC_URI="${KERNEL_URI} ${RT_URI}"
60 +
61 +KV_FULL="${PVR/_p/-rt}"
62 +S="${WORKDIR}/linux-${KV_FULL}"
63 +
64 +UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
65 +UNIPATCH_STRICTORDER="yes"
66 +
67 +src_prepare() {
68 + default
69 +
70 + # 627796
71 + sed \
72 + "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
73 + -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
74 +}
75 +
76 +pkg_postinst() {
77 + kernel-2_pkg_postinst
78 + ewarn
79 + ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
80 + ewarn "If you need support, please contact the RT project developers directly."
81 + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
82 + ewarn "the ebuilds."
83 + ewarn
84 +}
85 +
86 +K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
87 +${HOMEPAGE}."