From 632f66cdf61593424378e37cbbc20f37f03d5669 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sat, 30 Dec 2023 18:32:48 +0200 Subject: [PATCH] sys-kernel/xanmod-rt-sources: add 6.1.69_p21 Signed-off-by: Alfred Wingate --- sys-kernel/xanmod-rt-sources/Manifest | 3 ++ .../xanmod-rt-sources-6.1.69_p21.ebuild | 51 +++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.1.69_p21.ebuild diff --git a/sys-kernel/xanmod-rt-sources/Manifest b/sys-kernel/xanmod-rt-sources/Manifest index 09d6b62..b22613c 100644 --- a/sys-kernel/xanmod-rt-sources/Manifest +++ b/sys-kernel/xanmod-rt-sources/Manifest @@ -2,6 +2,9 @@ DIST genpatches-6.1-74.base.tar.xz 4113880 BLAKE2B 26d9abc23f66346e376b78bb687ae DIST genpatches-6.1-74.extras.tar.xz 3812 BLAKE2B 52488fe7154cf6e0153a05184699dd1597a078a7a376e2866b68b923e7f82300757d1c70e7bc44920ab7813d500fb3d4677d49428261308e4b6b59a552381a9f SHA512 dd04bf075792824bf65cf349f6bc921d0c36cc66c878b8dfdd95c27f3a82de426d6725d79c02374e7372b74b68b9c0123875476de434f85646dd9aa8382d8de9 DIST genpatches-6.1-75.base.tar.xz 4114396 BLAKE2B c21211d430392fbe96b0616e0ece650736f7204066222f88b84cffdbedcbda78d8fbf30ce8dce4c7fa450f24410fba1af1929ee3b3ea0472fde3473db95a0f5c SHA512 106db04baa9ef92e324929d025bb68f9eab4d0144d12a3d11cbfffb018cc46abeaadc76240c1acfd3877ef8efc1992374ad15cca061258e5f20452e3cb71b90f DIST genpatches-6.1-75.extras.tar.xz 3816 BLAKE2B 6e34ca62609c5ce63e7accb16f0c295bf9a38602d0c11af80c81f12744c0d90aadad86164b83a362dfdf70301ecd879eb67066544dbcdfd522d767e103a8592b SHA512 05718354716e8c8a4bbbe94923201345e2d2e75274973114878d46bc34ac2dba4d7d5beea333b4823efbbef65449bad615733c0ad0c6ffc6e1b2595ce0e45d38 +DIST genpatches-6.1-77.base.tar.xz 4198960 BLAKE2B 9c6921ca87ec2c3338107a994d6e094c6bf4ca5a705f21b3efa2803454327782ccf2cefa78b2a1bfa59413402d5d89b757a5522b86943c8c8c5d97592138758a SHA512 34daab45df35b30a5bc155aa82b074f6516bb1af7b2976590f88d88e25f6e8ae369fd1299f7e2f645c045b29d6b805dd07291ab45c212a9aa27df566dd6aca96 +DIST genpatches-6.1-77.extras.tar.xz 3816 BLAKE2B 2129b36991f127c4bb4783a535a2d58bbe8ba9f4f139f7b70bf41a1c54bc2ac9026cdf3e3662f47c28118844ff40b6ad1c8da1c5fa8f1f4edc768fa69cae2083 SHA512 1de0ce45d9a0a1555faa92842f884cbaed8f5e727e4e59cbafc31326c9a183acc4954b2cdba1bec2019466545870ead8b5300f419533e30386aa2a36f6606a9a DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68 DIST patch-6.1.66-rt19-xanmod1.xz 3247220 BLAKE2B 01662e716921a25ea7fc585358c6bcd49c5dbf9fb134f26018379f2738c8f24f9d84afcf503269dfeea8b78e7f9e97ab058ed6c7276235dc55dba53d065d5565 SHA512 bf0ad94b9ef11faf9e91162f519b80d8ff513492862393af6d956e9112f05b559504614cfba659398b8ac21006edb8e7dda92ed3d23381d0111b3717744bfee6 DIST patch-6.1.67-rt20-xanmod1.xz 3247136 BLAKE2B eb153c1024b77759d869ae5d2e0ff6384c939c8f0c2588f745be96bfd5a968e1bd47790a455857fe8b4fc9b1be9d993741ddec3574800595b17b85ec9d1f6995 SHA512 0cdd6b7fe09e079df5ea14c2e6e6d778418e6627235bbf6884d31c1bc257e979adb201f66f6aa5c4ed214a66c7899cebf2481044538aa17b420a01f84f5fc128 +DIST patch-6.1.69-rt21-xanmod1.xz 3318320 BLAKE2B d156e64df92d079346fd9aa488e4cfbb6b7cc70e93e4d2e3ee566d2b5feff6dae016dd4db4c9ec4f1bd00138ab9038e57b5dc4a70ea73c99283a9b0bca67e3e4 SHA512 cb02754fe93b3fdead3d0e9354c219e51e2c5daa19fa0c74c4a28f185aa1bb6018d706315b44d3b53d59e2f5ff712dc363f99818a6ed04e841ea3506c8d5ddfc diff --git a/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.1.69_p21.ebuild b/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.1.69_p21.ebuild new file mode 100644 index 0000000..22310b6 --- /dev/null +++ b/sys-kernel/xanmod-rt-sources/xanmod-rt-sources-6.1.69_p21.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="77" + +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" +}