Skip to content

Commit

Permalink
sys-kernel/rt-sources: Add rt sources v5.10.78-rt55
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Kurt Kanzenbach <[email protected]>
Signed-off-by: Alice Ferrazzi <[email protected]>
  • Loading branch information
shifty91 authored and aliceinwire committed Dec 23, 2021
1 parent 767f1ea commit 1da9113
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys-kernel/rt-sources/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ DIST patch-4.9.286-rt189.patch.xz 167596 BLAKE2B 1b9b26ad403b67e86be2df16e2cb264
DIST patch-4.9.286.xz 4111252 BLAKE2B 5917721af806296106993d6e0af51d81e5e788732c7c16f8e765d8383369f07cca9375ccaa072895f866a33ace2b9e15aa710386676e9e99b080547cb9bf3fcb SHA512 9a16f0bc6319866a969594546ab19855858096c0ad9e52acb216185b3ed53a5ecf04716534068ec7e74dde12f676004a5106a829fa7f3b4323cf469cdb28ed4a
DIST patch-5.10.59-rt52.patch.xz 173016 BLAKE2B be2a4dc860de1641618143ec9e9adc1c20ef59c5dd5c8500c14de7770c93f5b927a957ff2b30f0b6ec0a9801b6321c10073fb89a606f0c5523636217b16850f2 SHA512 8f4509989e1a9860b15638117e5c74cc9209e7c14e2bd20a8b4436f17a59e69142bcb0051fb768c87bbbabd8faa13941e6f4cee8832fc3a5c5f26ed2776c0dd4
DIST patch-5.10.59.xz 1908080 BLAKE2B 7eace61991b62dadb88c41f08d0392fd5dfc5ca405dbce803982b6b6a01131bac6f3b922f058a9f8bf602effffdc7a3dc56e271120315d1b5d0805449f51ebfe SHA512 1a2aff2fbafb74ee2f6b623a1e34655bdc56acbeafa83040e77bc67b6374932ffd6ea1b6219b765ae57fbc5ff41e04f76f651489c267eacae7e971153f14a3d2
DIST patch-5.10.78-rt55.patch.xz 173132 BLAKE2B a6e19641f9632c7179b85ae27e18c0f70b41877d3a28a39a0c45a4e296f525a8cff02709591731a4d80be8f27a796aebfc3bedfc6caa5b29cf093b4b40e8f7e6 SHA512 5a397d21d3865e965d79ad91bb4103f05f592e877fa5dd2a1fe56a6afa0c945036ca8ddb286b1674fa0add9a371ef88823f37410653b1ed4cfb2aaa53fe600f3
DIST patch-5.10.78.xz 2273196 BLAKE2B d132efd97289a022e0567245318ad27c62c4d801b94634854b8990c201c0a06ebcd7cde401541a22834f730cb2c014081893b8d3de7d59c7e7f2fa5613d1fc54 SHA512 81153a790c3c5bbdedc1610bb1fd798cc81f3574fb199891d2ed14d98c38055c85a3b74d8c5bbf0695e71a2beb54f6a588b697bff06cd672a031ad269c289f81
DIST patch-5.14.2-rt21.patch.xz 129928 BLAKE2B 713f116c1c5914421cf572c7672095e00eebb106876a4e1eb9ce2fbddcc4dfd000a6485dd751a4c5c48af54ea15cb6003d686fcd133a215700a95fc375e1e395 SHA512 8a223a7af7141f6042b1d592f407b2c370edeab4e64fe015f14397bccd99566bfa5aeb79b77849c57d2bc1e00824c9ce68db4e35dc4c48d0d8599ef097a7b3d2
DIST patch-5.14.2.xz 8376 BLAKE2B 0fd1b718801661f5fe70866b0301bdcdaa4c2c0ca75aefcc20d4edb7439326cbc2aa1a0f78dd105bc7939f52107aca032f0e6e43d39c077e4f784220d0a8f752 SHA512 b8f181cf5d19e5206e4e0524a1bef5639346b71d002523bfd65e3a2fc2b914fa979c381c8a613c062503160510f31c003f712773cb6945497aa3eba71595c697
DIST patch-5.15.3-rt21.patch.xz 81128 BLAKE2B 685ef5d14e7784ec34d01dec71ae7e8b5b731920f02188aa26a8f912201508b0f6472a810cbc5fbe89ab3ece4e376a80c62e4212463bd27a273b7471127245ce SHA512 550381ff6e29554aaa2921f8e8f04a17841ff70b1bf2e59559379645420c354c92d921709bc2e11b5f8352105b82005af98c6b10c0834ad835c5f934d4102fdd
Expand Down
52 changes: 52 additions & 0 deletions sys-kernel/rt-sources/rt-sources-5.10.78_p55.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# 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"
K_DEBLOB_AVAILABLE="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}."

0 comments on commit 1da9113

Please sign in to comment.