summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Linden <karl.j.linden@gmail.com>2018-05-16 09:48:40 +0200
committerAaron Bauman <bman@gentoo.org>2018-05-19 20:36:45 -0400
commitbde581c0a064e730ee99780653ede278cb2aa418 (patch)
treea5e392759eadfe3cd5d045b94c0a0c0701982e58 /sys-kernel
parentsys-kernel/rt-sources: version bump to 4.4.131_p148 (diff)
downloadgentoo-bde581c0a064e730ee99780653ede278cb2aa418.tar.gz
gentoo-bde581c0a064e730ee99780653ede278cb2aa418.tar.bz2
gentoo-bde581c0a064e730ee99780653ede278cb2aa418.zip
sys-kernel/rt-sources: version bump to 4.9.98_p76
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/rt-sources/Manifest2
-rw-r--r--sys-kernel/rt-sources/rt-sources-4.9.98_p76.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index d231d05bc4e0..5077ad2e616d 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -41,3 +41,5 @@ DIST patch-4.4.131-rt148.patch.xz 196408 BLAKE2B d58fc0441b7282ffbe01644304f6630
DIST patch-4.4.131.xz 1871404 BLAKE2B 3d7729d4e3ce75888670d57368b651f2750f46e4c94826525095b791f6717badefede520a144b098fffb9ac08b3a08d0c567f0e391b94cff8869cdb6afe9592d SHA512 856ef10be19b07a2e1fbc777dd0052a145f5ca49c59b29ec4e5205babd478d623bfef40ed06c2fa113292e512701b4dbc67723cf1a946f27ce38b601d003bff2
DIST patch-4.9.84-rt62.patch.xz 173640 BLAKE2B e79032ab9137270e8144d5a1a9faa2897c1013a6380394e1a379d8f6aaccb69b4c2f107c793d70fa540c1f43c610076bd2ecd37b274f4c3701b2081ab55a6012 SHA512 e273d384d845478e7b3ce55be56bddf74e1b18c0b70aaad92dcc73bdf949337a10ee41c6c3ebca7057988cfb88b762ebd5657a29ea47e684c6d10d83c0c03f7c
DIST patch-4.9.84.xz 1512620 BLAKE2B 8f3ff14ed541bebbc841af845fcd6182d67a347363c1b9e2ea446653809025d414d478c228a7a7daca3c29706c6a541edceefcabc82dd7dda065f27d7aa16a23 SHA512 0c7f6dfe4ccd548a12c734f3d4faf52dcc221fbbb709cfc7a25c73a57f0fdee6141244b6d475e0bbb994fd148bacdd5e565ac020b6cbf4631da063f64a59ec83
+DIST patch-4.9.98-rt76.patch.xz 173232 BLAKE2B 77f8e3a17bdcf126b9854d54f6a15fee483e422ffc60e7f656ca6298bbbcedc7c9a1d907ec151e1305bb1c8673644473de4410088892007bd1c8c80c3b1b4d53 SHA512 1adcb149f5991300aebdb88595bd93d941325cca5880e9f0e195c2771468ee018cbca5af21401b78064695785e6bc16252767d7399df4002b5add03cedce9988
+DIST patch-4.9.98.xz 1811528 BLAKE2B f6244076779eeef08399128daf07d4a9ceb42065bff4f89b5f40ef3dd9dbdcf36daa5cb064ad13635c91e73b3d9bbdb57dd64dc4d5adf07042b1f96c7e8733f4 SHA512 e1aa814fac33ae6dbfbf2e0cda40a1bebbf420d33c6448de718726f94d2ba0c9538b18c3251fb46202d90da6aa56add466d4328696faa1a05c50478aa3f99a5e
diff --git a/sys-kernel/rt-sources/rt-sources-4.9.98_p76.ebuild b/sys-kernel/rt-sources/rt-sources-4.9.98_p76.ebuild
new file mode 100644
index 000000000000..1ca2170247ac
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-4.9.98_p76.ebuild
@@ -0,0 +1,58 @@
+# 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"
+
+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}."