summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Linden <karl.j.linden@gmail.com>2017-09-06 18:26:17 +0200
committerAlice Ferrazzi <alicef@gentoo.org>2017-09-25 10:14:58 +0900
commit68eeba90139853469db59596ff3131bf6eb6769e (patch)
treeb062c9a94b632cf86f77137e67fe2b274a93f9a6 /sys-kernel
parentsys-kernel/rt-sources: version bump to 4.1.42_p50 (diff)
downloadgentoo-68eeba90139853469db59596ff3131bf6eb6769e.tar.gz
gentoo-68eeba90139853469db59596ff3131bf6eb6769e.tar.bz2
gentoo-68eeba90139853469db59596ff3131bf6eb6769e.zip
sys-kernel/rt-sources: version bump to 4.4.86_p99
* Apply posix printf patch, wrt 627068. * Make fully preemptible the default, wrt 627796. Package-Manager: Portage-2.3.8, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/5645
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/rt-sources/Manifest2
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.4.86_p99.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index b92d71e9562..cfb57fe108a 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -32,6 +32,8 @@ DIST patch-4.4.75-rt88.patch.xz 191748 SHA256 af2b9ab81b18d918288b372a388a7cd9af
DIST patch-4.4.75.xz 1216076 SHA256 abae896c874f92f017962db36e09a19f39dba698b6df6968ea183f2aef7e052a SHA512 d733e9dee35481475a85ce1ef7961af9c22db4f079adf1946a44c39d8d9fdfe0f11b119082d37354bf839abb2334aa6b58e518a61371a40eebed99f09a4d04d7 WHIRLPOOL c1bc924736d934d2fd7b08865049ec622308f61825c57e227de73235953e896a55a53ff2d1cead9499df8d68b9e199025f5d0dc4d005fbaccc8ec4f3878bdf7a
DIST patch-4.4.79-rt92.patch.xz 191696 SHA256 f2a3b67cce45ac52f1299f3f0328666253d124574d77093ab3beef11619eeb0c SHA512 290ef32ec8addbc5fbb008f4b3ca1c02b8d4b4f9cd0031ddb10b3d0a6264a562912f768918e80b7b69153e9751269dd8f8dd8d386d48f1a1bae7e5aa0af6f57a WHIRLPOOL ca269ab5b7dc09c1f2bfc1d70e387355f72ee4823f1da5ecd9882cfbe11145b550b014364201b5ed12fe704a86df867652bcdb1433856d2086ad7dc96ff36936
DIST patch-4.4.79.xz 1274180 SHA256 2ccbfef63ccdf75c859c2ced2e15bc2ad363ce5dc1591ea61d7de0d49c26e1b6 SHA512 a69f937a3a80949db1cf16b547d162b9c83d55f79f3119e59973a94d7e7b914555833beeae5cd165ea1e9ebb6a896352b38fc9ed0675a364dbc32fa165a62026 WHIRLPOOL 8fefb7325e5e892d473e7f1dddd9fc895b739bdc49819ef7dfae421b93c07143d31c4ea8637859b91788c93b07696999d46aaed2ad96fff20bd4df2bd35c2ecb
+DIST patch-4.4.86-rt99.patch.xz 191740 SHA256 4908b67e505f9499e405e829f4d755b7ff5d710d9e78d741015e0bd09cbca024 SHA512 253b31069748dad1758b68a6afb1c5af1d42652185f80521b48f52f43b26fe846e0c5433ed66db337a54a4e62abb88f64fd8d98dd694870e3c2b68a66fac7e30 WHIRLPOOL 1b37335541dbbcf61ba1f2b970bab1f375248e624716a91748f766bf26c5861cbce3c57539005de7b133be386d4a9c4626e89410700df8dca83c860b16a81952
+DIST patch-4.4.86.xz 1322684 SHA256 219964ff4de7f00acdaf85cabfa2adc9d398d19d9e9c6e2e967c3557bb27449e SHA512 c8d97bbe5ac83801272ed2c33f003cfb2a3e8f56a022dc8965bc540bd9ce691b3eb91268c4ba6f7226c2e23470f983e37cbb735d382f547a66086af06161ae7d WHIRLPOOL d601c0771b935e255770f088e3785221793c429d5c839a4627d84429a27633dcefa712c62fd43756bbb194d937b5249a1edd2ca2ca51cd3a200c5fc2351be23f
DIST patch-4.9.35-rt25.patch.xz 171212 SHA256 d2816f75f5407956eaf5d05e9706093c2ac51cf3da402a3a639e5fadda6da76e SHA512 49ae9ca9ead68445d14adb63277529eecac9f0ea42bdf755777f8f2f4afc660a8d9c16ac0d26e1553b163f532f274acd8308d21cf90e5ed82c5681f1b02f276b WHIRLPOOL acaa16c879c422bc6ffb5d38edee7a44d1994d22c7eeb6d7d5b687603508b7ba383497a6d5ab913afd69f80d21f013a50594dcd71fe48b0f3bea0c3b69c5e173
DIST patch-4.9.35.xz 760828 SHA256 486c696cda001157d12948bb6ecbc60d270a112da41e1153906a24645d855b13 SHA512 a8b115a439d9228a2ca065cc6f804fd7d72d8d11bc1cbd37632bc58056485b3f24aff9bc1c1360f92b6772a57c9b152c40ab051fe23b2bcf328c6f150f8d7df0 WHIRLPOOL fc477c2c6653482d350a5fccc6d6a0245326f02fa5778460312e511d61cb974f01ad3988eac288524ea6f9a77683b65a35190196f843cb6a397642610c8b7262
DIST patch-4.9.40-rt30.patch.xz 171152 SHA256 3b490d49f37b7716d08771191588d980c225a5a5baa9c3eeafa94ff8ccf2d3a1 SHA512 2cd5cb8c6cb531ab2754566632353f6c89e0ea908b80f7a6cb2fdb586043445572d1e5bb70546a9a0232c8d83c19718854dc7a8e8119d52aa7021b07bdbbb7e7 WHIRLPOOL ae656f1d5f200f65547fda377293d543b708066f6624adbb6fd6d82d6140b4e74fdb62b3a897fa1b71bb56f0d03e936772d486437c612c76acdfa507f190694f
diff --git a/sys-kernel/rt-sources/rt-sources-4.4.86_p99.ebuild b/sys-kernel/rt-sources/rt-sources-4.4.86_p99.ebuild
new file mode 100644
index 00000000000..8f5a060bc49
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.4.86_p99.ebuild
@@ -0,0 +1,58 @@
+# 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"
+
+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}."