sys-kernel/xanmod-rt-sources: add 6.1.73_p22

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-01-20 04:21:44 +02:00
parent efa6961ce7
commit 5fcf19e91e
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 54 additions and 0 deletions

View File

@ -1,4 +1,7 @@
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 genpatches-6.1-82.base.tar.xz 4335544 BLAKE2B ce5397b5d00d226ecb13f97defab280bfec46a7e4a626f9579e9c348cba80d50c3c73505215418e20bc508c43453b6112159e2e7696a4abc7ebd9ff403f4eef8 SHA512 90c0fb104cb67666b38d8e51ca87658e771fdd4406537b919f4b47d5e486407f9729bb2df1137cc4fd5abb530fa71723a5157376c11cf75625b4cb190ccc59d2
DIST genpatches-6.1-82.extras.tar.xz 3816 BLAKE2B 3371d009143a2bea266308d2369cb114434c0bc96453e0d87cd39d9cbb8b2984f9166e78ca06471af873ea8a286d5f9065107102625d283fc85bb1c21d92ffd3 SHA512 da9a7b58e8907b3379ebc6c40b084c852c5b1090989f5eec8b1087e5706a9c9b1fd87772f1f0efbe18128e85f4d0b76ee4e10b6c6bd409eff6930bf19971b7dd
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
DIST patch-6.1.69-rt21-xanmod1.xz 3318320 BLAKE2B d156e64df92d079346fd9aa488e4cfbb6b7cc70e93e4d2e3ee566d2b5feff6dae016dd4db4c9ec4f1bd00138ab9038e57b5dc4a70ea73c99283a9b0bca67e3e4 SHA512 cb02754fe93b3fdead3d0e9354c219e51e2c5daa19fa0c74c4a28f185aa1bb6018d706315b44d3b53d59e2f5ff712dc363f99818a6ed04e841ea3506c8d5ddfc
DIST patch-6.1.73-rt22-xanmod1.xz 3429532 BLAKE2B 7640345fe7c8344c22e0b8e918175eb368601e5ff05b41ac8e268eb75954abd5a0aad1b24d73096ea3a648bae098cf57c5cb3639cd7fce9b664a82551df5ea9b SHA512 c2d4cdac04121d28bcef57b63a68bf369d99352bf5b2cd60e757f207c9ba69f1c727b87bd1e0a4ba222a1cc182b67e29b5a3527add67b6ded852fe6e9fb9644d

View File

@ -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="82"
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"
}