From 5850fececd33358cb4f449dd76ffe1bfa6bc6f1a Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Fri, 13 Sep 2024 11:36:48 +0300 Subject: [PATCH] sys-kernel/xanmod-rt-sources: add 6.6.50 Signed-off-by: Alfred Wingate --- sys-kernel/xanmod-rt-sources/Manifest | 3 ++ .../xanmod-rt-sources-6.6.50.ebuild | 51 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.6.50.ebuild diff --git a/sys-kernel/xanmod-rt-sources/Manifest b/sys-kernel/xanmod-rt-sources/Manifest index 5f042df..684ccf7 100644 --- a/sys-kernel/xanmod-rt-sources/Manifest +++ b/sys-kernel/xanmod-rt-sources/Manifest @@ -4,7 +4,10 @@ DIST genpatches-6.6-55.base.tar.xz 3018672 BLAKE2B f5f3e39c634e196827da06935b783 DIST genpatches-6.6-55.extras.tar.xz 4056 BLAKE2B d54e353fcd41ede054bfde20ef5bc6518056b1069e440e8ef31b4021ba2b85eb4b578e8aa73a0d778e21a692914ec850f2604e635ff178690a3baee4dcf106be SHA512 a59ff175eb6e7491fe635f65dc44878b8fbf5eacf805b7158b3e9b6c4313881d24a13fd6d252f23c7fd9b5eac1a2c110431ca02aa2583fff71cd306d1b4f3cd9 DIST genpatches-6.6-56.base.tar.xz 3040548 BLAKE2B 751529aa9bdd2aa696fb367cc2afdd4def0783640c847d65d836dadc74531e5fbd5595ec4aa1f89fa62004d9437dab57adc92b64444b5ed3299a3ae6884b86c3 SHA512 a9e08b3eb6fc9c2b595a8ab6a6933349172655da0126cac6498d0c541bd2d6e1377b849041f03af519927219c17b618ac622f45ca931bd0770bee63c64023a26 DIST genpatches-6.6-56.extras.tar.xz 4056 BLAKE2B d54da14f3afefdb9aa8c6597913f37c5d1314e4a93216608bee52a52bcc05924bfadf2d5e7e49b0488159b0a57942f1579a4e7b3fcdc90a78c10e0efffb6a1ed SHA512 ba961d5434222ecd618cb44b08ec6413d98c1d1958af2712065d924370141f789ebb315dc53a5bdbb75d3cbe86cf719983e66a58d537eb78455eda509689aa73 +DIST genpatches-6.6-57.base.tar.xz 3079200 BLAKE2B d0f16f9b2f09f182c02fdb6cfa4b76f3d9d41f22b149d50faff129daa677b97830128a40c8c2f98b2534b722865b49b8a60b5f205b7d3284ef94a67946a4b460 SHA512 c6d16e6d814d363f0e34f3e7d569757f787340889f395ef9b3a273582a3d72d60b692e872764e5f411ac9a8648d886c9f6522342c238a421e423b2cd0e6b40fa +DIST genpatches-6.6-57.extras.tar.xz 4056 BLAKE2B 9b071880383921fcc8cd2da092e1219e3b40684e6ffd04bd2ab75fd53624cdcb7289f1c40ae9256e0343bbea92393c153724ee628e8d164596ba4d7f8bb413df SHA512 a61cbf855e718ca7afed0b15614ad2e9bea740412e8251b35417d10f4b936364cc3820951acc45be2b18cba635cd1c43da8caeb4ac315747d02201be39148c8b DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 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 DIST patch-6.6.49-rt41-xanmod1.xz 2950392 BLAKE2B cdf560cc0ef21c31081d63b45b070f33fd7ec8e446a8f92bbd45a5ae7c76cc782db7b3dcb0718912739f4d2938315378e9fa859beb987ff4c0c24a0d40175468 SHA512 a068453b5170e623c85da2d67174de96800190278e0bf9df90c530d1627c9762b34eb5c2b2cc81e9a43fb2bfd4d2b4ed0dd40aff39758f6b4d7e6bb2da36d602 +DIST patch-6.6.50-rt42-xanmod1.xz 2982744 BLAKE2B c6ef49df43c5ab3f456d8f41a9429db5079f304e21ed87f034b3d0f36ceba073f64cd92d2fa728fbb0940a73ae1d6137e8ae25f840329250bb73b72d1d161c2b SHA512 7b6e3008077dc038f9bf46bf0c69c09eb65516ca74d40814fb8607298cf3eaf9bc5e898b87de0972ef72a9aea3c25f456462c6ab1b92b4111cb9ffa22fecf463 diff --git a/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.6.50.ebuild b/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.6.50.ebuild new file mode 100644 index 0000000..ea5aaf2 --- /dev/null +++ b/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.6.50.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="42" + +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="57" + +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" +}