sys-kernel/xanmod-kernel: add 6.9.3

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-05-31 08:13:54 +03:00
parent 1c86e4051c
commit 25c3b8e0fe
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 90 additions and 0 deletions

View File

@ -10,6 +10,8 @@ DIST genpatches-6.9-2.base.tar.xz 7216 BLAKE2B bdff81d1d53ecf00379d8acad8c9b3096
DIST genpatches-6.9-2.extras.tar.xz 4048 BLAKE2B 304c74f3a680a441fa54666fa5e56a7a46c659acdaffecca1288dc2df421b4c7536596e87f70c243e36a00f47f9fc4b17f11e57f1976e726b8d32a1d9161a609 SHA512 447aecfe363418b2fab60fad10550bf6c4b570ce57ac36a9db93cf7186531c997b1cc94ba4249bac712679f1c23b615c1ded14fcc7d0d0a016c2aa58aaa6e228
DIST genpatches-6.9-3.base.tar.xz 22900 BLAKE2B 6cc860e07ef37d83920accee580c0dc69592c2779e729739ed5457d411e5b9bd3ea6b73e57cbc4536f40172439365729ac1d0f921b19e7836c684cfa1fb556d5 SHA512 bd7391b1d987ab5ec9eeee698c04cee6587e6050954d0f54dd7ed382c79565a8929fe7ae9dcd32d4757ea96d4da78780b867455802d84c33dd185ff4bac0f328
DIST genpatches-6.9-3.extras.tar.xz 4052 BLAKE2B 5c97314b601fac604449ffd391d3c1389bec1a5c5bebc3a7fc3678c44de8bee31431f01567ea7b239ac62c22c149d4e563f6f52336f0eced4a105b99a1a3b93d SHA512 84ef3f91d3c9823b7371022b276d3b5c7bb86fc7be00aaffeddca171438c21f70291e67c992fa75f7222fa964f049be2816bcf7e081e35fbbb31d68da8c5bd08
DIST genpatches-6.9-4.base.tar.xz 158304 BLAKE2B cf964990abe6f7428e3a590752519f9a0bb16416186f06e6e377a33fc48acb42b38515e5a628f3394b418780fbb6b420636d6b896ea92906578e0bdf57b6125c SHA512 ad9e039a8a7ee29a5c258b42cd688737c9c575c097ced8d23792bbb2856480081a64cfc65488e5c0c8d5c6cdab9016be22183199ee8357c1c1ca372360035b1c
DIST genpatches-6.9-4.extras.tar.xz 4048 BLAKE2B 7a47f3ef9bd870175c4373d064316fa746c3480a4075492fb04b4eca4496ab2c33c713875997a4fa33695177bbade0b6686f7d7e4f2cba110cd89a0f2017e2cd SHA512 5cd79406ad14a07fb95fc94a5aaee2bcd18f143996c111e16675b77402e9ee0917fd51f2a2023fd58d462caa2edfe5a950eb72bdb04870b185012b20ff302560
DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd847c12a45b52d540eb10d85ec0d9deb1c14288d8de12456865c92d16e3523ec3595676787a8f3b79545d76870b0fb68deb5d SHA512 2a7230cce57a67e3333f9a88a311afe4a928e27ce76036747451cb77d3186569ad11d7a5b827748ad53290a17ad63637a8362ca896516f85ff0944a8d68265a6
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
DIST linux-6.8.tar.xz 142502100 BLAKE2B c6f17f816cea16e629f63e9379b98888713f57b2c5173306926471f139a9d612a0c74e119341f8075390e55e203d787d9edeb4ad5a064b18870f6f0f7ffaafb2 SHA512 5c4eb4aa1d3f7d1ea01c0f7ddeadacdece6e144fd4bdfc16b2b925d3e10dc04de3a6db69320b79a96c3560052616f001d2c09e7a1bb4f7b731e2380a7ecce068
@ -20,3 +22,4 @@ DIST patch-6.8.10-xanmod1.xz 878800 BLAKE2B 9dfe93c4afd34828fde20978a7491aa12211
DIST patch-6.8.11-xanmod1.xz 888708 BLAKE2B 7a5adf8a4f844c9f83e03083474af404e6f44c46b4483c79087066aaf011e0bcccbe4a2184166aafaa868d1ccc2fad0d7863eb9fc77d74ba66864ae771fd4e7d SHA512 c42030b8c9a150f49a108821fece2333fe803904da926f7282b4c458af560c95c785252d555dede3ecb47d93be9125b4d9e29b41961a2f2e63a7bf5e858dd43c
DIST patch-6.9.1-xanmod1.xz 153228 BLAKE2B da34c7e80e06214d7994ab4da1ac6a8f33070a8ac9d2ff853b3c2636c672513ebd9d8b6f950c5dd50bb8fdcb64f73a2a1a7803c4b7988c2ec089688c7ee75ac7 SHA512 2017a46d24920409733648b92298c4c64c6bd781ee14a968cd7f101ba036ca559eb85dbbd336a1015c471633d737209e83bff726a64462e20eea5a31c63c685b
DIST patch-6.9.2-xanmod1.xz 164656 BLAKE2B e820e536d206ff8c3c341dc77b35f52d85382510d805f8fafe1bf2d5ff5b1dfd17c4e0d6816d48fc9c087c6558ce935fb43065a65cb620448b7ebdb83c0685b5 SHA512 34d05b47b0abd45f6ac153681812a3e527a5ea43ac44a05ae07f7bb24c07a204bfd29d193f2c600e8fd0e9aba8b3d90607372b9aa25aa63f000652c49552b436
DIST patch-6.9.3-xanmod1.xz 298412 BLAKE2B 4ccf3e9157d917e41d6728e991fef411fefa568df3939fdb22a69156a976aba4ffb80ec036441b7bed8c4fc0b30786149b12cfaee66cc0649fc94d99ab641c94 SHA512 a51f3d227905bcda57ec22974eb78fa7239b8cfa9421124f0f35af7c3e1f143c6557bd487aaa3a42da02fdb6aa968225fd5617ecf87ee7befc2928331a8707ce

View File

@ -0,0 +1,87 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
KERNEL_IUSE_GENERIC_UKI=1
KERNEL_IUSE_MODULES_SIGN=1
inherit kernel-build
MY_P=linux-${PV%.*}
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 1 ))
GENTOO_CONFIG_VER=g13
XANMOD_VERSION="1"
DESCRIPTION="Linux kernel built with XanMod and Gentoo patches"
HOMEPAGE="https://www.kernel.org/ https://xanmod.org/"
SRC_URI="
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz
https://downloads.sourceforge.net/xanmod/patch-${PV}-xanmod${XANMOD_VERSION}.xz
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz
https://github.com/mgorny/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="GPL-2"
KEYWORDS="-* ~amd64"
IUSE="debug"
RDEPEND="
!sys-kernel/xanmod-kernel-bin:${SLOT}
"
BDEPEND="
debug? ( dev-util/pahole )
"
PDEPEND="
>=virtual/dist-kernel-${PV}
"
QA_FLAGS_IGNORED="
usr/src/linux-.*/scripts/gcc-plugins/.*.so
usr/src/linux-.*/vmlinux
"
src_prepare() {
# Remove linux-stable patches (see 0000_README)
find "${WORKDIR}" -maxdepth 1 -name "1[0-4][0-9][0-9]*.patch" -exec rm {} + || die
local PATCHES=(
# meh, genpatches have no directory
"${WORKDIR}"/patch-${PV}-xanmod${XANMOD_VERSION}
"${WORKDIR}"/*.patch
)
default
# prepare the default config
case ${ARCH} in
amd64)
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v1" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
rm "${S}/localversion" || die
local myversion="-xanmod${XANMOD_VERSION}-dist"
echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config || die
local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}"
local merge_configs=(
"${T}"/version.config
"${dist_conf_path}"/base.config
)
use debug || merge_configs+=(
"${dist_conf_path}"/no-debug.config
"${FILESDIR}"/no-debug-extra.config
)
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
kernel-build_merge_configs "${merge_configs[@]}"
}