diff options
author | 2018-01-28 09:55:24 +0100 | |
---|---|---|
committer | 2018-01-29 09:38:18 +0000 | |
commit | 684e51e36a3b02cb63d55b11a65e706729626101 (patch) | |
tree | 8349f209a4db9b31065829cb98878c9009259e52 /sys-kernel/rt-sources/rt-sources-4.14.15_p12.ebuild | |
parent | sys-kernel/rt-sources: version bump to 4.4.113_p128 (diff) | |
download | gentoo-684e51e36a3b02cb63d55b11a65e706729626101.tar.gz gentoo-684e51e36a3b02cb63d55b11a65e706729626101.tar.bz2 gentoo-684e51e36a3b02cb63d55b11a65e706729626101.zip |
sys-kernel/rt-sources: version bump to 4.14.15_p12
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'sys-kernel/rt-sources/rt-sources-4.14.15_p12.ebuild')
-rw-r--r-- | sys-kernel/rt-sources/rt-sources-4.14.15_p12.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/rt-sources-4.14.15_p12.ebuild b/sys-kernel/rt-sources/rt-sources-4.14.15_p12.ebuild new file mode 100644 index 000000000000..ad4f19f2289a --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-4.14.15_p12.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}." |