summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-05-10 11:07:13 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-05-10 11:12:31 +0200
commitc623be667dac28435292a3ca2552d48311ea16f6 (patch)
treebd38dca1465aaa452e841768fab38ce24d60e85e /sys-kernel
parentsys-kernel/rt-sources: fix RedundantLongDescription (diff)
downloadgentoo-c623be667dac28435292a3ca2552d48311ea16f6.tar.gz
gentoo-c623be667dac28435292a3ca2552d48311ea16f6.tar.bz2
gentoo-c623be667dac28435292a3ca2552d48311ea16f6.zip
sys-kernel/rt-sources: Add rt sources 5.6.10-rt5
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.6.10_p5.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 61ee1e39a018..00cabf4c02ce 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -26,5 +26,7 @@ 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.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
DIST patch-5.6.4.xz 34744 BLAKE2B 856148010fefa7e45903da23a054429f924920f1fd331b725d00906baaf6a05fee769c5c780ae6548b4f02846f945b12012c1216411c8d92aef7499babc42528 SHA512 05607a47ee72af4a7b4d8424a3995d92d0cf358902459993908df0e95643cbfa9eec7ed56779d254b7b75ec1c8dbec5eea5e2e845f40f5511533d53b90b1c02e
diff --git a/sys-kernel/rt-sources/rt-sources-5.6.10_p5.ebuild b/sys-kernel/rt-sources/rt-sources-5.6.10_p5.ebuild
new file mode 100644
index 000000000000..a641de8f2850
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-5.6.10_p5.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}."