summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/rt-sources')
-rw-r--r--sys-kernel/rt-sources/Manifest2
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.18.16_p9.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 89c78f69f83a..daebf678714d 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -30,6 +30,8 @@ DIST patch-4.16.18-rt12.patch.xz 230644 BLAKE2B d3e777b47c6b33ceab5d7829a54ff76c
DIST patch-4.16.18.xz 506924 BLAKE2B dc41b7247e58808e1827fda7b4236ccac1ef8150f4c200161f4a9cd91912a7cb8b72337dfd403c3b1d7bee3d2626b5d53e3c3d595d80418da57bc3f9b58fdbce SHA512 9e1cf90b874c757393680026cb74500ca9fa22c0047ac820f4e5f43062125f8cf469f1e8e93a084b9ecc28a177e55c8b733c2fe620e46694a338f1b2ff4180f8
DIST patch-4.18.12-rt7.patch.xz 161484 BLAKE2B 12c9fa67d27d1f933f892ce2782367cfd49b1e2558b76c202549f3cfafca172bb3beb8d831ddc26124eb422512a63e4c14b7452695136dc98a103113db6f7028 SHA512 01e82621a4265d68303b1ba3ebd5cdb59fa6aeeff31008bc553d1a621c20aa72a592c1de8cfebebac3e744c9032402e7195754f4f9751947169107e400803fa9
DIST patch-4.18.12.xz 360576 BLAKE2B 40737d68a61211898a215883b2292d72104de3d4e67b37823eaec80eb546132bfe41ba29f5269044997146d4a9b2d79e004c7b437a5b4b51c9382f441b4ddcf7 SHA512 26d739fd52d4017666bc4f3203cc71ed48ed92a6b42e683421dfbffd67cddab0ebdeccc3a46d1e8e1e6b7fe22a7881c0c08c87936e2fc19238d25f09f1b494e3
+DIST patch-4.18.16-rt9.patch.xz 161460 BLAKE2B 26ab626111fc83c475b48817a8d88c9963565cc7fbd8d3e21438f4ac2c74c5e441e39b4f1e5045300f664c42b4d6ed07a4ebae98af049f67e65869bfe3e7dbcf SHA512 1473cfd044014b055d876c9c5e9cac46e998ff34ac324d5ff50a58dc46ea7241b8b6bc1195a857447d6399b24cb285dbea698b905df511762e8527fd4ba29bd1
+DIST patch-4.18.16.xz 476164 BLAKE2B a9b684c3249cf20cb3672f3b5195b91128918cee459ebb1326f4c0ac6ba45036b14afaa16d3ef900884cba83a901c638bc0c19843c029902b1180c49e577e176 SHA512 f857cfa386fa6837f5c6dd4c1ea32e827abcfd0d2103e547b7c78a87c9f89598e9bce9d5a63c411ee99ef22ef66280ce9b308369722813e2fff5b1fa8284fd64
DIST patch-4.18.5-rt3.patch.xz 159224 BLAKE2B 7b7cd22d0da7a15cd2682f7a24a7bdf5eeea265f7397a5e9524194adc3bd1cf3f75e22699ce024ee7bf425596ba7c4a87547d4a2ccbc5b2a9428aa656395d63a SHA512 78ce98933ea463df3dedfca0dd531a736aa8f77ee39e5946785da55639d87c36c3801b77bf80105554845a9a3734c584d80803357e4f4d7ad91f1be2b02482f0
DIST patch-4.18.5.xz 58136 BLAKE2B dfcd74b39247ff1983086e93b675ec7d4a5e2914517c4536c47ba04a0f5431374991765e0568c907921bd441ca08e50f341171f6b252b963095f8c165034895e SHA512 b7c1457b92051d79a6dfe1d1acbe3e9cf589ba1aac0db61d76a500f0966854307c35e91016b6175f2a863a4cd63e0c99fa879eea2e5467d38e86afa44bfcfd52
DIST patch-4.18.7-rt5.patch.xz 159768 BLAKE2B f4acf5678562a29559cbe3f18db9c127183216983a9fcdce4d7145331390eae55f376776c1ffbf1616974c56e2616898801f7134ae6d52057396816329ed5eb1 SHA512 66b20734a5a78db0b5c9a718030b13ec6c619a92546b3ddfce26850f1bf254750cd463925209cfddf9c1fa90e13dad08e5b2d7efe7cb0a1faa637db3336152ac
diff --git a/sys-kernel/rt-sources/rt-sources-4.18.16_p9.ebuild b/sys-kernel/rt-sources/rt-sources-4.18.16_p9.ebuild
new file mode 100644
index 000000000000..18034a53cddd
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.18.16_p9.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 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="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
+ mirror://kernel/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}."