1 |
commit: fe62780ba9abbbc7b1e57d919052a4c98e41608b |
2 |
Author: Alice Ferrazzi <alicef <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 31 04:35:47 2022 +0000 |
4 |
Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 31 04:35:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe62780b |
7 |
|
8 |
sys-kernel/rt-sources: add 5.4.209_p77 |
9 |
|
10 |
Signed-off-by: Alice Ferrazzi <alicef <AT> gentoo.org> |
11 |
|
12 |
sys-kernel/rt-sources/Manifest | 2 + |
13 |
.../rt-sources/rt-sources-5.4.209_p77.ebuild | 51 ++++++++++++++++++++++ |
14 |
2 files changed, 53 insertions(+) |
15 |
|
16 |
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest |
17 |
index 452c3dba68ca..fd53aaf47e79 100644 |
18 |
--- a/sys-kernel/rt-sources/Manifest |
19 |
+++ b/sys-kernel/rt-sources/Manifest |
20 |
@@ -12,3 +12,5 @@ DIST patch-5.15.55-rt48.patch.xz 80184 BLAKE2B 707bfc30c824b3e58a99fb6f188666a5a |
21 |
DIST patch-5.15.55.xz 2199420 BLAKE2B c190a25360df8be15a33c3bcff69c86d3def4d41490d6b382eb3d5e9e09265ca29233b327e8099f73a3630b7c2c8641874fd76c03ff26d8f05c26aafd23f35a3 SHA512 ca57514bc525f1fae396ee4ff445a9c9d24e3ad8cf424a1cec39a905d85a81dc7e04f17052214cd4554301946b489e5fe3b671d35b64512c75b590b8382c29ef |
22 |
DIST patch-5.4.193-rt74.patch.xz 184160 BLAKE2B 02988c8f7856292a6e56aca99b7721be85b4356c4a52218a4bddb9bd1790edccde31f367eb8abf6783aa30a08626fc1c7aabf65a1eb909e76a64dbe5661149ea SHA512 dddd2077b070566135e303cfff3687e9cd72ceb3479f9030d13caec9b29cb4ecfaf2691ed34973c5a14b431c7de8f952a4544c78e5119b1e366c1748eab6c95c |
23 |
DIST patch-5.4.193.xz 3907812 BLAKE2B a9d3eb2186f8f29d2164f4b3ee1ed0339969890b0ea007c8b03a5f08d2fe6aba7239112af2c661d0e147481dcddec5931f67504f752e4aba73da1c6b5a648244 SHA512 6166943e76285ae6c48fe2ebf6d057c39c18d268869c3c03620883f3e087eb3378293799e601ca3f2e948ed24e52afac0f04df808e23d7686844ec24d812b26e |
24 |
+DIST patch-5.4.209-rt77.patch.xz 183176 BLAKE2B c17a15064404b6f5ebc0a96516dddd6dbeae193202f135f6869d6bc21f259c1596210c914891c8ea27a53295559fd437333326c913225693596ef00b8e717af9 SHA512 6e0e85470b5589bc53a80f5ff217765854817c7e81bb0e482a0a60616ca2b3726d5dedb4bdc081204caca3b0d49d70e2f1cace4bcceb57489460c3bda1f01dca |
25 |
+DIST patch-5.4.209.xz 4137436 BLAKE2B 97a20293ac37a7e9b1512a153da1937b0f457e3b262abff0fca39e3d2c6f0cd3371dbfdb9d0c98d2ab1d3770b963e541a9e0e1bf80ac37869a6dcbcfbf3d7ee9 SHA512 e67118e2a5fa5b9e280e2f2e3541c5eca4fe282492c5314ad0344b39dff3e796ad69ebe31c7a5f47a291986520191622d83c96110eafd562b85603833d9ced66 |
26 |
|
27 |
diff --git a/sys-kernel/rt-sources/rt-sources-5.4.209_p77.ebuild b/sys-kernel/rt-sources/rt-sources-5.4.209_p77.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..55e6c5d1d9b1 |
30 |
--- /dev/null |
31 |
+++ b/sys-kernel/rt-sources/rt-sources-5.4.209_p77.ebuild |
32 |
@@ -0,0 +1,51 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="8" |
37 |
+ETYPE="sources" |
38 |
+KEYWORDS="~amd64 ~arm64" |
39 |
+ |
40 |
+HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start" |
41 |
+ |
42 |
+CKV="$(ver_cut 1-3)" |
43 |
+K_SECURITY_UNSUPPORTED="1" |
44 |
+RT_PATCHSET="${PV/*_p}" |
45 |
+ |
46 |
+inherit kernel-2 |
47 |
+detect_version |
48 |
+ |
49 |
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" |
50 |
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz" |
51 |
+RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \ |
52 |
+ https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}" |
53 |
+ |
54 |
+DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch" |
55 |
+SRC_URI="${KERNEL_URI} ${RT_URI}" |
56 |
+ |
57 |
+KV_FULL="${PVR/_p/-rt}" |
58 |
+S="${WORKDIR}/linux-${KV_FULL}" |
59 |
+ |
60 |
+UNIPATCH_LIST="${DISTDIR}/${RT_FILE}" |
61 |
+UNIPATCH_STRICTORDER="yes" |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ default |
65 |
+ |
66 |
+ # 627796 |
67 |
+ sed \ |
68 |
+ "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \ |
69 |
+ -i "${S}/kernel/Kconfig.preempt" || die "sed failed" |
70 |
+} |
71 |
+ |
72 |
+pkg_postinst() { |
73 |
+ kernel-2_pkg_postinst |
74 |
+ ewarn |
75 |
+ ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way." |
76 |
+ ewarn "If you need support, please contact the RT project developers directly." |
77 |
+ ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" |
78 |
+ ewarn "the ebuilds." |
79 |
+ ewarn |
80 |
+} |
81 |
+ |
82 |
+K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \ |
83 |
+${HOMEPAGE}." |