commit:     326c5bb50b61c814749e80ff6ef9dacd688b731d
Author:     Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 19 05:30:20 2022 +0000
Commit:     Alice Ferrazzi <alicef <AT> gentoo <DOT> org>
CommitDate: Wed Oct 19 05:30:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=326c5bb5

sys-kernel/rt-sources: add 5.10.145_p74

Signed-off-by: Alice Ferrazzi <alicef <AT> gentoo.org>

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

diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest
index 1a2e7054249a..5bd88fe459ab 100644
--- a/sys-kernel/rt-sources/Manifest
+++ b/sys-kernel/rt-sources/Manifest
@@ -10,6 +10,8 @@ DIST patch-4.19.255-rt113.patch.xz 166868 BLAKE2B 
e2f37bf6d6fc5a1588bb1114baa654
 DIST patch-4.19.255.xz 4776772 BLAKE2B 
65f0dd0d52db82c58f73a3407fe15ae38be0ef690aea391ad9e2b21330e94b02a1f38a802ff9a8c3ec424a27a0e23ab85a8e2282b93262cd21e7ece1094f4aca
 SHA512 
e0a797ae95e0cc7bc52e7e8fa8b42ec11cb88353519a22868fb52447dd804daf759d0c4df5cfd6a02464ca145569fb119b22fd894f3cd4baf950db505708fa6b
 DIST patch-5.10.131-rt72.patch.xz 172172 BLAKE2B 
fa0be15fea059e023e7457869dc92a583010b4c5f2504c0e758c4f005028a19f0616e6e909b11a3106be9e0ed4cfcc6244a716b4bace2b02691e842b906ac941
 SHA512 
500a61a5572e8d252f99337f435db2494deecc438d340e427de4fe772c9dc6b141834e2f6eb05b25527fe0ee7bfcc6a5dbda1f232e8af11f8199fd361c447ebb
 DIST patch-5.10.131.xz 3385312 BLAKE2B 
525121ea96691308ee052b79e4e1fc77c84a5f9477639a4e7aac5ef2d043cad0fe321e203add00d24da302747f33e7ac7f05e99ee75fe90ef514501efe5750b0
 SHA512 
fc45127c2b3b5b7b596b80544aef38dac2e838f139c92f59e5f068b3431fadd9ac3f249f58f35ff6bb60003ed48b0a57f969d12d0c793d64060b27ff8616b493
+DIST patch-5.10.145-rt74.patch.xz 172728 BLAKE2B 
763bb5e2b88ca1daa65d5502389e93dbb04a874f92d135368627295b890e8059cf677bdcbf874f53fe457c36dfcad58fed06714596aeb322423cf0c5fc04b170
 SHA512 
7a5c32e397bc250182c11253b6e75e78d3806966c8f40022f005971d19a2a9261f33f7d344e317c88733a663efcb037a32c282d25d3a1aa634df995e4fd011d1
+DIST patch-5.10.145.xz 3702272 BLAKE2B 
6908b4c7458ef8d64eb6d0fea02c70877b46b5ab403cd3d1904745e3b00f1517c155197ab698e2e4dce4f09c596573f4e867da0aeb02e70a676cdd9a5b213f6b
 SHA512 
e497e56d6585cc3ca5c1fe92d343b01a607a1029ed15d9cb3ecff6465864fba5c76bde2589554c38e05694c89aa9ff772c57bc653c7386b24d4f007b59aac30b
 DIST patch-5.15.55-rt48.patch.xz 80184 BLAKE2B 
707bfc30c824b3e58a99fb6f188666a5aa63b24b407770b517332343b98c2806b053570e8355d40d64feb3fc368d47fe81a1bc480c5eaf18ca05adc660c15bcb
 SHA512 
6de353dcbe47cacc066ef50f6e824687326ea4e8e8e7b3df624e050a0776a0175a9f633c6125d4a4c83f7ac0ff0c484bc65f3d23b9389dc6a31b5d769f93238e
 DIST patch-5.15.55.xz 2199420 BLAKE2B 
c190a25360df8be15a33c3bcff69c86d3def4d41490d6b382eb3d5e9e09265ca29233b327e8099f73a3630b7c2c8641874fd76c03ff26d8f05c26aafd23f35a3
 SHA512 
ca57514bc525f1fae396ee4ff445a9c9d24e3ad8cf424a1cec39a905d85a81dc7e04f17052214cd4554301946b489e5fe3b671d35b64512c75b590b8382c29ef
 DIST patch-5.15.71-rt51.patch.xz 77164 BLAKE2B 
b0e981a9b9782aea88a5559ecf35712454a2cbc5a954234cf1abf6d9b98198816c4bd4b5aea9deedda4baff42fcb35094b215d57ca83007510cc2f79db903534
 SHA512 
4478fb3b35d79c103559d000e013ef52a6882c5223702e3e25fe96328d5168c1fc288dffd65a3f42e3b57b80367db2b1f9601ae619520373ceb4a6ba2fb7177b

diff --git a/sys-kernel/rt-sources/rt-sources-5.10.145_p74.ebuild 
b/sys-kernel/rt-sources/rt-sources-5.10.145_p74.ebuild
new file mode 100644
index 000000000000..55e6c5d1d9b1
--- /dev/null
+++ b/sys-kernel/rt-sources/rt-sources-5.10.145_p74.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 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_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}."

Reply via email to