summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@kmk-computers.de>2020-10-30 17:49:45 +0100
committerAlice Ferrazzi <alicef@gentoo.org>2020-11-16 12:06:16 +0900
commit3ef7c3947649a028cd3dcefe25ab6dfb96cda9e9 (patch)
tree1da25faeefef2e3a7c5bfd9ad4c5ec374ab74b85 /sys-kernel
parentsys-kernel/rt-sources: Add rt sources v4.4.240-rt209 (diff)
downloadgentoo-3ef7c3947649a028cd3dcefe25ab6dfb96cda9e9.tar.gz
gentoo-3ef7c3947649a028cd3dcefe25ab6dfb96cda9e9.tar.bz2
gentoo-3ef7c3947649a028cd3dcefe25ab6dfb96cda9e9.zip
sys-kernel/rt-sources: Add rt sources v5.4.70-rt40
Package-Manager: Portage-3.0.8, 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.70_p40.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index da3544a6f2b8..524feb0fe40d 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -38,6 +38,8 @@ DIST patch-5.4.54-rt33.patch.xz 182260 BLAKE2B 82e334ed77aae742974d3b121b9e787ef
DIST patch-5.4.54.xz 1730872 BLAKE2B aa736c718423c7c6f884b9a76fdb1b24ed587d9b2c103c39f312ae1910510f592c43bb41d4273904878f5aa40e907674bc162466f719250ef38923ad896cfde8 SHA512 bd365f01e5aace4fe6322d7ab7d93df93779c1e1520e650d39fd49802dc3554b89c889830d112e19b6ce531d00bcef77f55f4a4d36e5e84224a11a1205e43789
DIST patch-5.4.66-rt38.patch.xz 182228 BLAKE2B a601bd527cb3c7d1fadb93a97a428feac01263b169ec3b5145880702763e93dfd8879784caa1e8e75604947794bf8283c62b94bba9fa684e55ac164f78bdf354 SHA512 5f47bce8d40389cb0ee5b30211d870afe165e19e315717636fcf5f5ce9e12148cde08fdc9d04755e5ebadeabe0b6dfd589d3de137c7fed303552300d6079e8b2
DIST patch-5.4.66.xz 1986812 BLAKE2B 8b3ef7187ada5046ea6c96c20352da42b97ad42f6b85aea9c81415432a04d11b62053c35469f7e109402fecd224cdbc1699498edd23831f424fca2bab0cc2841 SHA512 df326e30c763617cbe4be972c4a17159cd22028c5b0f8de788ab89ba98af728db036effb6531237285576d82d7557cf7fcefe5276f54b6cf13a252fc395fe949
+DIST patch-5.4.70-rt40.patch.xz 182032 BLAKE2B 0f911652bedb74d40bfd42a2ef0e0b7309c31152f6d94a8cb6c91e0a16e8f5af007de6f3e41145b8c1248aba34f3ee90e024b40558de073419bb70e4d12749d9 SHA512 9a325cbeaa783ddfc3e0ceafecebcf55caf65245d3beeac652db9793af064a0ab49608b2c39371ea33b058ae90fc427aeb6a300e27a716482f31a1c2226b6439
+DIST patch-5.4.70.xz 2131576 BLAKE2B 6d9dab0ec5dc84f1487d179355cf497ad9e16b7a22b69a931dab206e8617cfe52fd09a88ec8fe9070f9735c9f5cbb825c61aa6501d3851c8d2925f849146629a SHA512 a87fffe500b7f0355fe49077b4d80359b31e0721d824ba95135ba851d1b1b747ea9dfd0bc15e6133bc93132df60c4ca9ee99830acb0309866f02f9c88b7784f9
DIST patch-5.6.19-rt11.patch.xz 169352 BLAKE2B ab6de55cac59c2bd2d29009aea8db129c85ac0c816186b1c8561062f49eb91fc384dbad6003e4f4b63989eed6e614116ce189270d2fc7081b89d031c8af1a0ee SHA512 522bae99bbfb272deb71700b0e3bb5bb8b43253e8c94ff6fb902d6584ea54700722afede9a6ccb3ba1a6b99eb7f6a82e4872ee807aa0b28cc8d75ab7fc5f3fa4
DIST patch-5.6.19-rt12.patch.xz 170132 BLAKE2B f41194b4311f68f27cd58e4adadf510e9ddb68fde824e6cf31af9331a3dd3adc5284097226158d4ceadf4c738896fff347d9877e54bb7998e86f44d94025ad7a SHA512 5b6497b1c798358ae75f15b6c649e06a8db6200ce618776ac8cafc4a24e92ad4d257b10f72b8c03ba471549a3320f9a127f85530ad912ccf691538c068a07481
DIST patch-5.6.19.xz 518428 BLAKE2B f99d824ecf8be4b984cdab43d5ef838bf9da017ee800a1cc09eaf19596add9c1199ea68b0b581e8560a56a8f94ca35b5914a26d1340f5c42c1bc699708e77ce5 SHA512 f967f9ffc12249db757bd38fd890ac69d327f23bcb767ffa0c178aa7e541bb4a10715664d703315ac3b96ed35909046350f97752c2a4691526ad55a9f03f2c24
diff --git a/sys-kernel/rt-sources/rt-sources-5.4.70_p40.ebuild b/sys-kernel/rt-sources/rt-sources-5.4.70_p40.ebuild
new file mode 100644
index 000000000000..12c5881dd444
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-5.4.70_p40.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64 ~arm64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+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}."