From 074d5b8cabc3d3cf07781d821796cee3d6c37064 Mon Sep 17 00:00:00 2001 From: Kurt Kanzenbach Date: Wed, 27 May 2020 20:56:41 +0200 Subject: [PATCH] sys-kernel/rt-sources: Add rt sources 4.4.220-rt197 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Kurt Kanzenbach Closes: https://github.com/gentoo/gentoo/pull/15986 Signed-off-by: Thomas Deutschmann --- sys-kernel/rt-sources/Manifest | 1 + .../rt-sources/rt-sources-4.4.220_p197.ebuild | 54 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 sys-kernel/rt-sources/rt-sources-4.4.220_p197.ebuild diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest index 7414f6024cbe..2ea5d771d061 100644 --- a/sys-kernel/rt-sources/Manifest +++ b/sys-kernel/rt-sources/Manifest @@ -27,6 +27,7 @@ DIST patch-4.19.94.xz 2516876 BLAKE2B 6d7e4a676bf3d8438248f3a576a4a92ef996c0027b 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-rt197.patch.xz 195660 BLAKE2B 8389f2f9a44dc0958b3c539e43206c0516bec15054f3454680ca2bbb74f87318874f8b62386f5d8f5a4c772bbda00e007918fc42132588790297c1a289475bf4 SHA512 2cf124142290330cb2d533fe23ce5d19c164ce01d8ccd2d62900f58229096aa059c66223163930f1522b5ed2bf6aa197b27f2877dd4dffc152369b9755906891 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 diff --git a/sys-kernel/rt-sources/rt-sources-4.4.220_p197.ebuild b/sys-kernel/rt-sources/rt-sources-4.4.220_p197.ebuild new file mode 100644 index 000000000000..8cec2aef7c8f --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-4.4.220_p197.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_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}." -- 2.26.2