diff options
-rw-r--r-- | sys-kernel/rt-sources/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/rt-sources/rt-sources-5.10.90_p61-r1.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest index 6efb4a4e7fcc..b88314d9fdf4 100644 --- a/sys-kernel/rt-sources/Manifest +++ b/sys-kernel/rt-sources/Manifest @@ -27,6 +27,7 @@ DIST patch-4.9.286.xz 4111252 BLAKE2B 5917721af806296106993d6e0af51d81e5e788732c DIST patch-5.10.78-rt55.patch.xz 173132 BLAKE2B a6e19641f9632c7179b85ae27e18c0f70b41877d3a28a39a0c45a4e296f525a8cff02709591731a4d80be8f27a796aebfc3bedfc6caa5b29cf093b4b40e8f7e6 SHA512 5a397d21d3865e965d79ad91bb4103f05f592e877fa5dd2a1fe56a6afa0c945036ca8ddb286b1674fa0add9a371ef88823f37410653b1ed4cfb2aaa53fe600f3 DIST patch-5.10.78.xz 2273196 BLAKE2B d132efd97289a022e0567245318ad27c62c4d801b94634854b8990c201c0a06ebcd7cde401541a22834f730cb2c014081893b8d3de7d59c7e7f2fa5613d1fc54 SHA512 81153a790c3c5bbdedc1610bb1fd798cc81f3574fb199891d2ed14d98c38055c85a3b74d8c5bbf0695e71a2beb54f6a588b697bff06cd672a031ad269c289f81 DIST patch-5.10.90-rt60.patch.xz 174020 BLAKE2B fc32399a70aa1082f0d7f0e60c412142dfd1dd21dcbbfc7fa85e78c8b35da05ecd469968d9b78a966cc5c1e567e6ddd0a26201afcde232a31cf5a94e42c2a341 SHA512 9535534fe99be974e34a756310b958a7575b12cbd4739414b004396e37b38bbb0c54434d3a2f6960f6a782ba0d51db51ce6cfa5bd2471feaa2db0b75da04de99 +DIST patch-5.10.90-rt61-rc1.patch.xz 174788 BLAKE2B a8ea667e4a89b05adb92828faf17e4517e6d6bf7043c911dbe3f601d057f9e5ca935f9cd4513dd502fcec158b199961e4316967696900db7f4667b8312626608 SHA512 4d9312cf58be0d8d67913ee33c4daaf9d8ea087e8fdca729c73683754c82b4628f4b8a3d29e148ecbe702dce030094fa6aaef85129cee9384b95350296be0a73 DIST patch-5.10.90.xz 2570584 BLAKE2B 3e2daae96d43729db6c62878a16578a045808d2ae99ff89666ca556fd18774f94379d83b04a2699b427ba8e630e82a31535405aa65917b86f506c5f1efcdb5fd SHA512 a4b93886cdf0fcdcc0e4dd14f1a5e39d25b27b916be95e6b4b26961a7deba1fc4e4dc1078b79ea4dd9a92d9b777d9b8b1bc27c8920b7d04ef8452040eba15828 DIST patch-5.15.12-rt25.patch.xz 80720 BLAKE2B 9afe1bba4e15e2d3eaf08270c36c729f03fc6ddabaa49d80d2a4be5103b4c269723db1a486f78d79064c533ebb19fb427dadfa545e1a991bb9afee6b75e10194 SHA512 b8bf4e921fa5e3f0e560210573e8c485d7e34beb794ddbb139a836f3e294c320bfc87a2828e55dc2568014d8a67c4e6346d07c9476f770c1e0c6395ab244bfe9 DIST patch-5.15.12.xz 620100 BLAKE2B 8ac09e5cff7465641818e24e846a014bc936e2e2f61b7d1973319d5665d45acd6be24d28430173b5646e80cf67351044165b949575baf76ccdfb46ae34fc1468 SHA512 0e2dbfa675f00ddcb72369d1aed76470ed37a0968856e00d620bdc4bc7891a1646b4f9dcf864a57c26a5b9ab6afec43c8a62ad5c7e0549aaf0e8bae2852a752b diff --git a/sys-kernel/rt-sources/rt-sources-5.10.90_p61-r1.ebuild b/sys-kernel/rt-sources/rt-sources-5.10.90_p61-r1.ebuild new file mode 100644 index 000000000000..a78670212ae3 --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-5.10.90_p61-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +ETYPE="sources" +KEYWORDS="~amd64 ~arm64" + +HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start" + +CKV="$(ver_cut 1-3)" +K_SECURITY_UNSUPPORTED="1" +K_DEBLOB_AVAILABLE="1" +RT_PATCHSET="${PV/*_p}" +RC_PATCHSET="1" + +inherit kernel-2 +detect_version + +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}" +RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}-rc${RC_PATCHSET}.patch.xz" +RT_URI="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \ + https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}" + +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch" +SRC_URI="${KERNEL_URI} ${RT_URI}" + +KV_FULL="${PVR/_p/-rt}" +S="${WORKDIR}/linux-${KV_FULL}" + +UNIPATCH_LIST="${DISTDIR}/${RT_FILE}" +UNIPATCH_STRICTORDER="yes" + +src_prepare() { + default + + # 627796 + sed \ + "s/default PREEMPT_NONE/default PREEMPT_RT/g" \ + -i "${S}/kernel/Kconfig.preempt" || die "sed failed" +} + +pkg_postinst() { + kernel-2_pkg_postinst + ewarn + ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way." + ewarn "If you need support, please contact the RT project developers directly." + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with" + ewarn "the ebuilds." + ewarn +} + +K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \ +${HOMEPAGE}." |