summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@kmk-computers.de>2021-07-19 20:19:20 +0200
committerAlice Ferrazzi <alicef@gentoo.org>2021-07-21 10:37:38 +0900
commit9b889d24178cedce27c12c5e980c1427bdf3bcf8 (patch)
tree04b3c8d5f3783e80b8ef052398d49bb34f92e1ce /sys-kernel
parentsys-kernel/rt-sources: Add rt sources v4.14.239-rt119 (diff)
downloadgentoo-9b889d24178cedce27c12c5e980c1427bdf3bcf8.tar.gz
gentoo-9b889d24178cedce27c12c5e980c1427bdf3bcf8.tar.bz2
gentoo-9b889d24178cedce27c12c5e980c1427bdf3bcf8.zip
sys-kernel/rt-sources: Add rt sources v5.4.129-rt61
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de> Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/rt-sources/Manifest2
-rw-r--r--sys-kernel/rt-sources/rt-sources-5.4.129_p61.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index b68f8d5f3a78..6327bc6a6fae 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -49,5 +49,7 @@ DIST patch-5.11.4-rt11.patch.xz 129792 BLAKE2B bbc87d478a9635ebd5f1aae0cb010fdaf
DIST patch-5.11.4.xz 277800 BLAKE2B 0f1d9783baeebbd28252eecafc88892b3f76df3f19a1193f5291e84e2bb7e1f11e9a3b093135044a7e39ff1276eedffb9b35f2666995e19369b53bf95387ac92 SHA512 dc4013908431289fed4153af402f33d12c2c20b1606ed08f2c1f0988953261a21385e8d9612c7def952b04727a3b8629fb7fe8c4fa2bef4862ec6f9105359790
DIST patch-5.4.109-rt56.patch.xz 182720 BLAKE2B cf87f20f32b692e832e1a0a93a2c1b09ad40cae0d3c971f70f2fd82a68a43dc5b6475758a4d725b74c0116d39522a712353e6cb7efb3970bfa794b85e863731c SHA512 c6a8bde71e90342d2cb7cc4a085d11c93818dac2a4c29d66b1c4f5591ee1b793a98a9eb614622882492e5ec79c0fd5f93669e9bf2c3518b4a456fc7b116dc905
DIST patch-5.4.109.xz 2776096 BLAKE2B 1b705558335df5ef12ee3f01654532b7bcefe23242599c749f31ca9d2c6509a81660e8977eb43c4dd052d586d47537d9d58a82930b9587d69142211baed25bdd SHA512 2033c11b03a6cac1770dbc9188c84881538212f7ed9bc419f594b637aef88934d9602c95d3d4d20af8e0a0a56a135a25905d4a6a358fb2334c9132082b66eb76
+DIST patch-5.4.129-rt61.patch.xz 182772 BLAKE2B d6486f817dba60ddd6526fc98b1a381f5f8c6323fbaa2aff780942fbd26ece2af57c7c39e4b11c87b7bad0c607ec291f6e37ee107d3372bd9cedc1ccc8eeaae7 SHA512 4c70914fa4940d7dee257c02ab95384ccd53329306074a8f54d58481c6979762db49ddfe849c7e10b6bb82eecfdbfd89043b584c7ee281430c4772ac17a588ce
+DIST patch-5.4.129.xz 3068036 BLAKE2B ca95c9fce66dfcc83c5c8252475d79d3d6a66d3d06308520e4643854089c6051266663ae1a1f461443ab9abf24255c219beaaf235b21053981cfb0d850e711e8 SHA512 9b5cc80c89caa74b3b700b6defc5c4e214e09ac3fffb9b7cb364daaec1e81242bd3d03d36ceae7688eee43bf9fb471385ef65ef1fc477ef1a33dab0c2a516e2c
DIST patch-5.4.84-rt47.patch.xz 182616 BLAKE2B d37a562eb0dc9d0f60277e9e76479165d67187e6194f8f81bd45e7b176cbb0de2920ae5d34302c335eb16579a79b471eb52d9e78472ebdbb12979aa9602b9c9e SHA512 9135aeb5184790a41022fad6e0676fc7ee12a38aa67b87c839bc2da6ce1ccff2a46f757ad8ff22d8071dd98c9321841b8e908c549d995f0298f478814be7e6e9
DIST patch-5.4.84.xz 2416844 BLAKE2B 5cb38a3b3a3cfafb7a82299aaf059934d5b64c3d6a9ffae7f273a55b493f0fb743ec7e258b37b57e1a9900d801010bbe60e5d4b62bc1d0467268d2725837fc5f SHA512 35d05cda2e19f4af36e74607ea7fea028b203bb99bc5b1df9e7339697448cf27e276a232ba0fb1b6313cd7a102333843cdf0dfbf0b27b2a86e0565f2a11234c0
diff --git a/sys-kernel/rt-sources/rt-sources-5.4.129_p61.ebuild b/sys-kernel/rt-sources/rt-sources-5.4.129_p61.ebuild
new file mode 100644
index 000000000000..fd00d5070643
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-5.4.129_p61.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~arm64"
+
+HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
+
+inherit eapi7-ver
+
+CKV="$(ver_cut 1-3)"
+K_SECURITY_UNSUPPORTED="1"
+K_DEBLOB_AVAILABLE="1"
+RT_PATCHSET="${PV/*_p}"
+
+inherit kernel-2
+detect_version
+
+K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
+RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_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}."