diff options
author | Kurt Kanzenbach <kurt@kmk-computers.de> | 2021-11-20 10:55:48 +0100 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2021-12-23 17:16:58 +0900 |
commit | cfd1806b5e6873cb04015d1f0c12ef5579c12ef9 (patch) | |
tree | f92c16ce72940fc5fb4c08b1330017d2d3be1841 /sys-kernel/rt-sources | |
parent | sys-kernel/rt-sources: Add rt sources v5.15.3-rt21 (diff) | |
download | gentoo-cfd1806b5e6873cb04015d1f0c12ef5579c12ef9.tar.gz gentoo-cfd1806b5e6873cb04015d1f0c12ef5579c12ef9.tar.bz2 gentoo-cfd1806b5e6873cb04015d1f0c12ef5579c12ef9.zip |
sys-kernel/rt-sources: Add rt sources v5.4.154-rt65
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
Diffstat (limited to 'sys-kernel/rt-sources')
-rw-r--r-- | sys-kernel/rt-sources/Manifest | 2 | ||||
-rw-r--r-- | sys-kernel/rt-sources/rt-sources-5.4.154_p65.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest index f7bb976f186c..e42c22fafd18 100644 --- a/sys-kernel/rt-sources/Manifest +++ b/sys-kernel/rt-sources/Manifest @@ -32,3 +32,5 @@ DIST patch-5.15.3-rt21.patch.xz 81128 BLAKE2B 685ef5d14e7784ec34d01dec71ae7e8b5b DIST patch-5.15.3.xz 290732 BLAKE2B 62544d1c3187321db6b2dfc7f1d910ddbcfc2b9d2977087d0e1fba12dde33df2d74ea62ced1646243db68a8d386b22bc5c80a955c1e65e77084b06e224586d93 SHA512 cf8b69a3aa725e0ebbe767ac28b7b99de53ee2436a6883e54ee330d17bbdb4d88c147ef1082c3c02a20649ecdc1e363961d9b210e56018c92daff7b889ff2db5 DIST patch-5.4.143-rt64.patch.xz 182608 BLAKE2B 7b82c747e6188aab354fea24273487abedeb4a69ecbdfa7d545585abdd23d0f63cddd17955fd33049e7b71829607d226b0818f52a44f326383a3a7754cad6360 SHA512 7c6778f95c278e3e3826c25ac594b35d5f7bee8ffda63cf83ad1e30b1331c09f8c628a26d2b8a7fda1cf69024792d10c3048ffa8d1855083a2873d7f6eb81ba2 DIST patch-5.4.143.xz 3271796 BLAKE2B f8cfd03e8fe483689323f075000fabef388b99bdf63d1384348a55b04aada118bc2875d793cb16b078ef1e1c642a571a3711d0fb1717ecb5087b02b3307a288c SHA512 5850c88f4cfe6d26e543bb96b77691d846e5f3d506a607a7a083fc54561113f4b5afb48e93a963b056f34beb4f75cc64dd693f128ae5be795cdd8274c5955330 +DIST patch-5.4.154-rt65.patch.xz 182592 BLAKE2B fb2e5ac1b8d9b5fe1852deeca9b07513c544b1a576c3012eb93a9e131c1bd53c26a3a6a40ace93019b0a1a5ec66e57b9d3058e391314d9a9b6b3963154d814fa SHA512 74c092fc13918e5e424a838c45031b756e20d794baaffabfed551f222cd32198a16ddff7eadda4a3d682b13e31d8ea92b1cc66cd8f27a9f05db786671a29d796 +DIST patch-5.4.154.xz 3419760 BLAKE2B d67193634055eba94444c384c624f70189c7dcfce7024f54312be3239f0215c2687e04568359d391700e8b7892a41f56c9005b42ce9e384996c85f976164c32d SHA512 c6b906a73db666255c0cefec4ed5651ee5f7383d9c5b8696d73f2702a3cb43a5373b7b8022b13cd4d86fb48b3dfc57a25f370916b6b6aaa003c7429602894eb5 diff --git a/sys-kernel/rt-sources/rt-sources-5.4.154_p65.ebuild b/sys-kernel/rt-sources/rt-sources-5.4.154_p65.ebuild new file mode 100644 index 000000000000..337b873dda4d --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-5.4.154_p65.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}." |