summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Linden <karl.j.linden@gmail.com>2018-05-16 10:21:54 +0200
committerAaron Bauman <bman@gentoo.org>2018-05-19 20:36:46 -0400
commitc9ec5405d242620cc57903d6838a103255d5f1ad (patch)
tree9142c621d6b131decb7a7b5aa11ada212ebbb725 /sys-kernel
parentsys-kernel/rt-sources: version bump to 4.14.40_p30 (diff)
downloadgentoo-c9ec5405d242620cc57903d6838a103255d5f1ad.tar.gz
gentoo-c9ec5405d242620cc57903d6838a103255d5f1ad.tar.bz2
gentoo-c9ec5405d242620cc57903d6838a103255d5f1ad.zip
sys-kernel/rt-sources: version bump to 4.16.8_p2
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/rt-sources/Manifest2
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.16.8_p2.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 09aee46f6196..73e08fdfe9ef 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -34,6 +34,8 @@ DIST patch-4.14.40-rt30.patch.xz 230352 BLAKE2B b788d4034b4398c2c499d5010c6e20bc
DIST patch-4.14.40.xz 1103932 BLAKE2B a06e9f1208a0396e3bf28ddad9fefb7bcd669271731fc3a3745e61eb62f4186138c00b03a5f7afb7a0c236a278d164043f07f01ee6faf0aca29ca1cd11e02d52 SHA512 4961a454836b8583cf3b0a743f08951c7084745039593f2cfb2630f836f33c471b7456d162556359255e6952e3652e9bb30e2b363985467787d4d0d73ad24738
DIST patch-4.16.7-rt1.patch.xz 225980 BLAKE2B 0da775b0950453178c79f13e9c3cc10ceb41ba23ea6fb866b8c0928bc8f52059129355cd7d89bb43f0ec47c138904bde29f699bb742eda5fa46362551c9861ac SHA512 5b3625ebb4eccce4e45a3925640a0b0cb91af07ae3d1fe879709c107aa1633bc89bfe7895f650a83cc75c109f11cfa3ee986f6ecfdb3af0b718509154a5ec027
DIST patch-4.16.7.xz 170468 BLAKE2B 899c2268face620ee9ccf7f713b8db9a321e0cdec09abd42a8bad891acaa9d1807e35d15880641a9afbe1cda60cd4d5dab3c76f6ee98694f52d2e449c8c1b7b8 SHA512 576c2b520d444e11a9ca45ed3ed03822007ab6ff778a1759aa0f65c96946fe3e169e71d48d11e6d3b8627a99cdc20abfb0c84d7b6c9b0d2afa4d5fee9ed3aa41
+DIST patch-4.16.8-rt2.patch.xz 225952 BLAKE2B 767a9c4a51a886a544203d8a4863e72000eb5d347edf66f1a7b60085628f96ec0a336582bbee7e956211cb312b0eb3f03987ad319c42ad1e88599c2717ea6dfe SHA512 609541e14f89d771ddf8c5cc5b7f4724f886f992511883aad021dca56ce905c34fe7f0215788928052e40d21f938f822fadd7cd4073890e809789263ef725aca
+DIST patch-4.16.8.xz 189408 BLAKE2B ba3586ae91ef7a43a81da76c812dca3bd6bcd0e00c508d04d1f81b28d6304eb4aa3177efe0acdcd231a0d829a0dc231f4c5463a97c9999d0cf1ab16f007d2a58 SHA512 8bd521f5a14280c6893f6d85f46d12f97ba71abf3e149f1900aa5e1efa3a03a97df674c4b2b46553b8e9df55164894b6fcb510dbba8cab8ce47ee4b0186e27d0
DIST patch-4.4.120-rt135.patch.xz 194592 BLAKE2B abaac0132b0b35d02e107af1bc412c239fd27d20513f7dda0af9cfc6a9661a5d3cff4ede0309ee41cefcd4671e6c0bb8b3833c6bb30752cc02b963238fe6e9dd SHA512 61dcbe07ab2fe307cae1ac59822afce50999fd817f503f8a1cf8a7686ea0bfefbd99fb2d660e557f94af8523923faba2e00a68e973792b633a7cc7be1c0df6a4
DIST patch-4.4.120.xz 1718956 BLAKE2B 06df2a0f9ce7ec7d813e6101a5fe5704adf6303c516193d8f53f5f3486a4f9b16c3842797ffa99d9e8daa5f3c1b20366ef2971c8f22aed1de443f4958946de6c SHA512 dd879f449840f380287bda06fe27453768b65493edee8f162cf17d3268f838acbbea375633412f1c0f8bc24b41fe153d610cbbca205cd7c8891bfe8f398f3ec2
DIST patch-4.4.126-rt141.patch.xz 194488 BLAKE2B 8af6171724d92813c6edaa6be86ae460469964d395e9bc83360d423132a14394950d579b7e3eeacb4fecb284e3550c84297d4cbe4c44389baa8bccdf7fbb2615 SHA512 ca473fff80bfd1f9c10ac6d3d92c661418b4b01ac2def910ac454b14dd2deb3bc9f341f7b9a2ad4f66f31331423686d7f28349ff46845d6f55de454853fecc80
diff --git a/sys-kernel/rt-sources/rt-sources-4.16.8_p2.ebuild b/sys-kernel/rt-sources/rt-sources-4.16.8_p2.ebuild
new file mode 100644
index 000000000000..ad4f19f2289a
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.16.8_p2.ebuild
@@ -0,0 +1,54 @@
+# 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"
+
+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}."