Gentoo Archives: gentoo-commits

From: Alice Ferrazzi <alicef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/rt-sources/
Date: Mon, 27 Nov 2017 07:29:21
Message-Id: 1511767688.e562ef02bc83490842acb6197624ce709f43a715.alicef@gentoo
1 commit: e562ef02bc83490842acb6197624ce709f43a715
2 Author: Karl Linden <karl.j.linden <AT> gmail <DOT> com>
3 AuthorDate: Sun Nov 26 08:48:59 2017 +0000
4 Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 27 07:28:08 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e562ef02
7
8 sys-kernel/rt-sources: version bump to 4.9.61_p51
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 sys-kernel/rt-sources/Manifest | 2 +
13 sys-kernel/rt-sources/rt-sources-4.9.61_p51.ebuild | 54 ++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
17 index 746f1295b75..1399389d5b6 100644
18 --- a/sys-kernel/rt-sources/Manifest
19 +++ b/sys-kernel/rt-sources/Manifest
20 @@ -38,3 +38,5 @@ DIST patch-4.4.97-rt110.patch.xz 191772 BLAKE2B 9ce80852c224589df2b661d13e636906
21 DIST patch-4.4.97.xz 1410480 BLAKE2B 8dbd15938cb6fd5825db7eee3ad1fd2a7b4652245672b895584cd1a066826e012111cadc03ed6035f60ad2957310cca6e826dbb8ccce9d28dadd99fcd0861a44 SHA512 1364bffd4deffa37f515864538e00dc3c77f129f54fc97c65aa7e78553c200437ac9d244d50390c0d816cf0ffaf008757126e227b4f4fb25a3ba58319e64699e
22 DIST patch-4.9.47-rt37.patch.xz 171208 BLAKE2B 124341097e524fdb711a16175108168c9378eccb109198721bb3b206b97c27596fd598ad71a68566677de3651083f5637a4e8cdbbd313994cfb5377179db8e58 SHA512 b41e77788f29f825d7de923b9601668a27298ed21c6ca44576f67c0db48795b8b22f32bcdb713eb79792e4d1b286dce1387faa3418a306034516023943047609
23 DIST patch-4.9.47.xz 937408 BLAKE2B f81827ccdedcdb34b1d8f18b73674bf7ea19d83bb16c5f9f3c76909ec0a0561fcfda37da40ad410c74c1c7c00716a43540db5af50e8261f394a3253a2295df03 SHA512 1444676c9bdff6133191db4885fb6ddfb989e355c7f16ddc42ff1ed9415917f06c8147cd69346525624da8547204a68303d5002417b40e11c0174341f55cfc09
24 +DIST patch-4.9.61-rt51.patch.xz 171084 BLAKE2B accaafb5afa9b3f4e3f5d3c9bd2e52926b727ef9b81b2f45279ee9b23a0e03d0b6b1da3d1aa5d72051a8ed36a63e1123babe2a2d06622c6027793de7f0393f07 SHA512 d5dbfa5f0802365b5547efbccd3e3e3e00d7d7e9ea5ce9ecc60a11438854384df9de333d348ac4237c315c5c3a0f69487e99ade3afaafd26e098399abde73289
25 +DIST patch-4.9.61.xz 1113680 BLAKE2B 6616fd0676cad33aedad73fd3d6f2f1afab70d02830ec97ed50b3e1e39bd24930662eb9b861a4a099a26e704b3d3944aca6c101ce4810080a2c0b8943f6377ea SHA512 2b558fd3f5f7c70a1dde7a39ef3dd6bef621e5001d24f9945b887d58a4d640e58fbc0eecf77d845e4ca5815b507ee03f64e0db03a38c7d8e283eacae3d7dfb6a
26
27 diff --git a/sys-kernel/rt-sources/rt-sources-4.9.61_p51.ebuild b/sys-kernel/rt-sources/rt-sources-4.9.61_p51.ebuild
28 new file mode 100644
29 index 00000000000..3b5bc7251fc
30 --- /dev/null
31 +++ b/sys-kernel/rt-sources/rt-sources-4.9.61_p51.ebuild
32 @@ -0,0 +1,54 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI="6"
37 +ETYPE="sources"
38 +KEYWORDS="~amd64"
39 +
40 +HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
41 +
42 +inherit versionator
43 +
44 +CKV="$(get_version_component_range 1-3)"
45 +K_SECURITY_UNSUPPORTED="1"
46 +K_DEBLOB_AVAILABLE="1"
47 +RT_PATCHSET="${PV/*_p}"
48 +
49 +inherit kernel-2
50 +detect_version
51 +
52 +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
53 +RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
54 +RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
55 + mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
56 +
57 +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
58 +SRC_URI="${KERNEL_URI} ${RT_URI}"
59 +
60 +KV_FULL="${PVR/_p/-rt}"
61 +S="${WORKDIR}/linux-${KV_FULL}"
62 +
63 +UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
64 +UNIPATCH_STRICTORDER="yes"
65 +
66 +src_prepare() {
67 + default
68 +
69 + # 627796
70 + sed \
71 + "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
72 + -i "${S}/kernel/Kconfig.preempt"
73 +}
74 +
75 +pkg_postinst() {
76 + kernel-2_pkg_postinst
77 + ewarn
78 + ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
79 + ewarn "If you need support, please contact the RT project developers directly."
80 + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
81 + ewarn "the ebuilds."
82 + ewarn
83 +}
84 +
85 +K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
86 +${HOMEPAGE}."