diff --git a/sys-kernel/xanmod-rt-sources/Manifest b/sys-kernel/xanmod-rt-sources/Manifest index 5616786..8b4ad63 100644 --- a/sys-kernel/xanmod-rt-sources/Manifest +++ b/sys-kernel/xanmod-rt-sources/Manifest @@ -2,6 +2,9 @@ DIST genpatches-6.1-44.base.tar.xz 2683644 BLAKE2B d0264b6d6456fb2e6a67c1240cd3f DIST genpatches-6.1-44.extras.tar.xz 3812 BLAKE2B bd5605700d0b55036d186eca82031f1d38883fbb3e2e98f0b44269c914f5a2912c026bebfdfd3fdcd563b97d3167fb9908bd0e29422b02e9314392b3ad2281c5 SHA512 e274c0e50fc476bc071fc4d77623b75cdfdda51951f541f56bc4f8ab53da17e67f615c37d35c93290d20b51d3ab2eb923a8e147daec4c59d3d1c87d3e803beb0 DIST genpatches-6.1-52.base.tar.xz 3173368 BLAKE2B 429b5bc3af457d91b9c178737e573d150e337859c0f07a25043c86b834829e749b92c57fa2d80b2acfe9864f916ebe77c830249be23391d6553f5469b1934708 SHA512 0f003893b6c24fa9bb79722d6d83edb25e77fff11a526f86052980ee175d6dd599784cfcc7ad82055de9663a178fb9de38a766cfe61fe17fbde696a5292f023f DIST genpatches-6.1-52.extras.tar.xz 3808 BLAKE2B 6a67986309840e14bd4759c0aabb1af5d6b3653660d1a12d8706567470a28b3a56d5a09cbdd3df9068bed7a845206b5a81fca3a1be0ffe7122579d9b3ff63401 SHA512 0476ec7af5906dfd4dd48c96799568f8ed7d24d7d43717979e03a16219b732461e0afc7af1c5a4f528a08c4b5c2c35d249e81be1c6d0f854f7993da2e0c7aad3 +DIST genpatches-6.1-61.base.tar.xz 3552112 BLAKE2B 173e2e31b444f7d88a9f6ad2253be4a8c0c2dec500b63d3695949d875970d1162f88c68c3c39b62428b63ae3c20fe4e03b7cd69680f2b4ef54f34ba5c2ddb4a1 SHA512 01f20a5cc610ecfa3fe026f8d1ed9987babdfc2648a623d721b756e4b9d307dcbfc0cfae385c40066619a297258927493c757df94454bc1a8b4a96f8d415af5b +DIST genpatches-6.1-61.extras.tar.xz 3812 BLAKE2B 2c6cf3ccdef6c66bc321654e84582e0e0b0e8beb68a6fc390b2d526fd2da1f38603389a8aeeba031fb09a5e8493a0de3fbc944c172f7cb17d26dd91053817a17 SHA512 1a5bb61de1d22749d6dc9a1d3798d825a936cad0bcb045b52fd163fcd3381f8d284187b86c03a0688047d8720b2c387ec86202456df8b46e7ae84f9b0e37569f DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68 DIST patch-6.1.38-rt12-xanmod1.xz 2139372 BLAKE2B 6c9cfc207fc6cb478ee5aa0b958fa697a5fd0028cf3ee690c05bb9a923723d478022c25591534f4f03f6c26584b98226f7ebdcee48c5bda7ddf7cce285800b1d SHA512 1d93313e8d38e5201de201ec84bd39de5c8184bb807d7edacda2fa92e72c0b65d672b3614d1d1cf0b1577cb7d8c777814396590d01640365c39894895b779c16 DIST patch-6.1.46-rt13-xanmod1.xz 2532772 BLAKE2B eab46381f9880ea2dc906ae3a7794541cee4d289f2ab8b8e93ce0feb44b7547f549f2512ff52a200244843bb15801a8152c0799c702bad3d63101bc13a6469ee SHA512 7cc9f31873eddef13b3d47c409a5c1c49bb05f46723ef6dea1e509ef2e8bee3fbd966dbd8168c1f201ba10f58c0f2a8d2b9501ba603208a4a01d9e51e5349f0f +DIST patch-6.1.54-rt15-xanmod1.xz 2796388 BLAKE2B 36bd403368aef8a3c72d1e2f29d4a18494de285a86b82e6df31d91c13c9ae184a6c9268fbb8d7b0ea0ccea33990a2f2aa4503bfe1dba5cd4d7f24004af89d33e SHA512 225692366debe25b2b3eba4e901a4a5ca8176ea933e11450b10ce6b4b84c2a91b810fa4612586d693a4507c0a40e0b002035a0c9387b1004767eae2681d20fef diff --git a/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.1.54_p15.ebuild b/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.1.54_p15.ebuild new file mode 100644 index 0000000..15eef3b --- /dev/null +++ b/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.1.54_p15.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +XANMOD_VERSION=1 +RT_PATCHSET="${PV/*_p}" + +K_WANT_GENPATCHES="base extras" +K_GENPATCHES_VER="61" + +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" +LICENSE+=" CDDL" +SRC_URI=" + ${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz + mirror://sourceforge/xanmod/patch-${OKV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.xz + ${GENPATCHES_URI} +" + +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" +}