summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2022-01-06 21:54:55 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2022-01-06 23:06:29 +0900
commitefa1a38fd885c3f093cdb0d0d7a52e51c96c0760 (patch)
treed86c5842cb9449cf4a973c97e0170928eaffeda0 /sys-kernel
parentsys-kernel/rt-sources: Add rt sources 4.14.256-rt125 (diff)
downloadgentoo-efa1a38fd885c3f093cdb0d0d7a52e51c96c0760.tar.gz
gentoo-efa1a38fd885c3f093cdb0d0d7a52e51c96c0760.tar.bz2
gentoo-efa1a38fd885c3f093cdb0d0d7a52e51c96c0760.zip
sys-kernel/rt-sources: Add rt sources 4.19.223-rt100
Package-Manager: Portage-3.0.28, 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.19.223_p100.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 47939f3e23f8..115ff67ac3c3 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -15,6 +15,8 @@ DIST patch-4.14.256-rt125.patch.xz 240256 BLAKE2B 8dacc2ff04114b72e92a3e7cb30039
DIST patch-4.14.256.xz 4525004 BLAKE2B c35a6ebee7ea0feb96bf5750727cd41a0ff657faac4cd11594728e856403fc4d951493dbf5f49ab3d2f298d13034d81bf79bb165ba81266ad347aff4d2eb38ff SHA512 21c31f6e22e3e7ac384b98bddf27756788b86424739a94db9d1e1156a336e6ab29cc044a0b67759ff61cc138bc304adadc786c64f31fd25a33b981de04024a19
DIST patch-4.19.217-rt95.patch.xz 167328 BLAKE2B 7600f11cc18a8620f6af8afbddfcfec7cde77796fb40a98c2455e6cde39cead4fafab978667c925929303623e4708b22c21e11319c99b15039cdb7b4317d466a SHA512 b90fdab2244a7dcb7ba952fee86443f8bbcb7041cc04406c48eea983b9b7eda38d61c4ba5f4c76c9cf323a7fa14d80f6715724406208b669ed97137c0e2f9a4c
DIST patch-4.19.217.xz 4303240 BLAKE2B 5b2084ca75410640b2c4897be03a1022e1b10e22e54347b315562d0ad76ebc4b0f71ba679a61845cbe9be5c813103e4e9932066c177b7c81257ec78a587fdecf SHA512 033e2007583ca5ffd01e6c1cefc8e6ca3523333ce34e9331d1c1cd9734ab93a28032257042c783cea364394d7cfe25e53abee6b845fb185b3cf77a80bbfa50c4
+DIST patch-4.19.223-rt100.patch.xz 167312 BLAKE2B a1f2cbdd552d853953144cae34b603d365ed89e4e7a649e113398691859c9c973e108afb2e133dd63b7fa2db755cd2a6d49389d7b8800039bc96c6dcea35bfc9 SHA512 27bba8603efbcc4bb5e8959ddee7368a9cc15098d4b2794d7ccb1a809f713606f6297ea9fc7b5e520cb725863bbd3ac6a4a9cdbd69a174a300133879d1ea47e6
+DIST patch-4.19.223.xz 4420744 BLAKE2B 9044f9986d75255acda121437209f5d82401e9262458606089b1e96fa023052e3506ba80dbed8bc463223e386f704f9c1714af5ffc8dc932ddc5691482d4652f SHA512 a6ff2a3f4ef89df63ac888ead5bbc6e99ac155a7fe1e9bbf913f6bd4b396308b635f25e96573933b15e2c82a7981383f6bcbc7e0a77f0be784bc94dc8972bd4b
DIST patch-4.4.277-rt224.patch.xz 194960 BLAKE2B f3007567996d6959bf8d266dd2c4b522c7a43e834ef4f394125b96dea764621ccdd8224a05353894d192c535787fec2c64a049523ae5f7f664aa39c29ab223d3 SHA512 b8def16e0738ee25e4cad45880776b3434370bd7bdc3c3548541ee3a90c8c1f093670063c7871f59b07ca0037041794078ce85fc1ec6475dddad977ccc6f8cc7
DIST patch-4.4.277.xz 3615816 BLAKE2B ca88745d191bc1f10967f11ed65ecd98f45ba5696b17177544ab5f959ac97d224a56d321fce7381c37136532d72b9bc9374ecac8725822a9f282c43145b25342 SHA512 dd5688365b947409eb65395ca2a903acddcd86183162c31df0f2f40eaa04746b2d3bed6e81a9594f0b18afd4cdde4bf3dd5ec407356c0199935483ad38339b91
DIST patch-4.9.286-rt189.patch.xz 167596 BLAKE2B 1b9b26ad403b67e86be2df16e2cb264cb66333a733f2b3ae079ac4dfe09328ebd6c0381086e9415fd18a2ae885686529a5777c030e29460a2eaceba6cf603257 SHA512 8f0f0a5331172410fb554564a80cc9f88db11a0e2808d6ab6ae138e2accfc4a4f3140db992b4da0481d7893a6b98cd89cc38c24050bdab2935083ac3889e07f6
diff --git a/sys-kernel/rt-sources/rt-sources-4.19.223_p100.ebuild b/sys-kernel/rt-sources/rt-sources-4.19.223_p100.ebuild
new file mode 100644
index 000000000000..55e6c5d1d9b1
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.19.223_p100.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}."