From f56c16550d93c38e338e64c3a3f97b300e7e1bbb Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sat, 31 Aug 2024 06:26:51 +0300 Subject: [PATCH] sys-kernel/xanmod-rt-sources: add 6.6.48 Signed-off-by: Alfred Wingate --- sys-kernel/xanmod-rt-sources/Manifest | 3 ++ .../xanmod-rt-sources-6.6.48.ebuild | 51 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.6.48.ebuild diff --git a/sys-kernel/xanmod-rt-sources/Manifest b/sys-kernel/xanmod-rt-sources/Manifest index f0b1600..6afa0c3 100644 --- a/sys-kernel/xanmod-rt-sources/Manifest +++ b/sys-kernel/xanmod-rt-sources/Manifest @@ -4,7 +4,10 @@ DIST genpatches-6.6-50.base.tar.xz 2671516 BLAKE2B 356a9a17f69416423c37c801e715d DIST genpatches-6.6-50.extras.tar.xz 4060 BLAKE2B 57044e169841ec9e977b107ad32741262bf3f1455638db2d105e160f2ccc21a6dc6bcd75e09e7f0761ffe3c1879dfbaf39bbef8150cd0de407875f2bbbfd700a SHA512 5c0d55dce1f869f79ec0db577d282b078ceb17667e5b18ee1abb00a6f94ee82978039ddf9650cbccfa1b8f9b99abd48057c44b230510bebe17d890e316d6c7fa DIST genpatches-6.6-51.base.tar.xz 2817576 BLAKE2B 42dbf8663f53bc7196c57c7cb93029b780354e6e1580405b08a34fadd2ea38302c37bb4559df4c65916b0ec2f98c61f7eced52fc6be3de0d6dbe7468dd3d8c22 SHA512 fa25988574b06ad59403b1858d97f70fe0e6056d0b889d8a6e56f44b763146da63a952a2b7361f3bcab1aa34c9a3a97f81a35113a3e5173a2e09b704e54c386f DIST genpatches-6.6-51.extras.tar.xz 4060 BLAKE2B a9e7008c67de6095d6c97bd6fbe9f7359e71d0b40aeb11a0ff14a0cca4feea199a3895bd9ac086d3f011b5c35a98f46d5856b8d27ca7438b8979203ff9164155 SHA512 fa649b918f1bcb7dbe4670a30dbbb47bbf8d57da73724463bc8fb5664c527f082a02f06ac96ff6a538469fe73fe0978f97bcf69b64a1a8d488387ff5a06844f6 +DIST genpatches-6.6-55.base.tar.xz 3018672 BLAKE2B f5f3e39c634e196827da06935b783cb87c3503998df6b1f3d711484ab984b4a378feee96a45b932b409593290ea7a77271eb39a1e5085e5a4fde3c3307ced95d SHA512 88b2ef56dc0c2e1e7c34a9a81b8981d4c8ab6ba5e5821cbf3da8e608287375f2f0eaff427fae8f47a59cb9fe2c3b8a9d9c569108f27b833a10c6b460dde0bcd7 +DIST genpatches-6.6-55.extras.tar.xz 4056 BLAKE2B d54e353fcd41ede054bfde20ef5bc6518056b1069e440e8ef31b4021ba2b85eb4b578e8aa73a0d778e21a692914ec850f2604e635ff178690a3baee4dcf106be SHA512 a59ff175eb6e7491fe635f65dc44878b8fbf5eacf805b7158b3e9b6c4313881d24a13fd6d252f23c7fd9b5eac1a2c110431ca02aa2583fff71cd306d1b4f3cd9 DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 DIST patch-6.6.41-rt37-xanmod1.xz 2609576 BLAKE2B e0670036285e956c7c42986d77c9ea18efe9052efbf2ee0cfd1bd60df9bfd1b51ec3c17248c578b2901913e40cee2a7a126066d58bb96ec455d6835056b8dae4 SHA512 d211484e959d9488972219ca13e1895cd297588ddfe06a0349ade50aede5d37106e64cab5e2ea4b3cd92fb4186efcc6a8dd2d623a1b12de181612068de953d61 DIST patch-6.6.43-rt38-xanmod1.xz 2640944 BLAKE2B f4857cc0ffc1468fb1a2492a414d7831818fa51f59c31477e87caf7ec101fcf487623878e35d8a9350d5cab174665156a07c4706c613ff669d45223ebb15c4ad SHA512 a37d988422fed45d18d9471615706343a9951aa88c3eb17b2d2474b4251f37e82d62c8e505cb168b49c519954f8a6051ecfb73a0c8acd65291306be03377d128 DIST patch-6.6.44-rt39-xanmod1.xz 2767924 BLAKE2B 770034a1271964ece6a83999ff051213a2b8dec7348534ab323d1a38adacea8c15e059b2df41a3c54c6c544b5407c756effa32f821c233e09a6129f185619d8c SHA512 e9091166be048352c2bdd469ebeb0f30043eb3a126ec698a3f34cfbca736a3c187c89d056c45bd388378d3941233a5338e61167c3a8f047711b7133f2a101ac5 +DIST patch-6.6.48-rt40-xanmod1.xz 2934280 BLAKE2B a333a0dfef7c28cd417cdba871fc14029527c248309078cea827ab87be89aa9227a604403f07583de6b666efa205f6f799cf0af97e675f19d4a95074799c7e4b SHA512 6c89a08fc15b11ec2cbc53352c16b13662f61e4ba22ab7044d9dd539deec060e84715466f70134cb7f1db509d66f6bfd916514e07c9235228e870f3a2b47d3c3 diff --git a/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.6.48.ebuild b/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.6.48.ebuild new file mode 100644 index 0000000..0d12c47 --- /dev/null +++ b/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.6.48.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +XANMOD_VERSION=1 +RT_PATCHSET="40" + +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="55" + +ETYPE="sources" +K_SECURITY_UNSUPPORTED="1" +K_NOSETEXTRAVERSION="1" + +inherit kernel-2 +detect_version +detect_arch + +DESCRIPTION="Full XanMod sources with CONFIG_PREEMPT_RT and including the Gentoo patchset" +HOMEPAGE="https://xanmod.org" +SRC_URI=" + ${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz + https://downloads.sourceforge.net/xanmod/patch-${OKV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.xz + ${GENPATCHES_URI} +" +LICENSE+=" CDDL" + +KEYWORDS="~amd64" + +src_unpack() { + UNIPATCH_STRICTORDER=1 + UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${OKV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.xz " + UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1*_linux-${KV_MAJOR}.${KV_MINOR}.*.patch" + kernel-2_src_unpack +} + +src_prepare() { + default + + # 627796 + sed \ + "s/default PREEMPT_NONE/default PREEMPT_RT/g" \ + -i "${S}/kernel/Kconfig.preempt" || die "sed failed" +} + +pkg_postinst() { + elog "MICROCODES" + elog "Use xanmod-sources with microcodes" + elog "Read https://wiki.gentoo.org/wiki/Intel_microcode" +}