summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2022-07-25 01:10:56 +0900
committerAlice Ferrazzi <alicef@gentoo.org>2022-07-25 01:10:56 +0900
commit27bcc0da4dd038097bdc4331fe705297740aa6fa (patch)
treef87cfe9bc1d10bf65dfb7bbc7f58c5baa89439a3 /sys-kernel/rt-sources
parentsys-kernel/rt-sources: add 4.19.252_p112 (diff)
downloadgentoo-27bcc0da4dd038097bdc4331fe705297740aa6fa.tar.gz
gentoo-27bcc0da4dd038097bdc4331fe705297740aa6fa.tar.bz2
gentoo-27bcc0da4dd038097bdc4331fe705297740aa6fa.zip
sys-kernel/rt-sources: add 5.10.131_p72
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-5.10.131_p72.ebuild51
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 6033444a97d8..f0d558aaadc7 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -11,6 +11,8 @@ DIST patch-4.19.252-rt112.patch.xz 166928 BLAKE2B d67eb9c6767e9b0573507c3b0f17ee
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.10.131-rt72.patch.xz 172172 BLAKE2B fa0be15fea059e023e7457869dc92a583010b4c5f2504c0e758c4f005028a19f0616e6e909b11a3106be9e0ed4cfcc6244a716b4bace2b02691e842b906ac941 SHA512 500a61a5572e8d252f99337f435db2494deecc438d340e427de4fe772c9dc6b141834e2f6eb05b25527fe0ee7bfcc6a5dbda1f232e8af11f8199fd361c447ebb
+DIST patch-5.10.131.xz 3385312 BLAKE2B 525121ea96691308ee052b79e4e1fc77c84a5f9477639a4e7aac5ef2d043cad0fe321e203add00d24da302747f33e7ac7f05e99ee75fe90ef514501efe5750b0 SHA512 fc45127c2b3b5b7b596b80544aef38dac2e838f139c92f59e5f068b3431fadd9ac3f249f58f35ff6bb60003ed48b0a57f969d12d0c793d64060b27ff8616b493
DIST patch-5.15.49-rt47.patch.xz 80712 BLAKE2B 6c01034f63fda9d5567cb1014f54700f6491356b88a769a5e50ecd2f450bf359d613b56a0d0bdc5e888c91dab14c2908416cc38b7790680da4040042a8c32b17 SHA512 378ef0b9ed62c84721eb4c69aed226a4d25e741666992060365f42da2866be7a6c71bc5cebe8dd5cedd36f09601e738a550018172bd19e71b1ac3e171469ae21
DIST patch-5.15.49.xz 2063880 BLAKE2B 4e9854bff7a83ff8286c7df94e7ff58258db4f848aabdeca90ee792c05e07aa5696158966e9166b8b716d20733fe41accc895ab8f5dbe630797fb2a86228a767 SHA512 08ede2bc8363a24a6f843021fee93ebe46d2bc01d2bf732fa140bbd5aa99130f00ea021b2b86a49a021a48368fe4d2e848604c7d86a801d268df83c02a183cab
DIST patch-5.18-rt11.patch.xz 59344 BLAKE2B 6ebe9b4b799ac20af5ebab918b34dd408140e7a67159e659d5638100bfe2fad4fe075c87becee6bf2cf19febab3f64b960e748517dfbd6961f172beb8efd6a43 SHA512 d86c9805b24f0385c0b4b0d0f66623a965d561b49d7cf01e12fd49382296b14114363d72828bbfd4b608678f17d211e72b5ac7a3bebbbc5b9ec6f6c236ebfdee
diff --git a/sys-kernel/rt-sources/rt-sources-5.10.131_p72.ebuild b/sys-kernel/rt-sources/rt-sources-5.10.131_p72.ebuild
new file mode 100644
index 000000000000..55e6c5d1d9b1
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-5.10.131_p72.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}."