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: Sat, 15 Aug 2020 14:26:50
Message-Id: 1597501569.6f8b60dffaf789eef4d1e140a2cd5b6ab14423e2.alicef@gentoo
1 commit: 6f8b60dffaf789eef4d1e140a2cd5b6ab14423e2
2 Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de>
3 AuthorDate: Sat Aug 15 11:21:28 2020 +0000
4 Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 15 14:26:09 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f8b60df
7
8 sys-kernel/rt-sources: Add rt sources v4.4.231-rt202
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de>
12 Signed-off-by: Alice Ferrazzi <alicef <AT> gentoo.org>
13
14 sys-kernel/rt-sources/Manifest | 2 +
15 .../rt-sources/rt-sources-4.4.231_p202.ebuild | 54 ++++++++++++++++++++++
16 2 files changed, 56 insertions(+)
17
18 diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
19 index 6461af48bce..6edd08fcbc5 100644
20 --- a/sys-kernel/rt-sources/Manifest
21 +++ b/sys-kernel/rt-sources/Manifest
22 @@ -32,6 +32,8 @@ DIST patch-4.4.220-rt197.patch.xz 195660 BLAKE2B 8389f2f9a44dc0958b3c539e43206c0
23 DIST patch-4.4.220.xz 3087092 BLAKE2B b54eb20b694f044be27a3b6f49597c24d85c917709124c0407118342802c209e4a72ac9181df4f9bb0ff558a465deaf1ec5f4d646a9c6fb6545c2201488f7638 SHA512 63ae7556b3d4c1eebfd1f8f316493ffb4d0dd600208877336830e0b88d513306c34d5047cd302810183b10742a311e340c24cd80af9f60deedba505afc4d62ea
24 DIST patch-4.4.225-rt198.patch.xz 195516 BLAKE2B 758edb3537be07f105dd1327ff859706aa4b9a9eaa472f369696c37248b123ba75132bbdbdd36eedcf43215d33ebf7004da7cffe5d5ce636a8147ac99f6b9efc SHA512 b94aacd9dceb2cc836d25ce60de9ce149a5066c3f3d50b1c3b6c1584f0d3e7ca935116d665a064adeaec11ceda6bd1b15e4a9c20db40a4b0334e3d9325f66f0f
25 DIST patch-4.4.225.xz 3180784 BLAKE2B 10a5d1e65b267f9dfa10c97ee873b128647150f3092de3442f363b500f120d87e3318e4db7c74358ab2da5dcec4f1cf8ca084aa7b239b3c064b09c2515931bd5 SHA512 f94665e755f0a79b97a4d77fa712be97d0af040cf90805e372664f9393138b0f6cd3f5cd7180e4c095fb6cc498fbc7a9358e4f9d1490f99575ad82a6cbe043f1
26 +DIST patch-4.4.231-rt202.patch.xz 195124 BLAKE2B 4eefc64ef491054092078edd764cc376793fec9fd6e1f88c1fd06abe69c59418e29f6b4c25668b711ad7683b8d8518db89a2eccb9785bd7f0731ee8340193abb SHA512 55c06564f0dea80dea8462be653c28bafba7fcdfd44c774f348aaeb6bf84cc9e88985713a4d8c48c8d257045f710fde46587ed336c62d3933b98c798e9f6c41f
27 +DIST patch-4.4.231.xz 3240736 BLAKE2B 75b0c92171ec12571a704f817c2d020f27dd945b68481936c0d3cd9332cfa44447aa85630f60685805477cee61c8c6ed894b70d5651afea1b8784a28eb0d32f3 SHA512 05884136475aca92e212866908afca8a5fffdfe7d1127fc64a5b60dc638955e92c94509d483d7e603ebdf466d85646083fc7ef468a60b4c096d48d5a38786f81
28 DIST patch-4.9.224-rt144.patch.xz 175820 BLAKE2B 66e601ebfa393644671c181c8131bdb09f48ce20c50b9ca8026661cfce263e325cefff6d3cc3bc9aa35bfeb0ba0a354f2e7fe2acc6e3dced3434f387981ca1d7 SHA512 104397378ede87f1c3cee0a08a4d9e75e3571c0b7d5872f602d10e9c47d9ff943e914e411980abcef585bf762b842ee4872e7d0629c2a5e473b6dcce453dbafe
29 DIST patch-4.9.224.xz 3465868 BLAKE2B a13ab60afeba8ec9a4f797d67e505cf453b7590f617b695b416896e8eca85d083b2e718941fda882246acf7489c2f0f4f765139baedc7efd8382a5b311d52798 SHA512 df45c6c77e0d688cc5d101f98e8dc0a52383dc482d9f5d8a8970b6c7de355216cfdb62a796071ec47cef6559f1f00f839ea627c3dca36058254f3a5b335104e7
30 DIST patch-4.9.227-rt146.patch.xz 175816 BLAKE2B cd66e317e38d7f789863c21d080fed56bfd20a493900b0010e2b4b6db80f72348ca6ea999769da6dcae2d0feb3d81ef03c20f724584795692cad4a27700449fd SHA512 2a8431dde8eabd7f2be691abc6587e7f7e2dd37d0a98edfee5fc0efb2c33ec7979f282e341fb911ff4efe7bb3a98a831a1d37562e4b699043386639083686cf4
31
32 diff --git a/sys-kernel/rt-sources/rt-sources-4.4.231_p202.ebuild b/sys-kernel/rt-sources/rt-sources-4.4.231_p202.ebuild
33 new file mode 100644
34 index 00000000000..8cec2aef7c8
35 --- /dev/null
36 +++ b/sys-kernel/rt-sources/rt-sources-4.4.231_p202.ebuild
37 @@ -0,0 +1,54 @@
38 +# Copyright 1999-2020 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI="6"
42 +ETYPE="sources"
43 +KEYWORDS="~amd64 ~arm64"
44 +
45 +HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
46 +
47 +inherit eapi7-ver
48 +
49 +CKV="$(ver_cut 1-3)"
50 +K_SECURITY_UNSUPPORTED="1"
51 +K_DEBLOB_AVAILABLE="1"
52 +RT_PATCHSET="${PV/*_p}"
53 +
54 +inherit kernel-2
55 +detect_version
56 +
57 +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
58 +RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
59 +RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
60 + https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
61 +
62 +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
63 +SRC_URI="${KERNEL_URI} ${RT_URI}"
64 +
65 +KV_FULL="${PVR/_p/-rt}"
66 +S="${WORKDIR}/linux-${KV_FULL}"
67 +
68 +UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
69 +UNIPATCH_STRICTORDER="yes"
70 +
71 +src_prepare() {
72 + default
73 +
74 + # 627796
75 + sed \
76 + "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
77 + -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
78 +}
79 +
80 +pkg_postinst() {
81 + kernel-2_pkg_postinst
82 + ewarn
83 + ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
84 + ewarn "If you need support, please contact the RT project developers directly."
85 + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
86 + ewarn "the ebuilds."
87 + ewarn
88 +}
89 +
90 +K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
91 +${HOMEPAGE}."