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: Fri, 17 Sep 2021 13:03:29
Message-Id: 1631883777.345fa7148202ae2bb01357d585265373b59bd677.alicef@gentoo
1 commit: 345fa7148202ae2bb01357d585265373b59bd677
2 Author: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 17 12:57:07 2021 +0000
4 Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 17 13:02:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=345fa714
7
8 sys-kernel/rt-sources: Bump revision of 4.4.277_p224 to EAPI=8
9
10 Package-Manager: Portage-3.0.19, Repoman-3.0.3
11 Signed-off-by: Alice Ferrazzi <alicef <AT> gentoo.org>
12
13 sys-kernel/rt-sources/rt-sources-4.4.277_p224-r1 | 51 ++++++++++++++++++++++++
14 1 file changed, 51 insertions(+)
15
16 diff --git a/sys-kernel/rt-sources/rt-sources-4.4.277_p224-r1 b/sys-kernel/rt-sources/rt-sources-4.4.277_p224-r1
17 new file mode 100644
18 index 00000000000..6b7a4acca86
19 --- /dev/null
20 +++ b/sys-kernel/rt-sources/rt-sources-4.4.277_p224-r1
21 @@ -0,0 +1,51 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI="8"
26 +ETYPE="sources"
27 +KEYWORDS="~amd64 ~arm64"
28 +
29 +HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
30 +
31 +CKV="$(ver_cut 1-3)"
32 +K_SECURITY_UNSUPPORTED="1"
33 +RT_PATCHSET="${PV/*_p}"
34 +
35 +inherit kernel-2
36 +detect_version
37 +
38 +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
39 +RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
40 +RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
41 + https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
42 +
43 +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
44 +SRC_URI="${KERNEL_URI} ${RT_URI}"
45 +
46 +KV_FULL="${PVR/_p/-rt}"
47 +S="${WORKDIR}/linux-${KV_FULL}"
48 +
49 +UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
50 +UNIPATCH_STRICTORDER="yes"
51 +
52 +src_prepare() {
53 + default
54 +
55 + # 627796
56 + sed \
57 + "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
58 + -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
59 +}
60 +
61 +pkg_postinst() {
62 + kernel-2_pkg_postinst
63 + ewarn
64 + ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
65 + ewarn "If you need support, please contact the RT project developers directly."
66 + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
67 + ewarn "the ebuilds."
68 + ewarn
69 +}
70 +
71 +K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
72 +${HOMEPAGE}."