summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2022-07-25 01:03:19 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2022-07-25 01:03:19 +0900
commitc86fff0a4a7a26a79900284b231b0956e64badfe (patch)
treecd270132e330c6f07c66ca4a5761e5062502d4be /sys-kernel/rt-sources
parentgames-strategy/freeorion: drop 0.4.10.1-r3, 0.4.10.1_p20200629 (diff)
downloadgentoo-c86fff0a4a7a26a79900284b231b0956e64badfe.tar.gz
gentoo-c86fff0a4a7a26a79900284b231b0956e64badfe.tar.bz2
gentoo-c86fff0a4a7a26a79900284b231b0956e64badfe.zip
sys-kernel/rt-sources: add 4.19.252_p112
Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
Diffstat (limited to 'sys-kernel/rt-sources')
-rw-r--r--sys-kernel/rt-sources/Manifest2
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.19.252_p112.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 86b17151983b..6033444a97d8 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -7,6 +7,8 @@ DIST linux-5.18.tar.xz 129790264 BLAKE2B e2745a69eb70169e90505a9318a3993046eab30
DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
DIST patch-4.19.246-rt110.patch.xz 167500 BLAKE2B cfcb34ee559a54c68d63a19692e7f4a760b1e5792cb7967fd7712cb5ada63caaba1787611b6aef42a9c57096e84dc300ac976923f87bcdd6825d783e1015cd3d SHA512 84f9bc2fdc0cd278c619f3735624c0e2f87a0b185334a216f212321e6202ccbef85e3096f6589c67bd50bdd47e6772c218cfaf17d8990c29abfda4f66926eb4c
DIST patch-4.19.246.xz 4641500 BLAKE2B c399bcb74e4a9e850bc1da4ce3f34b93611a10463f9516bfd25f77647820b782166e0fff713542814e678642c122a8fc4141a0a1a95d6fbbd9f6bd8e7a20d73e SHA512 67e54d4b55cea57165f46d4b9bcdc48928f63664e0fdac4f2110a331ba16deca44b61f8f6596be6973e9e58c824cb2e042bc3cb5524a3e65b7bfd6d99b914e34
+DIST patch-4.19.252-rt112.patch.xz 166928 BLAKE2B d67eb9c6767e9b0573507c3b0f17eeb485cf25e2010ebb14b75005863f77db4c287ee38b03b994985ddd6a12c559c6ccef5f2e36e0cb3498ad8bd3155ffd6df3 SHA512 e55186a5a87217691d2a586a840d8c8d0638e6f6b7c628f216b7586b65c9c7fddaa099746241b04918df070b1067c82245aa0f25d3f7015f531d270e68c7e8e4
+DIST patch-4.19.252.xz 4753088 BLAKE2B 2b0ba6fdba076648488b931414f1e45dfd4cffd298e4f898062cc9f6f0350f1747dd01a16ad5ff5a458d7802a6ea19412a6b25fb4cc5d1405cca2b7b78ff6f0f SHA512 2c7257661bf19ffe4e473fa7e06d6fbb8b9487a39001361aaa726283632ae6b2fa0d1e9064f9102c5b69c1b66ba1c06bfc3501f2d8dcd89c81e237fc99ed3e47
DIST patch-5.10.120-rt70.patch.xz 172676 BLAKE2B aae688c5822b2a36d3a27ec0b454f5ec864175fd1067aba77decf045e802a7ce233a3b7f3acfea9e6f3870fb18cdebf5024c7af3ab19899494c4a83802bb7250 SHA512 640d48dd459973c98649e2d97c5da3ba386b3e2ff619900c1a43bc00341031c80d791a1f286ba5a6507874acd07576a4dd5ad17602a69985aa633e80eae4c4d0
DIST patch-5.10.120.xz 3176856 BLAKE2B 31b88886caffce367ce02ee5d9bb3675e7261cce4d437f1cd6015344b18a2d69ee2c9af14e831629fb1d46bb0c15ad8f068f4cb9c39767d0db1b0487f38132fe SHA512 547365f492b177872d0543faf900c07879f74f89fa5ff87dca4edbf652c29780becb1a82f0406f70de5b5db4a3a7a5226d49a967c6ffa187d639858ce9593a7c
DIST patch-5.15.49-rt47.patch.xz 80712 BLAKE2B 6c01034f63fda9d5567cb1014f54700f6491356b88a769a5e50ecd2f450bf359d613b56a0d0bdc5e888c91dab14c2908416cc38b7790680da4040042a8c32b17 SHA512 378ef0b9ed62c84721eb4c69aed226a4d25e741666992060365f42da2866be7a6c71bc5cebe8dd5cedd36f09601e738a550018172bd19e71b1ac3e171469ae21
diff --git a/sys-kernel/rt-sources/rt-sources-4.19.252_p112.ebuild b/sys-kernel/rt-sources/rt-sources-4.19.252_p112.ebuild
new file mode 100644
index 000000000000..55e6c5d1d9b1
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.19.252_p112.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+ETYPE="sources"
+KEYWORDS="~amd64 ~arm64"
+
+HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start"
+
+CKV="$(ver_cut 1-3)"
+K_SECURITY_UNSUPPORTED="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}."