diff options
author | Karl Linden <karl.j.linden@gmail.com> | 2017-09-06 18:23:58 +0200 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2017-09-25 10:14:57 +0900 |
commit | 76201dece197bcf600165533784fc40432a991f5 (patch) | |
tree | 85db4628d74195633257f1ff089aa640f6da86f7 /sys-kernel | |
parent | sys-kernel/rt-sources: version bump to 3.18.69_p75 (diff) | |
download | gentoo-76201dece197bcf600165533784fc40432a991f5.tar.gz gentoo-76201dece197bcf600165533784fc40432a991f5.tar.bz2 gentoo-76201dece197bcf600165533784fc40432a991f5.zip |
sys-kernel/rt-sources: version bump to 4.1.42_p50
* 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/Manifest | 1 | ||||
-rw-r--r-- | sys-kernel/rt-sources/rt-sources-4.1.42_p50.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest index 5a5aace0d7b1..b92d71e9562f 100644 --- a/sys-kernel/rt-sources/Manifest +++ b/sys-kernel/rt-sources/Manifest @@ -20,6 +20,7 @@ DIST patch-3.18.69.xz 1291180 SHA256 20174224a5b5482ff238151fb8994401be4feba5808 DIST patch-4.1.40-rt48.patch.xz 189128 SHA256 47081fce428dfd7d74244d7eae3c18d9a93b0e17677558f7aa7299f8e96fba2c SHA512 ac17c8ff84587a6cb99cfeefc91501f955ed2bbc292211601c42512a23c1d1fa89ef782e44097f97f0ea8e636a5137c039fcad6564e4366d34dca2df22dd45e6 WHIRLPOOL fff8229d3299ce845361abe8c5d3fb67fb6c5c318fb9fdc88b27d9f00a383a911952bc703c1cea4f6eb43e1f247473aff9c56b7ae95c532e09cb8a37d1e32d46 DIST patch-4.1.40.xz 1022520 SHA256 05f034e695720101c52a088791c2bfc20e5487c7a886ead6575d1d305c138511 SHA512 936079277ca7fc1478a6d0540026205ad856fba6f13aeb602a36bbac8d340e204f63b25541bdd1682828e90a70e80868f81d1fa8689f11f0330f70fba03e2b96 WHIRLPOOL 34e694893d549e1ae6db21342d92f24139695d45a81e385bc21fbb6c86e354f8969d8d8468fc955152e9bcedf9b6512091dc85020f139d2df116c0c92d430b40 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-rt9.patch.xz 218872 SHA256 6e6112ec9c076c9a7a6ee6fe623d5059e2944622062307ecaca8a874e8908a0e SHA512 4cda207633b3a84f178065957e2ec29c53246471bf6f4056df813260502106c0ab79259eefcc5d02bc354d24db16e2269c56b475043cf345f92533a194513fcf WHIRLPOOL 3c7d7b2483b8d8d1dbe1c1e0086335183a9742688f3aa4b205d4d96e948f5491a77852e6727da42ca957c4717d6776fb88491af9cf42cfcc4ba73621e9b97f82 DIST patch-4.11.12.xz 298784 SHA256 707c5f18dfb795761b0b7ac6f946f03774f9f99317306fd54d8724d17d9c7729 SHA512 ee9c5ac45896d84739c679834fcd15dfc46f9e939dcefd54ba049ac47168d71f0af680153615de002a2073ba79e44a9214f74af17ed16aa97d85e6df157fc6e8 WHIRLPOOL 4967292c175128adbd8a33f25a3cd1fdc94605ae0fda2b108105e740ddff48cc7bb08c44dd669562fb33056398a8eeadf396cc682305c7ee0a34fe5adee61f90 diff --git a/sys-kernel/rt-sources/rt-sources-4.1.42_p50.ebuild b/sys-kernel/rt-sources/rt-sources-4.1.42_p50.ebuild new file mode 100644 index 000000000000..8f5a060bc499 --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-4.1.42_p50.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}." |