diff options
author | Alice Ferrazzi <alicef@gentoo.org> | 2022-06-16 00:45:53 +0900 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2022-06-16 01:09:26 +0900 |
commit | 82ec6e321f1f094dbe77b911df2e80748c530af2 (patch) | |
tree | de32ae20275effa033bd4b76f32fcaf321d7ed00 /sys-kernel/rt-sources | |
parent | sys-kernel/rt-sources: add 4.19.246_p110 (diff) | |
download | gentoo-82ec6e321f1f094dbe77b911df2e80748c530af2.tar.gz gentoo-82ec6e321f1f094dbe77b911df2e80748c530af2.tar.bz2 gentoo-82ec6e321f1f094dbe77b911df2e80748c530af2.zip |
sys-kernel/rt-sources: add 5.4.193_p74
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.193_p74.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest index bef6ba1f1eed..a0da34c71596 100644 --- a/sys-kernel/rt-sources/Manifest +++ b/sys-kernel/rt-sources/Manifest @@ -21,3 +21,5 @@ DIST patch-5.16.2-rt19.patch.xz 72364 BLAKE2B 6485a5f30fa871854ac63847e725f3a8eb DIST patch-5.16.2.xz 20432 BLAKE2B 9c9f697e4dd0a78a94ac0bd361ec69683c6904d9af02da55c3001394e6a6efcc1fccd5d44747fff6ea47271b7655bd7866d161a90196cecaddde1c630ef5c425 SHA512 50d3c386e391603fbfe86780bbfa69c3a7caa83a7eea6c239af133dde3a7aa4746f4a3f1483589018d5ac27caa7ee69d869f8f64f4b5121ddab52224f5302222 DIST patch-5.4.182-rt72-rc1.patch.xz 184096 BLAKE2B 4922001cc619de53a01290ca9772f9411bf245ac857f5cb08a10a7e9e7c4cb71e7c323bcd763d0eb206a4a3c780b886e6ccfc34238bef876397e087cdbb38151 SHA512 1e82c6a6eb51f7fab017ea70d5fe356a7594ce6b826d85afcc5f70603125ce4fcf53eefdc91d4dedc456da269336cb0814b4c6136059354baf0314c25909a023 DIST patch-5.4.182.xz 3742912 BLAKE2B aa85a5c0e9d0ce8328942a183f0cb97fa003e248ccd218849aa5b7805e84e1dec23b78deae761882f4a8d73330b178aa6087816ed489b3050c9a50bf46348af9 SHA512 512e412ae0ad3c1a55c95324b0a959b37dce1c5783124d728cbafdbbb2165c0def65a7a8c537640dac60717a570a420573b4319830b5b126a8e9184f98b11a75 +DIST patch-5.4.193-rt74.patch.xz 184160 BLAKE2B 02988c8f7856292a6e56aca99b7721be85b4356c4a52218a4bddb9bd1790edccde31f367eb8abf6783aa30a08626fc1c7aabf65a1eb909e76a64dbe5661149ea SHA512 dddd2077b070566135e303cfff3687e9cd72ceb3479f9030d13caec9b29cb4ecfaf2691ed34973c5a14b431c7de8f952a4544c78e5119b1e366c1748eab6c95c +DIST patch-5.4.193.xz 3907812 BLAKE2B a9d3eb2186f8f29d2164f4b3ee1ed0339969890b0ea007c8b03a5f08d2fe6aba7239112af2c661d0e147481dcddec5931f67504f752e4aba73da1c6b5a648244 SHA512 6166943e76285ae6c48fe2ebf6d057c39c18d268869c3c03620883f3e087eb3378293799e601ca3f2e948ed24e52afac0f04df808e23d7686844ec24d812b26e diff --git a/sys-kernel/rt-sources/rt-sources-5.4.193_p74.ebuild b/sys-kernel/rt-sources/rt-sources-5.4.193_p74.ebuild new file mode 100644 index 000000000000..55e6c5d1d9b1 --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-5.4.193_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}." |