sys-kernel/xanmod-kernel: add 6.9.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
824f19a1b5
commit
0eeb756085
@ -6,11 +6,15 @@ DIST genpatches-6.8-11.base.tar.xz 623140 BLAKE2B ab3aa16e717dc0ad99893ac73e6de6
|
||||
DIST genpatches-6.8-11.extras.tar.xz 3704 BLAKE2B 43eeb24741d062e81942c599bbfcef5bb648597f0cdadb55d71b0c3b8fc154dd8b2ed97ce4fa3beab1eb48afb2dddd030581067fbbd7baddcab8d526aaacf8b9 SHA512 3bd3c9432b380b3969c9fb0b6c750981902b0253b49b68852db70504121e025213935caa98111ef5ba924905b384dadcc5cb6b12b8691c5baa8d6c738589bc6b
|
||||
DIST genpatches-6.8-12.base.tar.xz 687664 BLAKE2B 3c27ee511c258f3659d7f8cd5b6d470ffa10a2fc95bd536b272e0bb20c368dfc8c512f23fdc025e85ad90d6f628a58c80d8d15ec0ef8898caf7461162cf2dec2 SHA512 cd845b49341366190834b9782c9ffa270608a35e616ff483b40094913f6d01809421b80a7830117b606e57e6bb0ed9b0ed6dc14220826364fc9d2ee6a5916ad6
|
||||
DIST genpatches-6.8-12.extras.tar.xz 3736 BLAKE2B 15a15ca3097dc42ac5855e59fe61c961854c1afa8adc719c761ac58bb7c869d3240c228b0963a91927a9bc0af6998b4c40e4d286faf7d2defc2f21029d11c114 SHA512 4f1c8c07e81c0d1ed110bd4512d2a16c3e202c47d8ab6bedf5213cf6c2f8675e9b543e52dbce50fbbf550d88252e2c1c19c2465ddd7907f11a2979fa92466a7c
|
||||
DIST genpatches-6.9-1.base.tar.xz 4220 BLAKE2B 31c49d6f37709f5c641960b67d6cb7c8a564b430c4d2b82b5f0b6aa23b7925402e9b8cf87c2571604a2f999a1520251ea2e6f8add537f79f01394767c233a3db SHA512 112cdcc4a2f9093bb7d758412f73db09671e255c02ef7090ea1d73ec205baaba4239d63922ca455ac64a46da3d594d9503a25b7c6fa5f03a22d9cfe0cb1f162f
|
||||
DIST genpatches-6.9-1.extras.tar.xz 4052 BLAKE2B a5ec1cfa59a29e61c21617060b89ce7d6779cc0dadb2a70d0ae79d32e3310a8d18cee4f9cd06a5f65075200e43ff0a0052ab9fbbf318907c3367d9cedcd24971 SHA512 dcfeb3338800a477dc9d6da1d886d825bef54af7dd9e71987ca913659dbcbf157e2f14f321cdb677df23de241a8d2505531723a148d675d76fe0b59ef02c11bd
|
||||
DIST gentoo-kernel-config-g12.tar.gz 5181 BLAKE2B e5faf714fa197e69c4f17f90d60a9ce4acb2fa2dbd996e1ce474a6ca370541b89f24ecb635657656a57913df87046bfda1766517093898a3c3ce0908ee617811 SHA512 b3fb3c01e0a3c3179921641b8314ce8e4ad50c94c33baebb4446d002d1f16c35b4b26cb02dfcec6ee00d8724abdb03e0fab6b0665d13ce5cadd5e672668420d1
|
||||
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
|
||||
DIST linux-6.9.tar.xz 144034416 BLAKE2B 4cf86c3cfe6e6534745d42dfaeca59b17ea1168c4e8b615c80e6d8aac735f11283cd85fa992b440b5d4452917e94b9f08397a64af0be5894e3df23c68892377e SHA512 fed3b4cd1fbfb4d94618587c1934273d2ecc8b6e42a3d586ff8a5f24980be930f2ef803aa2923ca3bfa5e4e619f967f3af315368f24fa76f610b10443624a579
|
||||
DIST patch-6.6.29-xanmod1.xz 1925064 BLAKE2B 756ae64f626df3cd224e698901fa3772a3f8a00ede00ca35631b7ff4cea1e820326df425fa773566b6a3d103661f05d763aa8a42350e941c5521c7e0b77bb132 SHA512 bcb641d6e86b549388539a0f2f2a5f8173713673f8323ba07429acf681193c9d8635e2b280f8d3e60d15ecc78b2fb4b828fd20c82c796da5704460abaa2ddda3
|
||||
DIST patch-6.6.30-xanmod1.xz 1969380 BLAKE2B aac3e807c7996921ab64b4872b745f418757e12b190468a235cc8685e27f5f9ed72c68635f619a7ca149644443251b84859cfae59fce6fab2a49c7f8a7ab2878 SHA512 efb5ca0d31e892c7619edb212e12b362e2e65efbaa240913eee5425f18233bcfcd30ffe46eb2d1b1f68e34310ed2cef69828469eccc7f6f8cf66d294a3a822df
|
||||
DIST patch-6.8.8-xanmod1.xz 729000 BLAKE2B 8185e4346aef07318657cab688577bf6f23ee00d27157cf22244ad150c0b60931f30ccd123abad200b3f746a782d0fb9baf583daedb7c9db242ab47b9aae02df SHA512 171cb8eeebb1e4173b1914e7dded9f00377965526f40f126bc2e88e62763da47302f2121e27d94fab6f6c11390c8cfc06d0990256c2d0c1fb834476e8ec651f7
|
||||
DIST patch-6.8.9-xanmod1.xz 790376 BLAKE2B 3fda21d2994bd50c7dbdeb83e149bfc006e477b275ea1d83363c56a4ffe7bbe05a22e9d977a5dc0715a444d0fdd2b9ec5f8771874bc51c100bff90792ffb2192 SHA512 1f438196d260e6dc74e00558b3d3bb7a6795a1a68b4d683d425ece9d767eb2429524a9dbb1c5c3f75d4299f66664a3c71813e38d941ab140461a3c6cd94fc8f8
|
||||
DIST patch-6.9.0-xanmod1.xz 150516 BLAKE2B 182a49cb0dd16a849178acc1d96fb1867feb0ff78892a25464e78e811b12bdee6f9d158c84e4b0ebbf9134e32de830e3e5c63d37e4042327abc08469f9cf59fa SHA512 c0fc49af12b3614ad3685fd8cd7b4c9a59e29947b2c0461585ede15cb9aadca3a3cea4634bb98645c3f0a0e8a42f61daeebff38f32328176089b57e31060ae66
|
||||
|
87
sys-kernel/xanmod-kernel/xanmod-kernel-6.9.0.ebuild
Normal file
87
sys-kernel/xanmod-kernel/xanmod-kernel-6.9.0.ebuild
Normal 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[@]}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user