commit:     a60220d85f87e1fe4b0b143e65dcbef807ae82bf
Author:     Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 23 14:24:19 2021 +0000
Commit:     Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
CommitDate: Mon Aug 23 14:25:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60220d8

sys-kernel/rt-sources: rt-sources 5.4.138_p62

Move to EAPI8
Remove deblob as incompatibility with python2

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alice Ferrazzi <alicef <AT> gentoo.org>

 sys-kernel/rt-sources/Manifest                     |  2 +
 .../rt-sources/rt-sources-5.4.138_p62.ebuild       | 51 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 383e3c01f2f..2d1e65178c7 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -41,3 +41,5 @@ DIST patch-5.4.109-rt56.patch.xz 182720 BLAKE2B 
cf87f20f32b692e832e1a0a93a2c1b09
 DIST patch-5.4.109.xz 2776096 BLAKE2B 
1b705558335df5ef12ee3f01654532b7bcefe23242599c749f31ca9d2c6509a81660e8977eb43c4dd052d586d47537d9d58a82930b9587d69142211baed25bdd
 SHA512 
2033c11b03a6cac1770dbc9188c84881538212f7ed9bc419f594b637aef88934d9602c95d3d4d20af8e0a0a56a135a25905d4a6a358fb2334c9132082b66eb76
 DIST patch-5.4.129-rt61.patch.xz 182772 BLAKE2B 
d6486f817dba60ddd6526fc98b1a381f5f8c6323fbaa2aff780942fbd26ece2af57c7c39e4b11c87b7bad0c607ec291f6e37ee107d3372bd9cedc1ccc8eeaae7
 SHA512 
4c70914fa4940d7dee257c02ab95384ccd53329306074a8f54d58481c6979762db49ddfe849c7e10b6bb82eecfdbfd89043b584c7ee281430c4772ac17a588ce
 DIST patch-5.4.129.xz 3068036 BLAKE2B 
ca95c9fce66dfcc83c5c8252475d79d3d6a66d3d06308520e4643854089c6051266663ae1a1f461443ab9abf24255c219beaaf235b21053981cfb0d850e711e8
 SHA512 
9b5cc80c89caa74b3b700b6defc5c4e214e09ac3fffb9b7cb364daaec1e81242bd3d03d36ceae7688eee43bf9fb471385ef65ef1fc477ef1a33dab0c2a516e2c
+DIST patch-5.4.138-rt62.patch.xz 182740 BLAKE2B 
788f2bf6c0e7a42bdec285bd1901231a6e8645ec58d889ca14d7c554c89ab68f3d633f019e1fa3c59119531fb3931e34838db68230786738e3890a21c063b10f
 SHA512 
416fe5a31200be146256b4a670518253b80e68d400f0d67946fa807c1f3acce7dd37293e3aa4aa6285aa005f19df5077add0643cd28c535ccf1c8826e3a4e75e
+DIST patch-5.4.138.xz 3221104 BLAKE2B 
67f23da6fb88ac9787aae01426d0ae03e169e383d1a8b8cafd33fe946b74ae0f1bfcd310a25b20ba1fdccb5de8f52d041700d5ad193efeb045e230845eeb0473
 SHA512 
fa81c0f8ff8aeb728fad31b973d12ac5640a2b4308c613674aa107a8f48d9f086cf529f36e733db200c2a531ecabd95539aae33d0bcde6310eddca193c52b320

diff --git a/sys-kernel/rt-sources/rt-sources-5.4.138_p62.ebuild 
b/sys-kernel/rt-sources/rt-sources-5.4.138_p62.ebuild
new file mode 100644
index 00000000000..337b873dda4
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-5.4.138_p62.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+ETYPE="sources"
+KEYWORDS="~amd64 ~arm64"
+
+HOMEPAGE="https://wiki.linuxfoundation.org/realtime/start";
+
+CKV="$(ver_cut 1-3)"
+K_SECURITY_UNSUPPORTED="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="https://www.kernel.org/pub/linux/kernel/projects/rt/${K_BRANCH_ID}/${RT_FILE}
 \
+               
https://www.kernel.org/pub/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/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}."

Reply via email to