summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2021-09-17 21:54:57 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2021-09-17 22:02:36 +0900
commitca19ac8928bd9c6907e1601d3068c7255ebcd0d4 (patch)
treec02209655364c9f4dcc47a2bf18a07d617ad69b3 /sys-kernel
parentdev-python/bsddb3: enable py3.10 (diff)
downloadgentoo-ca19ac8928bd9c6907e1601d3068c7255ebcd0d4.tar.gz
gentoo-ca19ac8928bd9c6907e1601d3068c7255ebcd0d4.tar.bz2
gentoo-ca19ac8928bd9c6907e1601d3068c7255ebcd0d4.zip
sys-kernel/rt-sources: Add rt-sources 4.14.246_p122
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/rt-sources/Manifest2
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.14.246_p122.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 97899ff4f4ca..fa1d2ef90b19 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -14,6 +14,8 @@ DIST linux-5.14.tar.xz 120669872 BLAKE2B 0047f5aaa3940dff97f4055ef544faafbbb5282
DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
DIST patch-4.14.244-rt121.patch.xz 240852 BLAKE2B cc9fb8f9c1da3b79d1650265d6221e02520ba99b63cfbc818a72424368a9ed0c8fa9a96fe5d0fd35390c813f925d9dfcadebc3721a09564eb850995e15b4a6c3 SHA512 9e6e94312dabeecbcf1e920e88d6ed81b5c1ffb357a4fe236c907e7045ee9c13160d58bc72c39dafad7fc605bd687c917d83d4ba298718b1ad533d224a664559
DIST patch-4.14.244.xz 4402020 BLAKE2B abef5c83a2fb0a3fbb7586aff107cec6b23fbc2ca8f842288165bbf8357877ea8874b28fa7b5306debf0daee406abe75e54e21abc57b0d81013219d7e79fbe10 SHA512 78bf4bb084febdb0ea0a25878ca286e39d1f27dae8d07ee8784bb118b2d0536c06b452ea1a0e04b7da4c7490b1baf6992f5de94fbc62c7f10c4367caec683787
+DIST patch-4.14.246-rt122.patch.xz 240808 BLAKE2B 71be78abc22007ed8126f72413434eb9223b99bb8d1a44ebb6739f6cc5563f5942ad2b681ae1bad413e5c4f8486bcc0e6fb3a7de4b3fad56052d6d911177f8e8 SHA512 db74da2a978bf00afb66a45e67c6e7cb8ba9029fd4dba44fa6537886dc4c385cc13fe64b9f4aec1f581bfa0b105c4999a1b5ba9a7115d82b10dc149543f6de3f
+DIST patch-4.14.246.xz 4415572 BLAKE2B 44f11b17b7056755d2c4054916256e61c9556ee7cb4a99b09e10bbb7eac25d8150c8fa285c44a9e0efd7ca5073da5c05edb41fbfcb7d1af236a1734f233ad449 SHA512 a311e632a70554d11fd633d777c1dda9e7d0976b81a0d79dbfcdd968e513feb35686f6617ffd86e22365db3d80fffd7c4317dfdfd5fbcc1af19fca28015d1c39
DIST patch-4.19.199-rt86.patch.xz 167380 BLAKE2B dc158ffba89f85b16995180176c7faa8dde998082b7c9a2a98c846e2214884bacab75c81fb3f3de38ccf0571e797660486dca8d0ce6096bbd431a05d4aafc196 SHA512 59fc0db473bfd82a60fdb073ff58ec952321d5ac6659289c48295640eb4d7f8228c5b8303aaf2c307b5375bf70d5b0e2d4605e885de57b2f6edaa49ad0571f2c
DIST patch-4.19.199.xz 4162120 BLAKE2B 1c6a9625436f1cb7b985f441a045fdadf99494d2cfe4223df1bb77923a39bea21e1d3325b8f6cb2ac358f036b97f9ccaf522a772566acb24bf0406c2579209db SHA512 d7258eacbbc070f6423af83b9d7a3bc3990ce5f65a33e701bd627df1350e9a0870176d8f654375042064efc0af9ec903d42ce75b321e6096300081035dfb40eb
DIST patch-4.4.277-rt224.patch.xz 194960 BLAKE2B f3007567996d6959bf8d266dd2c4b522c7a43e834ef4f394125b96dea764621ccdd8224a05353894d192c535787fec2c64a049523ae5f7f664aa39c29ab223d3 SHA512 b8def16e0738ee25e4cad45880776b3434370bd7bdc3c3548541ee3a90c8c1f093670063c7871f59b07ca0037041794078ce85fc1ec6475dddad977ccc6f8cc7
diff --git a/sys-kernel/rt-sources/rt-sources-4.14.246_p122.ebuild b/sys-kernel/rt-sources/rt-sources-4.14.246_p122.ebuild
new file mode 100644
index 000000000000..6b7a4acca86e
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.14.246_p122.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 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}."