sys-kernel/xanmod-rt-sources: add 6.1.64_p17

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-12-02 11:20:30 +02:00
parent fe562ee2bc
commit de82f10c59
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-66.base.tar.xz 3766288 BLAKE2B 3cf0a62fbfcd492e5c16b4158bcf7dfaecf7cc8df376e308ad606d8203022e04a0375a2c9a4fe58bf37bafbfd4a1ccacbb8939fc166590089884ba9989929430 SHA512 69418fe7fe88958d95bdcfb142e6350363180ede26cc44e035a0fdba12d2a8cc542a0ed7789572677eba29f9905af8720c8ddfa13e8257b129bfa95641e72f50
DIST genpatches-6.1-66.extras.tar.xz 3816 BLAKE2B 8b2f2aa2f65d427c4ec39cdb988200d31d360f2ffde6f633838b0c3437c4efe8438e01ccd8e2de57d7f164c32d509e35a8be1ac4818841a7719a3cdce9e47717 SHA512 7f40e6153812cfe74de8ce376d4ae02868b6f246027cbce67e0714a139e60b4aa32743876c180f3b7b07e9b6fd07d2138e21ff5e6ced9571d29bf3e647b615c4
DIST genpatches-6.1-72.base.tar.xz 4057544 BLAKE2B 7af6ca30c523e00f1f30f97cf29c4ede16f83cff59669c2eca781e9115f9aa4b3469fdfddb2625302f52e56c573cf9f36737e7887b7caf3c6825473ac3e6eb0f SHA512 fff5387e2b60164d70facce3e3d8c6c8aac12563b0c2c0732a25464246d15197651c89903299953a72c0a38c8c2ec6948b7bf3c2c37a6b0e30921dbdb45200c8
DIST genpatches-6.1-72.extras.tar.xz 3816 BLAKE2B a6de63bb21ba7a7f5ff88dde6eda62b6af5a2d205cf8072c88027f877b96f44c02465e825dfd13f503a636706f34d4fc0a11c0c71fa8a3c4059deca6f49da539 SHA512 736cc3baa53c31b8f93746677ec1e72616df48d58fb28d5e59b58c0004c484cfe1400bb5b23aa2c696923beeb1661bbbaf0fd8326e925ad486a0278e6b35f5e0
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
DIST patch-6.1.59-rt16-xanmod1.xz 2964568 BLAKE2B c6b28f88b9881c49c3d208de4ba67fd8c61d94a49dbe40eecd4feafaeef3552edeb5b2f98921247a1eb49eb0a54ed3516172796ddcb3a4b50cde2ed8fbadc076 SHA512 3f8274a13065ba031813f29df0cca1f43d58d512a65af349b82001a4321005b7a6b4217408ee13224c56f145b7ea69292e7421b0926f10a980073de56b0015c7
DIST patch-6.1.64-rt17-xanmod1.xz 3204100 BLAKE2B 4f7e9bdb9bf203a7d39c9cb82e98ec907113d3e22e37b3a5edb3db72ca2111227a56296bebe238b5e319834deef9592a6fbf68a9cba46c6fd507e5b2452b56b6 SHA512 ee3ff104a16afa30a421fa5bbf9b2b23d921c3a06d8ccfb8a656a565ba0237b234a951a019b9d6d4dd49f69731ca416a446f5e518eded5d1409feec6557dcd7a

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="72"
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"
}