sys-kernel/xanmod-kernel: add 6.2.3

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-03-11 05:18:32 +02:00
parent 1597e640d3
commit 82dfb471fd
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
3 changed files with 102 additions and 0 deletions

View File

@ -10,6 +10,8 @@ DIST genpatches-6.2-2.base.tar.xz 9540 BLAKE2B dce2bb1156f0e9a7ca19b618d13729908
DIST genpatches-6.2-2.extras.tar.xz 3804 BLAKE2B cdbf51c28ff1c3b974665f558ec774eb70874a3941b97f966ee90642f3a1c8732333348e891156a40455c8b80c2a2002fdf1515403eca7b8d075c28b09a2ed78 SHA512 cba0fe9b3d13f3b1f6ee413a44698694ef6b009918dfda76e4d8402e66f1e857bf889fd4eb7ae093e864f7015eb3fe14aa704a5a3b68b0b92ca494bfc4b43a71
DIST genpatches-6.2-3.base.tar.xz 15336 BLAKE2B 83e56e5e3827f023ca320a1fac19a204f7a92a78a237d3eb0e7dd36103ad179e27eb6cbee0c3a26cd26c64c23b09a2bb9357789b6660c10064bb9c0fe0419c43 SHA512 61c907010958ebf43a0c4718057503ebf0ca6b68c92d25319d3c7423bc509fa2ed83492b6d065d42bd0e97b8055d6101ff0a1c75143132216fe806d1ce15f630
DIST genpatches-6.2-3.extras.tar.xz 3808 BLAKE2B 1e89bfe1dc8432a382cf21fd409cce660d6ee35be2ecf91f19d9a6ed9b2843e104789d350456ae0281c7b8eb921b53390a10e6415cdd2dcaade99950a5719770 SHA512 3414bf976f1e61563a3adbf4ffaeab885428c8bf51d401d0a04b6d6837f864c479262eac145fba0dc6ba19cae128f0df52d116fa310609c84ff4fcc1e35cd543
DIST genpatches-6.2-5.base.tar.xz 297244 BLAKE2B d76f6189b57b3c81ea8d8cde4a4464539ecfd27f38790eb797758d2ca9f3c4f1e4906b8187faf515035ee220107e698d60d6687cf9d05e7805ba2e8a5a47ff7a SHA512 e0ab47321da0c7588b102d0c9af435bb23c0ea01915d1e9080216bb885f2dbd97ea0d885d2f72297dcfda18fee524dd2629533a4ee65ae72cde0651be38b962c
DIST genpatches-6.2-5.extras.tar.xz 3804 BLAKE2B 23df3f3d54c5c9d0db420803bf45861111addf7bd23efd65a928345103e5fcaa34639c18c4c72911ff9d17cfacf50063802af75674d9c2839b0448185ca0eeb1 SHA512 5727b99aca295c425c5ab67e8e25b3e7ce0101542d60374d3f54abcf66f336d303ea529b683ec0d82da5ad471b5399eadad2fc8cc1dba3c3b13eff1735d1c12f
DIST gentoo-kernel-config-g6.tar.gz 4562 BLAKE2B ad9e1b28f84916f12cd8b21feb2f4396d3d63f4cfae3e6b6fe93f919c98b0b4523b205711ab7acafa7121360f696eecb63b9f162dd12950e56dab1429cc13633 SHA512 d180122eb00d40126ea7d79224559904eb0ea574314f9a8d6be6b10f0f6a49f526eba1366ae8cd0a4fe23cd8ff5e292c8cab7e856a2c915d4162b75a03f8076b
DIST gentoo-kernel-config-g7.tar.gz 4625 BLAKE2B 72ba0d038ee34ca5eb26d43bd373735aef3a50d02b414993ea05485e49d83d46df98a6cb0f6f3170a8ec0c99b557432fd9a11cbb92ff7c2837625a7f4469831e SHA512 2d74a8ca9f5402b4290ed93cd3ddba04a7f2ff42c8d8d3f2cbbe22fc20daa0fca119368daa8af39b7a26b1b99e4e3187c3c5d95886a651675ad94ff98d686628
DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
@ -21,3 +23,4 @@ DIST patch-6.1.15-xanmod1.xz 932888 BLAKE2B c0546cac82c72bb786b4310cf0070a1595ab
DIST patch-6.1.16-xanmod1.xz 1145904 BLAKE2B bfb50ecb70e7ca9d60064bc02c8bc4e8068a50ada2b17138c823ff97ffd688b8515d83bc28a5c1bbbbf978cc9e322ed9533ddca8763a55dd770cd67039d6802c SHA512 97a237f002d46b2c8062ee602533893d7bf2c0f9fbcc7a3940cc6cac7c92af40af5b6504d1441247178bba6dec94ed36e0df682fe8be835070b68a209557671f
DIST patch-6.2.1-xanmod1.xz 143196 BLAKE2B 22f59b22f3638702c25bbfd7bbf2d4898bbed2b35f5517b869f417fba32faeeea4b2e51a463e69125819e85d555b1b62f5920b00fc27aa2799731ed1425a6c59 SHA512 47b40d6e444ea5beef7bf59367898bf48cacd028c49ad4b900fc7dcc3fdc960197f5a445fd89850b9191c401138edc891315de6306ff3737d0f6df0b089d71c2
DIST patch-6.2.2-xanmod1.xz 148456 BLAKE2B 9f760cb8ae516a06fd666c0401405b0d33fd3a0c5c7211f7f73cdfb220b376cab28d21af7d08d74c42951b2ab91cb9ce2de70f17ad441546605a75d1dbe344c6 SHA512 50e13b703384c38a5694d8ebedfeade89da9b32390d4d59446278172063569d5504e0c91978aab072f618cd3f2c56c061284d5545ff6a8120eb4c54fa8aa79ac
DIST patch-6.2.3-xanmod1.xz 429200 BLAKE2B abf004f3a5fc3faba6f7810d5334ed276227bd34f571118351bbd917806ffa63fa9d7fd34aa269fbd0f4c7436e3b2f5b711c540a37a7d4e4d1b036122db26517 SHA512 d43e18eb8c9b88e672d4a7309e2e647121687514d605f7fd96e99a57bf50574b4eb96e986eacb54ef20e7d038036aa31229cafa2bddfc66dda1dfedb55ec609f

View File

@ -0,0 +1,78 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit kernel-build
MY_P=linux-${PV%.*}
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 ))
GENTOO_CONFIG_VER=g7
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://github.com/xanmod/linux/releases/download/${PV}-xanmod1/patch-${PV}-xanmod1.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}-xanmod1
"${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="-xanmod1-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
)
kernel-build_merge_configs "${merge_configs[@]}"
}

View File

@ -0,0 +1,21 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Virtual to depend on any Distribution Kernel"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="0/${PV}"
KEYWORDS="~amd64"
RDEPEND="
|| (
~sys-kernel/gentoo-kernel-${PV}
~sys-kernel/gentoo-kernel-bin-${PV}
~sys-kernel/vanilla-kernel-${PV}
~sys-kernel/xanmod-kernel-${PV}
~sys-kernel/xanmod-kernel-bin-${PV}
)"