sys-kernel/xanmod-sources:bump to 5.10.9

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Westman Dorcsak <hedmoo@yahoo.com>
This commit is contained in:
hedmo 2021-01-23 09:01:55 +01:00
parent 9511d280e6
commit 4ffbef2145
No known key found for this signature in database
GPG Key ID: CD4967633316254F
2 changed files with 59 additions and 0 deletions

View File

@ -11,3 +11,5 @@ DIST patch-5.10.5-xanmod1-cacule.xz 338976 BLAKE2B 327af0edc5d62efdda58490dac449
DIST patch-5.10.5-xanmod1.xz 331808 BLAKE2B d081db46f12e6c5a49865a2170f458910212b643c6a423c47910077259ebc897a54baaa7e4a3034d06a173260539a25b51ab6cedc1bfe54f63cf7430c8a2d71a SHA512 83e93bb6f424ee4fd53303c6432649a64ed44b4cc1a14af82b23a4593aa97a1404e847df51a9dfa8195c52e546683dbc9989904fdcbb2aee943c073a435dd9ac
DIST patch-5.10.6-xanmod1-cacule.xz 349164 BLAKE2B cb54f0e2c9a4a6a0f7066b3c0e0cbb561633eb74307f333bd44d98b41db77fca4b981d85ddf22adce6f2eff8b7a2fd46e72e1f11a59b643e1f169f0f114ec325 SHA512 3f3cba4e8eafbd1d9c05d86f8e1c6675a42d52b85c57be581c046d57cd6ae1a3095a07a482fd3b77f3f52299dd5508c4744bc5d92cd67aacf1a04740fc9cf206
DIST patch-5.10.6-xanmod1.xz 342188 BLAKE2B 93cca375086b5a081cdcef69189a0bdbe710cad97755c91c823221aeefcf3ec4d514036460e49cd9e3939633e9cc96e0723d4673d3dfdf68d25fe8cc14e171ef SHA512 d421447f793661b72c676731c32c78a7c2c0873a891cc660566b6247ac0e1c7c3985cc37ead7edd7a89ffef51927e09e61c850f238277032974ebf517e99730c
DIST patch-5.10.9-xanmod1-cacule.xz 449056 BLAKE2B 902dea113a915ed564e4975a18e6510e88bfc8df169ea1924df15f52cfee2d0d8235b6558ef2350656dfa7f0cb756151870ebef66b45828578c12674f450b972 SHA512 e87209e3a50e20590b5173f145c5d3fd9f43c69f6c94f80c6bc84f39201d790eb95785323f10af5f4d50f806f05d1ab59f7ce6fef8e40d19fdc7ea5f6c034d0c
DIST patch-5.10.9-xanmod1.xz 441992 BLAKE2B 7eec9aacdc7611355b519f9e06ddd9ebd029e666924bc6d03cd153029b474c72039cf730d1a1150b9505c757e0da37d1787aefb9ada1960c9457a478ec00f1af SHA512 2fff3f5918d41810f993b9f5669059818f60bd83ebcd99985d576a9521f4005929a42e8eca0001e2a9cc358159a1603e6d2d76617352c8be0644caecfbe9f1b2

View File

@ -0,0 +1,57 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="1"
K_SECURITY_UNSUPPORTED="1"
K_NOSETEXTRAVERSION="1"
ETYPE="sources"
inherit kernel-2-src-prepare-overlay
detect_version
DESCRIPTION="Full XanMod sources with cacule option and including the Gentoo patchset "
HOMEPAGE="https://xanmod.org"
LICENSE+=" CDDL"
KEYWORDS="~amd64"
IUSE="cacule experimental"
XANMOD_VERSION="1"
XANMOD_URI="https://github.com/xanmod/linux/releases/download/"
SRC_URI="
${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz
cacule? ( ${XANMOD_URI}/${OKV}-xanmod${XANMOD_VERSION}-cacule/patch-${OKV}-xanmod${XANMOD_VERSION}-cacule.xz )
!cacule? ( ${XANMOD_URI}/${OKV}-xanmod${XANMOD_VERSION}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz )
${GENPATCHES_URI}
"
src_unpack() {
UNIPATCH_LIST_DEFAULT=""
if use cacule; then
UNIPATCH_LIST="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}-cacule.xz "
else
UNIPATCH_LIST="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz "
fi
kernel-2-src-prepare-overlay_src_unpack
}
src_prepare() {
if use cacule; then
eapply "${FILESDIR}/localversion.patch"
fi
if use experimental ; then
eapply "${FILESDIR}/no_reset_on_migration.patch"
fi
kernel-2-src-prepare-overlay_src_prepare
rm "${S}"/.config || die
}
pkg_postinst() {
elog "MICROCODES"
elog "Use xanmod-sources with microcodes"
elog "Read https://wiki.gentoo.org/wiki/Intel_microcode"
}