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, 07 Jan 2019 16:41:35
Message-Id: 1546879248.7a80e91a33686b8309cd86f6e393dab44a0078ce.alicef@gentoo
1 commit: 7a80e91a33686b8309cd86f6e393dab44a0078ce
2 Author: Karl Linden <karl.j.linden <AT> gmail <DOT> com>
3 AuthorDate: Thu Jan 3 07:27:23 2019 +0000
4 Commit: Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 7 16:40:48 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a80e91a
7
8 sys-kernel/rt-sources: version bump to 4.9.146_p125
9
10 Package-Manager: Portage-2.3.53, Repoman-2.3.12
11 Signed-off-by: Karl Linden <karl.j.linden <AT> gmail.com>
12 Signed-off-by: Alice Ferrazzi <alicef <AT> gentoo.org>
13
14 sys-kernel/rt-sources/Manifest | 2 +
15 .../rt-sources/rt-sources-4.9.146_p125.ebuild | 58 ++++++++++++++++++++++
16 2 files changed, 60 insertions(+)
17
18 diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
19 index 313aaa437d2..35c150b2480 100644
20 --- a/sys-kernel/rt-sources/Manifest
21 +++ b/sys-kernel/rt-sources/Manifest
22 @@ -41,3 +41,5 @@ DIST patch-4.4.164-rt176.patch.xz 196228 BLAKE2B 8803f540ee14f67821fa47ea0087a5d
23 DIST patch-4.4.164.xz 2230352 BLAKE2B 4b4e270b9ae14ef89487c55bea606b20979bc492ae35a7cb6d58f781c12399886ac9e777e74fca738bbb84dd9f0683ce46f1635c301762fe330a15fb0366fb67 SHA512 df6c928caf73535ec57f100d4814593ec64cbb4cb504926888d1958612e61b2e958edff02af913f35cc815f0605286b3f6b8c5f4f37268426a9a63a5af4fdbd2
24 DIST patch-4.9.115-rt93.patch.xz 173136 BLAKE2B 5ed7aec677fdcb97f1d56ea3e6984828bc0581e9f39cc9f231445ff3be0561f9a691e6e3e6f17929d3a4aee031fa64f1cb114d4d3cf54d7294073cd85e94ec58 SHA512 a86dff8c348b3260a75f83c2a287eddb1df36c013b3d3dce91e3fcad624c851003ac4754b177805a99f8237676cf2da3de4a0657777902bdbfc40c5cecf2b18a
25 DIST patch-4.9.115.xz 2080804 BLAKE2B 6c2d1b957b55ea6a28b82fa7bafb7bac56b5345297de2e5a53e54ff817b27fb7371a36e5424fd58479359edc3e4a4e8dd41f1dd8b8d612ce10d4bbc615c2c432 SHA512 ad0ed227bf915ab2a7093237c3a482909497b1a00cc5262c79e720a50b008b4942904658fe2e8f764df0ac6e855a632de0bbd4d5788e63c4dbfa3e8f2f8fcf97
26 +DIST patch-4.9.146-rt125.patch.xz 176268 BLAKE2B 78a2d82b7d05ea5b06c0ab31ff5908d41f016c0e03b0cd6928fd1e96e8894396c98400a7b2face257b7d95f22cefda2d994fe0481b85403d43f5b0525b70b272 SHA512 61638a4201054ddebac579a72993b4d7ad95bb6a1f1c00e5db308da168e4f1a2aa5e1132fa84b052d566cffd68fa64ce82058fc45c080b14fde18688b16c514d
27 +DIST patch-4.9.146.xz 2470640 BLAKE2B 06ab19bca181a4074e3ac1c81e6c0a71a4367ca7887cb7445709f3ca48634da6a68404e6ae7010f260e06e57bf89192443d6c57c59b8572792268408d458a84d SHA512 a08fd675692c60e7b860e892bcf69dc693eb0e4bdb94c74200e7d09cfd029a9478f103b90eddaf8ecff694af13f5f0e2c9de62eaaef0694ab3643af41680b844
28
29 diff --git a/sys-kernel/rt-sources/rt-sources-4.9.146_p125.ebuild b/sys-kernel/rt-sources/rt-sources-4.9.146_p125.ebuild
30 new file mode 100644
31 index 00000000000..3fc23ebfa2d
32 --- /dev/null
33 +++ b/sys-kernel/rt-sources/rt-sources-4.9.146_p125.ebuild
34 @@ -0,0 +1,58 @@
35 +# Copyright 1999-2019 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI="6"
39 +ETYPE="sources"
40 +KEYWORDS="~amd64"
41 +
42 +HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/"
43 +
44 +inherit eapi7-ver
45 +
46 +CKV="$(ver_cut 1-3)"
47 +K_SECURITY_UNSUPPORTED="1"
48 +K_DEBLOB_AVAILABLE="1"
49 +RT_PATCHSET="${PV/*_p}"
50 +
51 +inherit kernel-2
52 +detect_version
53 +
54 +K_BRANCH_ID="${KV_MAJOR}.${KV_MINOR}"
55 +RT_FILE="patch-${K_BRANCH_ID}.${KV_PATCH}-rt${RT_PATCHSET}.patch.xz"
56 +RT_URI="mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE} \
57 + mirror://kernel/linux/kernel/projects/rt/${K_BRANCH_ID}/older/${RT_FILE}"
58 +
59 +DESCRIPTION="Full Linux ${K_BRANCH_ID} kernel sources with the CONFIG_PREEMPT_RT patch"
60 +SRC_URI="${KERNEL_URI} ${RT_URI}"
61 +
62 +KV_FULL="${PVR/_p/-rt}"
63 +S="${WORKDIR}/linux-${KV_FULL}"
64 +
65 +UNIPATCH_LIST="${DISTDIR}/${RT_FILE}"
66 +UNIPATCH_STRICTORDER="yes"
67 +
68 +PATCHES=(
69 + "${FILESDIR}"/rt-sources-posix-printf.patch # 627068
70 +)
71 +
72 +src_prepare() {
73 + default
74 +
75 + # 627796
76 + sed \
77 + "s/default PREEMPT_NONE/default PREEMPT_RT_FULL/g" \
78 + -i "${S}/kernel/Kconfig.preempt" || die "sed failed"
79 +}
80 +
81 +pkg_postinst() {
82 + kernel-2_pkg_postinst
83 + ewarn
84 + ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
85 + ewarn "If you need support, please contact the RT project developers directly."
86 + ewarn "Do *not* open bugs in Gentoo's bugzilla unless you have issues with"
87 + ewarn "the ebuilds."
88 + ewarn
89 +}
90 +
91 +K_EXTRAEINFO="For more info on rt-sources and details on how to report problems, see: \
92 +${HOMEPAGE}."