summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/rt-sources/Manifest2
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.9.61_p51.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 746f1295b75e..1399389d5b6c 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -38,3 +38,5 @@ DIST patch-4.4.97-rt110.patch.xz 191772 BLAKE2B 9ce80852c224589df2b661d13e636906
DIST patch-4.4.97.xz 1410480 BLAKE2B 8dbd15938cb6fd5825db7eee3ad1fd2a7b4652245672b895584cd1a066826e012111cadc03ed6035f60ad2957310cca6e826dbb8ccce9d28dadd99fcd0861a44 SHA512 1364bffd4deffa37f515864538e00dc3c77f129f54fc97c65aa7e78553c200437ac9d244d50390c0d816cf0ffaf008757126e227b4f4fb25a3ba58319e64699e
DIST patch-4.9.47-rt37.patch.xz 171208 BLAKE2B 124341097e524fdb711a16175108168c9378eccb109198721bb3b206b97c27596fd598ad71a68566677de3651083f5637a4e8cdbbd313994cfb5377179db8e58 SHA512 b41e77788f29f825d7de923b9601668a27298ed21c6ca44576f67c0db48795b8b22f32bcdb713eb79792e4d1b286dce1387faa3418a306034516023943047609
DIST patch-4.9.47.xz 937408 BLAKE2B f81827ccdedcdb34b1d8f18b73674bf7ea19d83bb16c5f9f3c76909ec0a0561fcfda37da40ad410c74c1c7c00716a43540db5af50e8261f394a3253a2295df03 SHA512 1444676c9bdff6133191db4885fb6ddfb989e355c7f16ddc42ff1ed9415917f06c8147cd69346525624da8547204a68303d5002417b40e11c0174341f55cfc09
+DIST patch-4.9.61-rt51.patch.xz 171084 BLAKE2B accaafb5afa9b3f4e3f5d3c9bd2e52926b727ef9b81b2f45279ee9b23a0e03d0b6b1da3d1aa5d72051a8ed36a63e1123babe2a2d06622c6027793de7f0393f07 SHA512 d5dbfa5f0802365b5547efbccd3e3e3e00d7d7e9ea5ce9ecc60a11438854384df9de333d348ac4237c315c5c3a0f69487e99ade3afaafd26e098399abde73289
+DIST patch-4.9.61.xz 1113680 BLAKE2B 6616fd0676cad33aedad73fd3d6f2f1afab70d02830ec97ed50b3e1e39bd24930662eb9b861a4a099a26e704b3d3944aca6c101ce4810080a2c0b8943f6377ea SHA512 2b558fd3f5f7c70a1dde7a39ef3dd6bef621e5001d24f9945b887d58a4d640e58fbc0eecf77d845e4ca5815b507ee03f64e0db03a38c7d8e283eacae3d7dfb6a
diff --git a/sys-kernel/rt-sources/rt-sources-4.9.61_p51.ebuild b/sys-kernel/rt-sources/rt-sources-4.9.61_p51.ebuild
new file mode 100644
index 000000000000..3b5bc7251fce
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.9.61_p51.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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 versionator
+
+CKV="$(get_version_component_range 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"
+}
+
+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}."