summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@kmk-computers.de>2020-05-27 20:45:24 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-05-28 00:56:11 +0200
commitb1b78323f4667a673f753f65bc53751862e5a329 (patch)
tree3024ce09f4fb5547b1c5eee739219382a8e953bf /sys-kernel
parentsys-kernel/rt-sources: Add rt sources 5.6.14-rt7 (diff)
downloadgentoo-b1b78323f4667a673f753f65bc53751862e5a329.tar.gz
gentoo-b1b78323f4667a673f753f65bc53751862e5a329.tar.bz2
gentoo-b1b78323f4667a673f753f65bc53751862e5a329.zip
sys-kernel/rt-sources: Add rt sources 5.4.40-rt24
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de> 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.40_p24.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index bb439b340ee7..50179dbf3ddd 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -34,6 +34,8 @@ DIST patch-5.4.13-rt7.patch.xz 174408 BLAKE2B f16864ce308e365c18337cd2aea6655b90
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.4.40-rt24.patch.xz 182360 BLAKE2B a122674247ad8ea4ebacb97dc870bfce04f637ce9b96d656f45508d6b3397b6dbdd2dc7116ba7cd57cae08c824b7d2576e502bb8b66fa2f42facef62cd46f11e SHA512 852e6df5862b09c3c4f3e34e6bac01577c813dc646fdbbddbf2712af74b102c42e7455411b2a63927eb98bda5bf5ad2c478f2240a329b25b326d397c54d3ccd0
+DIST patch-5.4.40.xz 1309032 BLAKE2B cb06b3177762c5401801e71cd089f6f40f2582dff9b00618f3647152d70813bff0c5a7c6cd9bfdccd5ca5ecc7be3f57aafbd7d5bfc7e0fdde27dade1e189bb36 SHA512 20c19808a7e2af62ea93a4ae187db5e80078da8c4b268424c8d6f945a98eeb0ce7b1f09086813fbd9a9220ff5f062c1fcb8292abedfdc7f9d23a2d804898cd16
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.14-rt7.patch.xz 158640 BLAKE2B 81e0a0c4b4feea3abd60efe89c7ae4be7dd8ba45999f514f63a9a6179c2c31acaf15911b0815c6f87aa7e3c36836fbb3cc065405c8be31134f3b2b144be48d72 SHA512 4d3604fa482bf6ae4d06ae97e85d10fd9248d174927713a2f010698137638a2d070ecf3e71cdea6529c67aad3fbfee8532adc2f3d810a4a7d6819e9ea19ae7af
diff --git a/sys-kernel/rt-sources/rt-sources-5.4.40_p24.ebuild b/sys-kernel/rt-sources/rt-sources-5.4.40_p24.ebuild
new file mode 100644
index 000000000000..12c5881dd444
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-5.4.40_p24.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}."