sys-kernel/rt-sources: Add rt sources 4.19.124-rt53
authorKurt Kanzenbach <kurt@kmk-computers.de>
Wed, 27 May 2020 18:51:07 +0000 (20:51 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Wed, 27 May 2020 22:56:11 +0000 (00:56 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
sys-kernel/rt-sources/Manifest
sys-kernel/rt-sources/rt-sources-4.19.124_p53.ebuild [new file with mode: 0644]

index 50179dbf3ddde756a674bcf3906d4e22dec1d19d..f8e9950146dc62acbebe7856e4f432d73dce666d 100644 (file)
@@ -20,6 +20,8 @@ DIST patch-4.14.170-rt75.patch.xz 238888 BLAKE2B 27e54322cfe60eb767f44e474ac5c08
 DIST patch-4.14.170.xz 3425092 BLAKE2B b92970169dda467dc8b491fdc8a2c07f11d94a69f7bf016cec5f25cc1d5ddfc2032e9cb9f6ad76a685fe98e2a75a599e0fb3d931cbb27014f5239fe4ac341a7f SHA512 344d0cf4868ce48bf3fa5076c3ca82b090fd191ae657a490f20022b69be3bef0ca7065f12a9322cb785a5ab8bda60a3b00edd350e517516fcdc83ae1b311fc15
 DIST patch-4.19.120-rt52.patch.xz 167108 BLAKE2B 32ac4bf32f85b161b9add4125929227efc4831b8e3bce66ccc5904956cdd9003630f1db7dd0af300ef3586c06bed700102458567f9c64fa931f7ee993bed9666 SHA512 6354b0d5635dfcfa6a76fbdf4cef602cf60650da22ffe0968534587d4532dea291a4eceb29d5aac69880ffa6254a92899e26670608d1be840c9c1d6eff462596
 DIST patch-4.19.120.xz 3037508 BLAKE2B b27e94da4fa0f612881d24a8a37c6d3c317dd5051cffeff39298953f5377e6525943f9d2c9d68e7d7ffe4558ae279686a87b6216f1d591df6873d1226dde295f SHA512 42e1f3ba618a271dd5d2b7f68a9c906a2f0b354027a25b65deb0080409d5535130624f42e43a0ebb7495b531e83048aa43c4d14de83b8825d2599939ac25ad0b
+DIST patch-4.19.124-rt53.patch.xz 167116 BLAKE2B cae0de6ce1f5737c4cd732974718aa6e1cc3693a41a5422887f30d33e65e0d4d4420550200b07f447e11de86bfb8f9b515864ef6b03ab7f60f49037921b58dd5 SHA512 35a69ca535a33cd8846a90943a27596efcc5a343527ff1b62cb74a6bffaba6886eb0fa30170a0163eeebe2934d78d9b65d2692433d0c9c5938777f40545771e5
+DIST patch-4.19.124.xz 3067304 BLAKE2B 55767a7c8c2e98e24245c28f759f2cf91e40a845826599f185c83c7cbfa3b58f62deaa7b34b3fdc2ddaadf6314db4c36e7e4af4ee39e720aa1b00cc974016254 SHA512 b28b5bdad2073cf2923d6b54dc2acbae8fe4740677fd758963c8005068711edd0dce37d3e88eb6402111949d97cc0d778c4f5389ae5a9c21462a48c2626039ba
 DIST patch-4.19.94-rt38.patch.xz 160908 BLAKE2B 2435a9ce90b6f5c3c5fb8a6d4f09c0ef9b0af790394d4cb452a6df8c1cb95a8354759e742b86fe7eddfcf77f9025c98fc7bbec7ba7e671fae9e3adc518af2661 SHA512 a799e7e9763cefe4de935ebe27132922b026165b041da2eb717482296f6ae40005024351908bb84d1364fa612ec37889ea216319285e9609d0fa9ac7e56a9403
 DIST patch-4.19.94.xz 2516876 BLAKE2B 6d7e4a676bf3d8438248f3a576a4a92ef996c0027b4225f6752398a7de289bc54cbf383407554a58c1cb22fec2a1b073a78a4cc074d824217f5b364621e756d4 SHA512 db31cbc7e7e62f65998c8f4444f9705213c0f60c623f84d5a2dc6c51c69f331354380a54a20b24da4cd3711ce4ad07d77c5b791067e47a300e655cf68e65a34a
 DIST patch-4.4.215-rt192.patch.xz 195532 BLAKE2B 282ae02d44bbaa594c1f643181107fca7b900812c98903f0e5dec34b9b6e01e841e2dd54a2fd2dca3e76b6bdfc1188768c25e225007bae7d67fb16d0d9aff414 SHA512 e2ecbc9ba0bc32d4c35dfc0537e0778b6e29c394be1f03c7c87f2f018d62e10484ad5375369b80344fcf153acc31ab728d7470e33d54f2267748deecbd6bc007
diff --git a/sys-kernel/rt-sources/rt-sources-4.19.124_p53.ebuild b/sys-kernel/rt-sources/rt-sources-4.19.124_p53.ebuild
new file mode 100644 (file)
index 0000000..8cec2ae
--- /dev/null
@@ -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_FULL/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}."