summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Linden <karl.j.linden@gmail.com>2018-01-16 20:57:47 +0100
committerAlice Ferrazzi <alicef@gentoo.org>2018-01-17 16:36:37 +0000
commitfccd8c15114261695c0ddeca218feecede578003 (patch)
tree28a207351c4998162fe139f390ce88e888c451d9 /sys-kernel/rt-sources
parentsys-kernel/rt-sources: version bump to 4.4.110_p125 (diff)
downloadgentoo-fccd8c15114261695c0ddeca218feecede578003.tar.gz
gentoo-fccd8c15114261695c0ddeca218feecede578003.tar.bz2
gentoo-fccd8c15114261695c0ddeca218feecede578003.zip
sys-kernel/rt-sources: version bump to 4.9.76_p61
Package-Manager: Portage-2.3.19, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/6874
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.9.76_p61.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index f59cc3ecb5ab..3b9273c5ab95 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -52,3 +52,5 @@ DIST patch-4.9.61-rt51.patch.xz 171084 BLAKE2B accaafb5afa9b3f4e3f5d3c9bd2e52926
DIST patch-4.9.61.xz 1113680 BLAKE2B 6616fd0676cad33aedad73fd3d6f2f1afab70d02830ec97ed50b3e1e39bd24930662eb9b861a4a099a26e704b3d3944aca6c101ce4810080a2c0b8943f6377ea SHA512 2b558fd3f5f7c70a1dde7a39ef3dd6bef621e5001d24f9945b887d58a4d640e58fbc0eecf77d845e4ca5815b507ee03f64e0db03a38c7d8e283eacae3d7dfb6a
DIST patch-4.9.68-rt60.patch.xz 173760 BLAKE2B fd2837714f44f1d66d25c4abb247adc18cb36542be66b1e7eb060e084c5eaa23ebd6e6da3f7cc5ce7d7fe0214a9cbb3a3b657767026eb652bc7e8fb18a41b81c SHA512 d95fbddc27af73512cbf7751abc9158ecf075a242ab42b30c59148e3c3ecb2f969fbc9447be62db5e50b82981fdd9b5dafc44e635be2103f8f9271b992436c41
DIST patch-4.9.68.xz 1216096 BLAKE2B a37893a9526c31ac3a5b0eac06e17cd1d2a6ad23dcfd7ef5c1c0955a9cdd3c5912486a35b111d9eacc24aa4b4ecccdd43ec3e7e6f77c76b4fd697c092a2676e0 SHA512 2eb4479a89dd59a3b441c65f235777e69e06e24c91e8269ab77e4b628283cbc954376d685ce9a9b7fa408132e183a2581a3867e32d8c38666ec66b6d6b8bcd79
+DIST patch-4.9.76-rt61.patch.xz 173748 BLAKE2B 6f6adb72b4e906a4c2f3e3898c3b588bbaf9675a79978716695a88d6eae3ac3e66929c2b46a566e912972d5587f85f23d177bbba4c1ba89f2692fbe026feb2af SHA512 cc28f677ef1a92f4a4547f3858c324f3f57fad263101f3c3f45f52fe865212cf48fc8a1386266536f19645771e67a130ff417cd5ef8d8599c93648ca0840bd1f
+DIST patch-4.9.76.xz 1344536 BLAKE2B 29aeb93bb0db62b95a0b2e974869032e5622ce7ed7e0c54cc8ed69cca171e6882a5547beca839a355829cdf6ef21bb3f8a4bd35662ab930638fe37d0d29ebcd1 SHA512 57d98aa04f01a7ff550885b42cbd115b81234994005378bace5d984dfec232039934c64bff14fd88a5ba962c6dacf5b408173cccf551eb1195f0be980bb41090
diff --git a/sys-kernel/rt-sources/rt-sources-4.9.76_p61.ebuild b/sys-kernel/rt-sources/rt-sources-4.9.76_p61.ebuild
new file mode 100644
index 000000000000..1ca2170247ac
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.9.76_p61.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2018 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"
+
+PATCHES=(
+ "${FILESDIR}"/rt-sources-posix-printf.patch # 627068
+)
+
+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}."