summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@kmk-computers.de>2021-07-19 20:43:59 +0200
committerAlice Ferrazzi <alicef@gentoo.org>2021-07-21 10:37:44 +0900
commit79f1adfe32f8aef1280b6e6679638b02cfc854ee (patch)
treee7efc22b97684871e679cfb1d853a9595933a4de
parentsys-kernel/rt-sources: Add rt sources v4.4.270-rt222 (diff)
downloadgentoo-79f1adfe32f8aef1280b6e6679638b02cfc854ee.tar.gz
gentoo-79f1adfe32f8aef1280b6e6679638b02cfc854ee.tar.bz2
gentoo-79f1adfe32f8aef1280b6e6679638b02cfc854ee.zip
sys-kernel/rt-sources: Add rt sources v4.9.275-rt184
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>
-rw-r--r--sys-kernel/rt-sources/Manifest2
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.9.275_p184.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 694f6b15b778..1d6c317dac5c 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -41,6 +41,8 @@ DIST patch-4.9.247-rt162.patch.xz 175304 BLAKE2B 5c481b074b9ca70bb3b978f079190d1
DIST patch-4.9.247.xz 3788468 BLAKE2B a866ac523f2612b384794cf07a18ed1a414c8d34c501fb02a7e40792e73bdc576c65e7ec77fab3f04cee4dbd4534f45811c729a6bc17f044ed2196a0fe6877a8 SHA512 4af0e2c93e70af1119f28ea68f3ed1a56226fc0e00d0ec8d12e42498623afe74cfbcd44db3087bfb7748b7148deb3836c7924369e6e6102809a40084bf242a1d
DIST patch-4.9.263-rt177.patch.xz 170188 BLAKE2B 6d8373a2064030872063942f64b4213ec51139428114b3012d93e56627ce965aa92f6d060cc648f52468b26b66b7e090ea7965872ee9cef67aa230ce852f28b7 SHA512 1ab845f4b130fbe6ab834b3638d1275285d6b681fcc67427795e3b22ef7086d154dd38d8a65f8eb548b27dc6f803871e5bda3f2af8a81db43bc0e37d8b6998de
DIST patch-4.9.263.xz 3915708 BLAKE2B 6a8bdbeac9e41263b8002fa773f5c5c0877d91a6903b2f5d1895eeac6601bdca634a568ff3d258722ccba044b2d8e675cd8d3c26a2e84ee7091a063ada94eb0d SHA512 e01713011651af09672fcba8683c815f339293cef986568c8da1eab3740d2ec1f8fa1526ab98f3fd4866342d62a6ce803a5c231caebb14c1a9b3f1a4cf6480e8
+DIST patch-4.9.275-rt184.patch.xz 168052 BLAKE2B f896a2f6ac35790e51cdd56edce2ca1d115bf3d0c78defeb2f178cf39412c4a280ce41068d340298e776226cdb436be549fdafbbb11fc5fcc1d7b0ff27340b7f SHA512 82c0615e4d6ecbd12d09c014b64913115bd5b27a92788d5c7cc9f27d5de42bde304303ff9679d3486fcc25a9901dcf177dd8b7a5bc668730bde5e8ff4d3ff885
+DIST patch-4.9.275.xz 4008012 BLAKE2B f79df47900dda5fbf517142f9aa0d6b77e73435d3534070df323635666d74feaf362689a78982c6c04155da684abdbde1347ae3236245155d59576d81340bdcd SHA512 deb78bd9699449a952486bfd155bf23f14ed68632a55923abe3e210c4ea2787c875c7975bc9b0084adfe5e34d33f334f687fa67ceec26f99c6bec70f8739deaf
DIST patch-5.10.30-rt37.patch.xz 172880 BLAKE2B b5cafb2cb4708ea5c093a25ce5900825435305c68dffdae10cfc1de958c9c09472bab6971c49a6236524d5bc8ba0ec1e15692b4da3210b6116eb534fc9ffd212 SHA512 9782f0020806f28438c4816dce8bca7fa0a90a432f583a9750b963dfb586d819d7169e9339925d665509412fcc331280b52c69b42c157d590028d6edddff069f
DIST patch-5.10.30.xz 1037532 BLAKE2B 0ec1aa0ea4ab96933f413236f45974084dc43ef80598afdf43675ce679ba4611e45b22bd4db93e02f5a7167865aeceb620df373dbf8de2ed4de67378993ddecc SHA512 7a806161b905090759694a33432ae5a1be96ddf7f6b27c0619ff542c67c9e2c6859694751fc1e5d920dcbd96a0f6b05d0aaec71767ea4c0880afda6b71806d76
DIST patch-5.10.4-rt22.patch.xz 164244 BLAKE2B e28485e4fb87a7237fafa0853da05c8c7a92d4e1de0a53387837897abb2204f63b9cf9b6a2c1798f09b32a72fac65fcdbcbf97775d38ef85ed61020484a47a21 SHA512 d925b83b257b68001dc284bb9bb690e5a1b0643b464d3e4fcf2c00ec3b23e12584a0f5186a877226fa5c8126db9e2f45abf3957dea020c28cee20780a8ba03a0
diff --git a/sys-kernel/rt-sources/rt-sources-4.9.275_p184.ebuild b/sys-kernel/rt-sources/rt-sources-4.9.275_p184.ebuild
new file mode 100644
index 000000000000..ef7d6b4dfa7c
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.9.275_p184.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_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}."