From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1D15F158092 for ; Fri, 17 Sep 2021 13:03:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1EA1EE0833; Fri, 17 Sep 2021 13:03:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 01E90E0837 for ; Fri, 17 Sep 2021 13:03:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC3CF3431DD for ; Fri, 17 Sep 2021 13:03:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34520EC for ; Fri, 17 Sep 2021 13:03:25 +0000 (UTC) From: "Alice Ferrazzi" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alice Ferrazzi" Message-ID: <1631883777.345fa7148202ae2bb01357d585265373b59bd677.alicef@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/rt-sources/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/rt-sources/rt-sources-4.4.277_p224-r1 X-VCS-Directories: sys-kernel/rt-sources/ X-VCS-Committer: alicef X-VCS-Committer-Name: Alice Ferrazzi X-VCS-Revision: 345fa7148202ae2bb01357d585265373b59bd677 X-VCS-Branch: master Date: Fri, 17 Sep 2021 13:03:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a5c63fbf-3d6c-4950-a918-985902f31e74 X-Archives-Hash: aaff726095fde7fcf705d445e8ebe04b commit: 345fa7148202ae2bb01357d585265373b59bd677 Author: Alice Ferrazzi gentoo org> AuthorDate: Fri Sep 17 12:57:07 2021 +0000 Commit: Alice Ferrazzi gentoo org> CommitDate: Fri Sep 17 13:02:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=345fa714 sys-kernel/rt-sources: Bump revision of 4.4.277_p224 to EAPI=8 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Alice Ferrazzi gentoo.org> sys-kernel/rt-sources/rt-sources-4.4.277_p224-r1 | 51 ++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/sys-kernel/rt-sources/rt-sources-4.4.277_p224-r1 b/sys-kernel/rt-sources/rt-sources-4.4.277_p224-r1 new file mode 100644 index 00000000000..6b7a4acca86 --- /dev/null +++ b/sys-kernel/rt-sources/rt-sources-4.4.277_p224-r1 @@ -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_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}."