From: Kurt Kanzenbach Date: Wed, 27 May 2020 18:40:42 +0000 (+0200) Subject: sys-kernel/rt-sources: Add rt sources 5.6.14-rt7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9cd9a6223501a6c91316fc86af3d2a43384d0916;p=gentoo.git sys-kernel/rt-sources: Add rt sources 5.6.14-rt7 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Kurt Kanzenbach Signed-off-by: Thomas Deutschmann --- diff --git a/sys-kernel/rt-sources/Manifest b/sys-kernel/rt-sources/Manifest index 6a3cbaa1bd30..bb439b340ee7 100644 --- a/sys-kernel/rt-sources/Manifest +++ b/sys-kernel/rt-sources/Manifest @@ -36,5 +36,7 @@ DIST patch-5.4.34-rt21.patch.xz 182396 BLAKE2B 5c9abc72cb4982dd14255ef222570b8da DIST patch-5.4.34.xz 1196144 BLAKE2B e79bb0ab3d9b17ffcac9411a98a35a385eb9d4bbb0246d62ccc72e37e5cebc8d7c6f66cfae5a8c7778f6e32b193b200ccf4b824db7fcdfdb23f74ca40fef685c SHA512 d4e276f2ae648446651dac5b0547dc42d3d7449ea6d629057f4071d6b9225dd9cd2be6ad01f786114acc4a789a62b59e8bc67b6b1e5480d4b4625258a501f4b4 DIST patch-5.6.10-rt5.patch.xz 158468 BLAKE2B 8b82e0fcaf5f79953d95355720893fbeb8fb4e5c529889c30de33b84281eac99ba37371d92df2efdeb5a40c106acbd533205a5d0457977c51978526e3d7b677a SHA512 6aaa1ee6ea648ce72d6c833aa3eb44e05013fbd253f8c1b6be79c9b10ce7b2bb79eb855539aa6f280e26c9e9973f814ddd45882dd8353b6eb9219eb66fcad0c5 DIST patch-5.6.10.xz 265024 BLAKE2B 10e617b637617ec384acdaea6566f1500ceeed6bf6682f363304db50befa89f43957d903ac9141123fd408fa715280e5fd1fa776ed233b03b41232e73bf05d50 SHA512 57860a7576149a34c1ff9277a8daee8d4ee8574270561302e4fb3916a7f4c23cf298a3a7f13ba5370ec665548b679f5340d3ce6788152b4d8d79f41009efa865 +DIST patch-5.6.14-rt7.patch.xz 158640 BLAKE2B 81e0a0c4b4feea3abd60efe89c7ae4be7dd8ba45999f514f63a9a6179c2c31acaf15911b0815c6f87aa7e3c36836fbb3cc065405c8be31134f3b2b144be48d72 SHA512 4d3604fa482bf6ae4d06ae97e85d10fd9248d174927713a2f010698137638a2d070ecf3e71cdea6529c67aad3fbfee8532adc2f3d810a4a7d6819e9ea19ae7af +DIST patch-5.6.14.xz 376464 BLAKE2B 01b64288759faa67aedfded7dfca5d8d1e894a863bf7bcaf91dd8f23c8b8c9df51d2e54ac5e414a33fc3469b32c10f1d630cf2636206b8e159d602df40ad3048 SHA512 8019bf12993f43d5508845a48b250d30220a8db6db262c8b97cd3f7c73abf0d054fcdfacb671644de529ceb495b95982d693a889051fb60fafc3180bd5b4f29e DIST patch-5.6.4-rt3.patch.xz 158852 BLAKE2B dcf9255913f52d24ce6487a879e03f69bb9e21120f31253762e4812a5cef4fa00fbf9ad24a0268ab87b0a4b1946bc50abb600f9b8ff77dccf8f969e3eaa61eca SHA512 aaeffff8d6fc9d95aea3b08cff0e9b56e60a65029d5440aa16fb19b6e4d288c4a31789fb751dfe94424ad69320fae67d6ae94014334a653fb8a8e138e296e847 DIST patch-5.6.4.xz 34744 BLAKE2B 856148010fefa7e45903da23a054429f924920f1fd331b725d00906baaf6a05fee769c5c780ae6548b4f02846f945b12012c1216411c8d92aef7499babc42528 SHA512 05607a47ee72af4a7b4d8424a3995d92d0cf358902459993908df0e95643cbfa9eec7ed56779d254b7b75ec1c8dbec5eea5e2e845f40f5511533d53b90b1c02e diff --git a/sys-kernel/rt-sources/rt-sources-5.6.14_p7.ebuild b/sys-kernel/rt-sources/rt-sources-5.6.14_p7.ebuild new file mode 100644 index 000000000000..12c5881dd444 --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-5.6.14_p7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +ETYPE="sources" +KEYWORDS="~amd64 ~arm64" + +HOMEPAGE="https://www.kernel.org/pub/linux/kernel/projects/rt/" + +inherit eapi7-ver + +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}."