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: Thu, 06 Jan 2022 14:07:56
Message-Id: 1641477996.95b2f29f87484213cd01641152b4c5aa1b76fa4f.alicef@gentoo
1 commit: 95b2f29f87484213cd01641152b4c5aa1b76fa4f
2 Author: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 6 12:58:45 2022 +0000
4 Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 6 14:06:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b2f29f
7
8 sys-kernel/rt-sources: Add rt sources 5.4.161-rt67
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Alice Ferrazzi <alicef <AT> gentoo.org>
12
13 sys-kernel/rt-sources/Manifest | 2 +
14 .../rt-sources/rt-sources-5.4.161_p67.ebuild | 51 ++++++++++++++++++++++
15 2 files changed, 53 insertions(+)
16
17 diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
18 index 6f4c1dcef058..1533c05a2f96 100644
19 --- a/sys-kernel/rt-sources/Manifest
20 +++ b/sys-kernel/rt-sources/Manifest
21 @@ -31,3 +31,5 @@ DIST patch-5.15.3-rt21.patch.xz 81128 BLAKE2B 685ef5d14e7784ec34d01dec71ae7e8b5b
22 DIST patch-5.15.3.xz 290732 BLAKE2B 62544d1c3187321db6b2dfc7f1d910ddbcfc2b9d2977087d0e1fba12dde33df2d74ea62ced1646243db68a8d386b22bc5c80a955c1e65e77084b06e224586d93 SHA512 cf8b69a3aa725e0ebbe767ac28b7b99de53ee2436a6883e54ee330d17bbdb4d88c147ef1082c3c02a20649ecdc1e363961d9b210e56018c92daff7b889ff2db5
23 DIST patch-5.4.154-rt65.patch.xz 182592 BLAKE2B fb2e5ac1b8d9b5fe1852deeca9b07513c544b1a576c3012eb93a9e131c1bd53c26a3a6a40ace93019b0a1a5ec66e57b9d3058e391314d9a9b6b3963154d814fa SHA512 74c092fc13918e5e424a838c45031b756e20d794baaffabfed551f222cd32198a16ddff7eadda4a3d682b13e31d8ea92b1cc66cd8f27a9f05db786671a29d796
24 DIST patch-5.4.154.xz 3419760 BLAKE2B d67193634055eba94444c384c624f70189c7dcfce7024f54312be3239f0215c2687e04568359d391700e8b7892a41f56c9005b42ce9e384996c85f976164c32d SHA512 c6b906a73db666255c0cefec4ed5651ee5f7383d9c5b8696d73f2702a3cb43a5373b7b8022b13cd4d86fb48b3dfc57a25f370916b6b6aaa003c7429602894eb5
25 +DIST patch-5.4.161-rt67.patch.xz 183380 BLAKE2B 858077423d1b580de96397be489fceed1f8586f71ca471433680749e7f71f47bf5964af8f3771b1d8dbebb10430c2ab752a844c69baf15c88437c2298eb5b620 SHA512 5137433e37de382e6e65880279f841a30d41842c23cb2772008770dcfefc916fe0301f7e107a5c882f6980c67fbd66c8ef052726b81c8bce03a3269bc33df826
26 +DIST patch-5.4.161.xz 3511784 BLAKE2B 962acb4e8c823a3e245d0a7f07f9104b5e0efc50243d24cfb98f180c9e5d276694735c899694f36917362d1a0f376dc6d7fdfc9cfff94b935aa840178c6c16ac SHA512 3d6e79bc0a6217ae14ef7aae18fc595c8138e95d0e0e0857695cb147e2a17f70dc27cb302ba3890e52a2553ec2f95063704b50c1191369ec92a24a4c90eee807
27
28 diff --git a/sys-kernel/rt-sources/rt-sources-5.4.161_p67.ebuild b/sys-kernel/rt-sources/rt-sources-5.4.161_p67.ebuild
29 new file mode 100644
30 index 000000000000..50276aa2db47
31 --- /dev/null
32 +++ b/sys-kernel/rt-sources/rt-sources-5.4.161_p67.ebuild
33 @@ -0,0 +1,51 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI="8"
38 +ETYPE="sources"
39 +KEYWORDS="~amd64 ~arm64"
40 +
41 +HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
42 +
43 +CKV="$(ver_cut 1-3)"
44 +K_SECURITY_UNSUPPORTED="1"
45 +RT_PATCHSET="${PV/*_p}"
46 +
47 +inherit kernel-2
48 +detect_version
49 +
50 +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
51 +RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
52 +RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
53 + https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
54 +
55 +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
56 +SRC_URI="${KERNEL_URI} ${RT_URI}"
57 +
58 +KV_FULL="${PVR/_p/-rt}"
59 +S="${WORKDIR}/linux-${KV_FULL}"
60 +
61 +UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
62 +UNIPATCH_STRICTORDER="yes"
63 +
64 +src_prepare() {
65 + default
66 +
67 + # 627796
68 + sed \
69 + "s/default PREEMPT_NONE/default PREEMPT_RT/g" \
70 + -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
71 +}
72 +
73 +pkg_postinst() {
74 + kernel-2_pkg_postinst
75 + ewarn
76 + ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
77 + ewarn "If you need support, please contact the RT project developers directly."
78 + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
79 + ewarn "the ebuilds."
80 + ewarn
81 +}
82 +
83 +K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
84 +${HOMEPAGE}."