diff options
author | Alice Ferrazzi <alicef@gentoo.org> | 2021-09-17 21:37:41 +0900 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2021-09-17 21:37:47 +0900 |
commit | 3ee7a4bbcc1c1812aaea2df3c0d9282344a68b2b (patch) | |
tree | 5da31a6714e0178762d9882e411cafe99c709b07 /sys-kernel | |
parent | sys-kernel/rt-sources: rt-sources 5.10.59_p52 (diff) | |
download | gentoo-3ee7a4bbcc1c1812aaea2df3c0d9282344a68b2b.tar.gz gentoo-3ee7a4bbcc1c1812aaea2df3c0d9282344a68b2b.tar.bz2 gentoo-3ee7a4bbcc1c1812aaea2df3c0d9282344a68b2b.zip |
sys-kernel/rt-sources: Add rt-sources 5.4.143_p64
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/rt-sources/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/rt-sources/rt-sources-5.4.143_p64.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest index 1f865907f71f..97899ff4f4ca 100644 --- a/sys-kernel/rt-sources/Manifest +++ b/sys-kernel/rt-sources/Manifest @@ -29,3 +29,5 @@ DIST patch-5.14.2-rt21.patch.xz 129928 BLAKE2B 713f116c1c5914421cf572c7672095e00 DIST patch-5.14.2.xz 8376 BLAKE2B 0fd1b718801661f5fe70866b0301bdcdaa4c2c0ca75aefcc20d4edb7439326cbc2aa1a0f78dd105bc7939f52107aca032f0e6e43d39c077e4f784220d0a8f752 SHA512 b8f181cf5d19e5206e4e0524a1bef5639346b71d002523bfd65e3a2fc2b914fa979c381c8a613c062503160510f31c003f712773cb6945497aa3eba71595c697 DIST patch-5.4.138-rt62.patch.xz 182740 BLAKE2B 788f2bf6c0e7a42bdec285bd1901231a6e8645ec58d889ca14d7c554c89ab68f3d633f019e1fa3c59119531fb3931e34838db68230786738e3890a21c063b10f SHA512 416fe5a31200be146256b4a670518253b80e68d400f0d67946fa807c1f3acce7dd37293e3aa4aa6285aa005f19df5077add0643cd28c535ccf1c8826e3a4e75e DIST patch-5.4.138.xz 3221104 BLAKE2B 67f23da6fb88ac9787aae01426d0ae03e169e383d1a8b8cafd33fe946b74ae0f1bfcd310a25b20ba1fdccb5de8f52d041700d5ad193efeb045e230845eeb0473 SHA512 fa81c0f8ff8aeb728fad31b973d12ac5640a2b4308c613674aa107a8f48d9f086cf529f36e733db200c2a531ecabd95539aae33d0bcde6310eddca193c52b320 +DIST patch-5.4.143-rt64.patch.xz 182608 BLAKE2B 7b82c747e6188aab354fea24273487abedeb4a69ecbdfa7d545585abdd23d0f63cddd17955fd33049e7b71829607d226b0818f52a44f326383a3a7754cad6360 SHA512 7c6778f95c278e3e3826c25ac594b35d5f7bee8ffda63cf83ad1e30b1331c09f8c628a26d2b8a7fda1cf69024792d10c3048ffa8d1855083a2873d7f6eb81ba2 +DIST patch-5.4.143.xz 3271796 BLAKE2B f8cfd03e8fe483689323f075000fabef388b99bdf63d1384348a55b04aada118bc2875d793cb16b078ef1e1c642a571a3711d0fb1717ecb5087b02b3307a288c SHA512 5850c88f4cfe6d26e543bb96b77691d846e5f3d506a607a7a083fc54561113f4b5afb48e93a963b056f34beb4f75cc64dd693f128ae5be795cdd8274c5955330 diff --git a/sys-kernel/rt-sources/rt-sources-5.4.143_p64.ebuild b/sys-kernel/rt-sources/rt-sources-5.4.143_p64.ebuild new file mode 100644 index 000000000000..337b873dda4d --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-5.4.143_p64.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}." |