summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@kmk-computers.de>2020-07-18 18:06:52 +0200
committerAlice Ferrazzi <alicef@gentoo.org>2020-08-15 23:25:52 +0900
commit36960a7131f2dc0f915098b4248e33673e85b756 (patch)
tree5b5ef797869cf02d266dc469bed515324466f9f6 /sys-kernel/rt-sources
parentapp-officeext/ooofbtools: bump to 2.57 (diff)
downloadgentoo-36960a7131f2dc0f915098b4248e33673e85b756.tar.gz
gentoo-36960a7131f2dc0f915098b4248e33673e85b756.tar.bz2
gentoo-36960a7131f2dc0f915098b4248e33673e85b756.zip
sys-kernel/rt-sources: Add rt sources v5.6.19-rt11
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de> 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.6.19_p11.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 5482bb28206..ff3a976046b 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -40,3 +40,5 @@ DIST patch-5.6.14-rt7.patch.xz 158640 BLAKE2B 81e0a0c4b4feea3abd60efe89c7ae4be7d
DIST patch-5.6.14.xz 376464 BLAKE2B 01b64288759faa67aedfded7dfca5d8d1e894a863bf7bcaf91dd8f23c8b8c9df51d2e54ac5e414a33fc3469b32c10f1d630cf2636206b8e159d602df40ad3048 SHA512 8019bf12993f43d5508845a48b250d30220a8db6db262c8b97cd3f7c73abf0d054fcdfacb671644de529ceb495b95982d693a889051fb60fafc3180bd5b4f29e
DIST patch-5.6.17-rt10.patch.xz 169292 BLAKE2B 3d4f591247d924d2cf89adc04846dc7cf8d9f58938fe7716560f97bfcc3e9c4c82f06cf1eacb8c95ef65d6f5ef624f969f849f9f3367beb9b95fb13eea3fd50b SHA512 5d5c7ff8da7a06aba70de38a03cfd25a4f3913c79d6723fd44a88fd7a5e9478a925587fda278b8552d14868c1c9c460105eb96fd2d80c3ce2043309e9cdedbad
DIST patch-5.6.17.xz 466208 BLAKE2B 53d4753419b6500625da870212a164f535f5b41135005f87fb0c335430dbd6512a24fff3ff6071167893bed7a46c74a101031c26612821f4b9bf317eccec2fb9 SHA512 be922570e079a5bab8d23b504050afccca9e94b149e1460c49b78054735afe2469b5b49d056120eee5d774fff90059772ac105f7fa476d052d9cb18f81688846
+DIST patch-5.6.19-rt11.patch.xz 169352 BLAKE2B ab6de55cac59c2bd2d29009aea8db129c85ac0c816186b1c8561062f49eb91fc384dbad6003e4f4b63989eed6e614116ce189270d2fc7081b89d031c8af1a0ee SHA512 522bae99bbfb272deb71700b0e3bb5bb8b43253e8c94ff6fb902d6584ea54700722afede9a6ccb3ba1a6b99eb7f6a82e4872ee807aa0b28cc8d75ab7fc5f3fa4
+DIST patch-5.6.19.xz 518428 BLAKE2B f99d824ecf8be4b984cdab43d5ef838bf9da017ee800a1cc09eaf19596add9c1199ea68b0b581e8560a56a8f94ca35b5914a26d1340f5c42c1bc699708e77ce5 SHA512 f967f9ffc12249db757bd38fd890ac69d327f23bcb767ffa0c178aa7e541bb4a10715664d703315ac3b96ed35909046350f97752c2a4691526ad55a9f03f2c24
diff --git a/sys-kernel/rt-sources/rt-sources-5.6.19_p11.ebuild b/sys-kernel/rt-sources/rt-sources-5.6.19_p11.ebuild
new file mode 100644
index 00000000000..12c5881dd44
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-5.6.19_p11.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 ~arm64"
+
+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}."