summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Linden <karl.j.linden@gmail.com>2017-09-06 18:30:54 +0200
committerAlice Ferrazzi <alicef@gentoo.org>2017-09-25 10:15:01 +0900
commita9170223e03c66386316cd22a5b3d9a94ad94fa5 (patch)
tree56061c7d6c798380846026e97816c10efb25dacf /sys-kernel
parentsys-kernel/rt-sources: version bump to 4.9.47_p37 (diff)
downloadgentoo-a9170223e03c66386316cd22a5b3d9a94ad94fa5.tar.gz
gentoo-a9170223e03c66386316cd22a5b3d9a94ad94fa5.tar.bz2
gentoo-a9170223e03c66386316cd22a5b3d9a94ad94fa5.zip
sys-kernel/rt-sources: version bump to 4.11.12_p13
* 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/Manifest1
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.11.12_p13.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 0a0757840dc..09634e83264 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -22,6 +22,7 @@ DIST patch-4.1.40.xz 1022520 SHA256 05f034e695720101c52a088791c2bfc20e5487c7a886
DIST patch-4.1.42-rt49.patch.xz 189128 SHA256 4a4c502da63cc15715f67a548da6a1ea018e53a5fde2ad6fe9480ffe04bc8247 SHA512 0fccf89a48fda418fe7abd0dd2b78f0c8ce10368d55310165df72e7043edc7f58adc2a7f43e3e17c77bf0fa2dada898c1ab2dec608acd64375a481d128dc180a WHIRLPOOL 69a27adb1b37b51abe80bb7ebfc1703ddd7ff60ce82e6609b09644864c4b3d78d365df2578acc9636a405cc73a4d5c2db94c9554d01ed46c65400705fb341d78
DIST patch-4.1.42-rt50.patch.xz 190032 SHA256 9fb6d43eb202ec3ba94b5f659be61abb5050625ca3475f6996c82a61f608f940 SHA512 a8bc66d368176e5d02bdc54b9a5a1eb9865b277d89fe6f43e2e212832bb0d3b435a510ba8e03a64e1f8d94cf5a870076405b2687c51558b1d47586c0f5738d2a WHIRLPOOL 1e002b9892837fdeccaa8c02994b113434e3321a36daad5865997a41998fc47f14bffb8c6f92bcb4d3a62c473c53d608dd771978ea4f86d37f433e6c5683bb05
DIST patch-4.1.42.xz 1109816 SHA256 da32978d452526c91bf71aceac83bc33b1ba5aff30d00603dfb6529f014521fd SHA512 a3b4e29e7cb613a72b8176edfe2cb5da0aa4e6064bb717c1bd5caa9463563cdb66a4bebe6256a8eddd58f32ae6f658fdbb66a3e4337a91def9d08b7c0e23fb2d WHIRLPOOL e461b48ca523a9f4718286648b1544374b0a6c2470ccecdb735849ae0e02241c6a63e06cf342130824e42e68ebe1526249e4736c8ebca3d4ec44e42397476c80
+DIST patch-4.11.12-rt13.patch.xz 228308 SHA256 d7a0e66fd187142cd65034c5b37a5c80268aabf7a88f1c37fb02116269045878 SHA512 cb82e29088a1e17859feafa054c83950b2c68262da2b501290405335210f2efaad29af5a0c0f7520f0f5874c4a15eb1bddbaa0dd330e8fcfc88d201bfc176f97 WHIRLPOOL b2a3e6d43dcfd012345edf9c9b2f37f3dad4468aa0d352472b785d9001a07e8d801555e759b41c7e59f0f4d06cfcbdd2b986b17a5be541c20bccaa5ed7587983
DIST patch-4.11.12-rt9.patch.xz 218872 SHA256 6e6112ec9c076c9a7a6ee6fe623d5059e2944622062307ecaca8a874e8908a0e SHA512 4cda207633b3a84f178065957e2ec29c53246471bf6f4056df813260502106c0ab79259eefcc5d02bc354d24db16e2269c56b475043cf345f92533a194513fcf WHIRLPOOL 3c7d7b2483b8d8d1dbe1c1e0086335183a9742688f3aa4b205d4d96e948f5491a77852e6727da42ca957c4717d6776fb88491af9cf42cfcc4ba73621e9b97f82
DIST patch-4.11.12.xz 298784 SHA256 707c5f18dfb795761b0b7ac6f946f03774f9f99317306fd54d8724d17d9c7729 SHA512 ee9c5ac45896d84739c679834fcd15dfc46f9e939dcefd54ba049ac47168d71f0af680153615de002a2073ba79e44a9214f74af17ed16aa97d85e6df157fc6e8 WHIRLPOOL 4967292c175128adbd8a33f25a3cd1fdc94605ae0fda2b108105e740ddff48cc7bb08c44dd669562fb33056398a8eeadf396cc682305c7ee0a34fe5adee61f90
DIST patch-4.11.8-rt5.patch.xz 206688 SHA256 ea625011bc491e9483de45ae97c45223c1887f71dfffe732c9d13c132fdd4157 SHA512 1479b71bd578bade9cb081fb15275d7d25067db3e33c6b3c19185493b677ccd1969930f0ea08aed92e34058419359ba60363d07c41f90071f66e91925791ef04 WHIRLPOOL ac222237da03a25921ad5605bc7804532d8a695da2841ad575cb1c0a732878442d69f1625e2c12c3c9c12ccc532cdbb47f276c24b60ef017fda6dc4cb27f0e32
diff --git a/sys-kernel/rt-sources/rt-sources-4.11.12_p13.ebuild b/sys-kernel/rt-sources/rt-sources-4.11.12_p13.ebuild
new file mode 100644
index 00000000000..8f5a060bc49
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.11.12_p13.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}."