summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@kmk-computers.de>2020-06-20 10:24:51 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-06-20 13:14:44 +0200
commit870c490049890adfc37559816a8e2b0d44daa951 (patch)
tree6eab301b4108bd8271b202f404b76d0efe546214 /sys-kernel
parentsys-kernel/rt-sources: Add rt sources v4.4.225-rt198 (diff)
downloadgentoo-870c490049890adfc37559816a8e2b0d44daa951.tar.gz
gentoo-870c490049890adfc37559816a8e2b0d44daa951.tar.bz2
gentoo-870c490049890adfc37559816a8e2b0d44daa951.zip
sys-kernel/rt-sources: Add rt-sources v4.9.227-rt146
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-4.9.227_p146.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index ab9dde14d856..3a41b74a6bd0 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -30,6 +30,8 @@ DIST patch-4.4.225-rt198.patch.xz 195516 BLAKE2B 758edb3537be07f105dd1327ff85970
DIST patch-4.4.225.xz 3180784 BLAKE2B 10a5d1e65b267f9dfa10c97ee873b128647150f3092de3442f363b500f120d87e3318e4db7c74358ab2da5dcec4f1cf8ca084aa7b239b3c064b09c2515931bd5 SHA512 f94665e755f0a79b97a4d77fa712be97d0af040cf90805e372664f9393138b0f6cd3f5cd7180e4c095fb6cc498fbc7a9358e4f9d1490f99575ad82a6cbe043f1
DIST patch-4.9.224-rt144.patch.xz 175820 BLAKE2B 66e601ebfa393644671c181c8131bdb09f48ce20c50b9ca8026661cfce263e325cefff6d3cc3bc9aa35bfeb0ba0a354f2e7fe2acc6e3dced3434f387981ca1d7 SHA512 104397378ede87f1c3cee0a08a4d9e75e3571c0b7d5872f602d10e9c47d9ff943e914e411980abcef585bf762b842ee4872e7d0629c2a5e473b6dcce453dbafe
DIST patch-4.9.224.xz 3465868 BLAKE2B a13ab60afeba8ec9a4f797d67e505cf453b7590f617b695b416896e8eca85d083b2e718941fda882246acf7489c2f0f4f765139baedc7efd8382a5b311d52798 SHA512 df45c6c77e0d688cc5d101f98e8dc0a52383dc482d9f5d8a8970b6c7de355216cfdb62a796071ec47cef6559f1f00f839ea627c3dca36058254f3a5b335104e7
+DIST patch-4.9.227-rt146.patch.xz 175816 BLAKE2B cd66e317e38d7f789863c21d080fed56bfd20a493900b0010e2b4b6db80f72348ca6ea999769da6dcae2d0feb3d81ef03c20f724584795692cad4a27700449fd SHA512 2a8431dde8eabd7f2be691abc6587e7f7e2dd37d0a98edfee5fc0efb2c33ec7979f282e341fb911ff4efe7bb3a98a831a1d37562e4b699043386639083686cf4
+DIST patch-4.9.227.xz 3492828 BLAKE2B e0fa15b45539458a503aa27d6a24d372d975712561691c3f42f30e525565ba479cc09c2cb52247f3f075e807197e3bdc1422245eaf699a793eeb5050c1b59d03 SHA512 f98c178cd6b8e17c1fc4725934978482bd528dd2ae867696d0e48aa7191a3b53a6d9da7c24b32aa130e84bfab5d600140c503186e9bdab77621ae48fb53490d2
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.14-rt7.patch.xz 158640 BLAKE2B 81e0a0c4b4feea3abd60efe89c7ae4be7dd8ba45999f514f63a9a6179c2c31acaf15911b0815c6f87aa7e3c36836fbb3cc065405c8be31134f3b2b144be48d72 SHA512 4d3604fa482bf6ae4d06ae97e85d10fd9248d174927713a2f010698137638a2d070ecf3e71cdea6529c67aad3fbfee8532adc2f3d810a4a7d6819e9ea19ae7af
diff --git a/sys-kernel/rt-sources/rt-sources-4.9.227_p146.ebuild b/sys-kernel/rt-sources/rt-sources-4.9.227_p146.ebuild
new file mode 100644
index 000000000000..8cec2aef7c8f
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.9.227_p146.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_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}."