diff options
author | Karl Linden <karl.j.linden@gmail.com> | 2019-01-03 08:26:55 +0100 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2019-01-07 16:40:25 +0000 |
commit | f5b276e75a3b312d5b2e41205eefde8a37deb0a5 (patch) | |
tree | 4161f099f9ff1dedfa1df2d18fbe9e3ce8f75c9b /sys-kernel/rt-sources/rt-sources-3.18.129_p110.ebuild | |
parent | sys-apps/man-db: stick systemd unit files inside EPREFIX (diff) | |
download | gentoo-f5b276e75a3b312d5b2e41205eefde8a37deb0a5.tar.gz gentoo-f5b276e75a3b312d5b2e41205eefde8a37deb0a5.tar.bz2 gentoo-f5b276e75a3b312d5b2e41205eefde8a37deb0a5.zip |
sys-kernel/rt-sources: version bump to 3.18.129_p110
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Karl Linden <karl.j.linden@gmail.com>
Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/10727
Diffstat (limited to 'sys-kernel/rt-sources/rt-sources-3.18.129_p110.ebuild')
-rw-r--r-- | sys-kernel/rt-sources/rt-sources-3.18.129_p110.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/rt-sources-3.18.129_p110.ebuild b/sys-kernel/rt-sources/rt-sources-3.18.129_p110.ebuild new file mode 100644 index 000000000000..3fc23ebfa2da --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-3.18.129_p110.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2019 Gentoo Authors +# 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 eapi7-ver + +CKV="$(ver_cut 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" || die "sed failed" +} + +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}." |