sys-kernel/rt-sources: Add rt sources 4.4.220-rt196
authorThomas Deutschmann <whissi@gentoo.org>
Sun, 10 May 2020 09:11:55 +0000 (11:11 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 10 May 2020 09:12:36 +0000 (11:12 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
sys-kernel/rt-sources/Manifest
sys-kernel/rt-sources/rt-sources-4.4.220_p196.ebuild [new file with mode: 0644]

index ea40dc2d5823995772b8e479728ad447045def37..6a3cbaa1bd30edc232789591e6277bed6cd70434 100644 (file)
@@ -24,6 +24,8 @@ DIST patch-4.19.94-rt38.patch.xz 160908 BLAKE2B 2435a9ce90b6f5c3c5fb8a6d4f09c0ef
 DIST patch-4.19.94.xz 2516876 BLAKE2B 6d7e4a676bf3d8438248f3a576a4a92ef996c0027b4225f6752398a7de289bc54cbf383407554a58c1cb22fec2a1b073a78a4cc074d824217f5b364621e756d4 SHA512 db31cbc7e7e62f65998c8f4444f9705213c0f60c623f84d5a2dc6c51c69f331354380a54a20b24da4cd3711ce4ad07d77c5b791067e47a300e655cf68e65a34a
 DIST patch-4.4.215-rt192.patch.xz 195532 BLAKE2B 282ae02d44bbaa594c1f643181107fca7b900812c98903f0e5dec34b9b6e01e841e2dd54a2fd2dca3e76b6bdfc1188768c25e225007bae7d67fb16d0d9aff414 SHA512 e2ecbc9ba0bc32d4c35dfc0537e0778b6e29c394be1f03c7c87f2f018d62e10484ad5375369b80344fcf153acc31ab728d7470e33d54f2267748deecbd6bc007
 DIST patch-4.4.215.xz 3024904 BLAKE2B f4e76fc1daa488ff8cc4af0b1591fb0587e9845e0938f7e95cbab34b22e4270a1ed7c3ada45e07077f460b9c1c435b10dc80024ebf9f880c0a0892622d19fd2b SHA512 2d5a04cd34264701119f4425d6cfa98a7497bd14fadb4c02760b3f8cc2df6437b92c79d4ae0696cf99ce629d0ae46c00a1497decca4a99b8f61a7f091964f534
+DIST patch-4.4.220-rt196.patch.xz 195592 BLAKE2B 06c485e73dbc8a74001f27998f49e75bcfc33c2c4b0d03690d8ba92dcdd8e801a6e6eef0979da0a9398266d999f8e841587ea7876c2cb1796fb1c7cbbb3062a6 SHA512 4fdcbe105f9c4fbea3ceaaae5af02e506bf35b83d5571f7c0567dae0eddc6896da9e44218df437ef8c4fe70d525ecae2be4e51245023e12c574dd53c9c90b363
+DIST patch-4.4.220.xz 3087092 BLAKE2B b54eb20b694f044be27a3b6f49597c24d85c917709124c0407118342802c209e4a72ac9181df4f9bb0ff558a465deaf1ec5f4d646a9c6fb6545c2201488f7638 SHA512 63ae7556b3d4c1eebfd1f8f316493ffb4d0dd600208877336830e0b88d513306c34d5047cd302810183b10742a311e340c24cd80af9f60deedba505afc4d62ea
 DIST patch-4.9.215-rt138.patch.xz 175360 BLAKE2B 4fa32ddb9220a4af10eb2fef27a785218803a55089d6f758bffe85eda5bf3f1cef6f873bd9e6fe8cd8013a2d5249abaec2316ff5707958cf921abd36d0fa55b3 SHA512 5d645410997f9203b75ce114c25a1588ec4e6b99beba5f82c80ee16afb42a0a5e429dd4c943ff30c3184ce5b94483fc0b4bfcf69b56fb11325f3beeca35e68da
 DIST patch-4.9.215.xz 3367656 BLAKE2B 7316b3989606f079693beed84f999ec03f83082f8099b3535e622a3324e640722b6f694fc4ec906fe0f1643d5139241ae91424ab97cb7d855263e9b3df8c01b4 SHA512 60a2e0369cd8eede4f7d284afc101950ae1f5ab8e015736c8eb9384a25e844a271b305f96702c3cf07184edf7cb9a4b576fc4aa3f962ab5fd8013aaa0218f69d
 DIST patch-4.9.220-rt143.patch.xz 175820 BLAKE2B 7e17aeafab5c5339ade88dc8dd190a9b8827535da9539c7d4512e55055b7842c0681df743c66c619faa749ff581a1b35250efafed8008e0f63859949c52e2bb4 SHA512 9630ad985e6e408221e0a21188d78b85f85477c852689df0ac6017b4b200d7aeff5afa42fc761a095216184d60c149bb9afddf2d7f7977f8e01250009722b174
diff --git a/sys-kernel/rt-sources/rt-sources-4.4.220_p196.ebuild b/sys-kernel/rt-sources/rt-sources-4.4.220_p196.ebuild
new file mode 100644 (file)
index 0000000..393e767
--- /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"
+
+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}."