summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-05-10 11:08:32 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-05-10 11:12:32 +0200
commitc962a0bdd1c68d1445ab57454ee1f483be17872b (patch)
tree7a46bd858b1f876eabdda521c9c4e451c65f26b5 /sys-kernel
parentsys-kernel/rt-sources: Add rt sources 5.6.10-rt5 (diff)
downloadgentoo-c962a0bdd1c68d1445ab57454ee1f483be17872b.tar.gz
gentoo-c962a0bdd1c68d1445ab57454ee1f483be17872b.tar.bz2
gentoo-c962a0bdd1c68d1445ab57454ee1f483be17872b.zip
sys-kernel/rt-sources: Add rt sources 5.4.34-rt21
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/rt-sources/Manifest2
-rw-r--r--sys-kernel/rt-sources/rt-sources-5.4.34_p21.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 00cabf4c02ce..ae40277633cc 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -26,6 +26,8 @@ DIST patch-4.9.215-rt138.patch.xz 175360 BLAKE2B 4fa32ddb9220a4af10eb2fef27a7852
DIST patch-4.9.215.xz 3367656 BLAKE2B 7316b3989606f079693beed84f999ec03f83082f8099b3535e622a3324e640722b6f694fc4ec906fe0f1643d5139241ae91424ab97cb7d855263e9b3df8c01b4 SHA512 60a2e0369cd8eede4f7d284afc101950ae1f5ab8e015736c8eb9384a25e844a271b305f96702c3cf07184edf7cb9a4b576fc4aa3f962ab5fd8013aaa0218f69d
DIST patch-5.4.13-rt7.patch.xz 174408 BLAKE2B f16864ce308e365c18337cd2aea6655b90a985e98021f37c04bd85716e5aa473346992ce2b76fab3d6f2562c6328e2f92b7241f974bae6e86de4c28e65619ca4 SHA512 c8f339d0ec0be917cf12699d3700998acf7fbb2c420d8fcb758e20fd35b0766ce267af74e259b7dcdb624b3a878dca70fee39d98eb35813bdfc62a7b2a781fa5
DIST patch-5.4.13.xz 488380 BLAKE2B f4f707ec221bcd1fa2b68591cb8dabffd214b6dfcb0f6dc913a1e73fa2ccf5b49de5e50da483d36246aa14e8217ac1a692db18957d85ed70bd9b177f93130632 SHA512 e500486d372b242fb8fbffc780fb0a842012d699bb494c29a392befe0fd06e4858d89d995b71627e65eb93bf53af9f7bf37e8cbaa3d9356fc00356d81fbc893c
+DIST patch-5.4.34-rt21.patch.xz 182396 BLAKE2B 5c9abc72cb4982dd14255ef222570b8dab3273e98e62aebe6378a4091d64bfa84f851377122be15d12b6f70edb591e7050d040f3c8d1aa869eca50c9da2c33e4 SHA512 b88977d43ab09108efec211a3e0024ac27d7cfe2cea6d32d5963d0698c11c4bce98312c056be0d6369cadf5aa99f1fcb33712d53cac66b3a42798a0e72dcf62f
+DIST patch-5.4.34.xz 1196144 BLAKE2B e79bb0ab3d9b17ffcac9411a98a35a385eb9d4bbb0246d62ccc72e37e5cebc8d7c6f66cfae5a8c7778f6e32b193b200ccf4b824db7fcdfdb23f74ca40fef685c SHA512 d4e276f2ae648446651dac5b0547dc42d3d7449ea6d629057f4071d6b9225dd9cd2be6ad01f786114acc4a789a62b59e8bc67b6b1e5480d4b4625258a501f4b4
DIST patch-5.6.10-rt5.patch.xz 158468 BLAKE2B 8b82e0fcaf5f79953d95355720893fbeb8fb4e5c529889c30de33b84281eac99ba37371d92df2efdeb5a40c106acbd533205a5d0457977c51978526e3d7b677a SHA512 6aaa1ee6ea648ce72d6c833aa3eb44e05013fbd253f8c1b6be79c9b10ce7b2bb79eb855539aa6f280e26c9e9973f814ddd45882dd8353b6eb9219eb66fcad0c5
DIST patch-5.6.10.xz 265024 BLAKE2B 10e617b637617ec384acdaea6566f1500ceeed6bf6682f363304db50befa89f43957d903ac9141123fd408fa715280e5fd1fa776ed233b03b41232e73bf05d50 SHA512 57860a7576149a34c1ff9277a8daee8d4ee8574270561302e4fb3916a7f4c23cf298a3a7f13ba5370ec665548b679f5340d3ce6788152b4d8d79f41009efa865
DIST patch-5.6.4-rt3.patch.xz 158852 BLAKE2B dcf9255913f52d24ce6487a879e03f69bb9e21120f31253762e4812a5cef4fa00fbf9ad24a0268ab87b0a4b1946bc50abb600f9b8ff77dccf8f969e3eaa61eca SHA512 aaeffff8d6fc9d95aea3b08cff0e9b56e60a65029d5440aa16fb19b6e4d288c4a31789fb751dfe94424ad69320fae67d6ae94014334a653fb8a8e138e296e847
diff --git a/sys-kernel/rt-sources/rt-sources-5.4.34_p21.ebuild b/sys-kernel/rt-sources/rt-sources-5.4.34_p21.ebuild
new file mode 100644
index 000000000000..a641de8f2850
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-5.4.34_p21.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+ETYPE="sources"
+KEYWORDS="~amd64"
+
+HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
+
+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/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}."