sys-kernel/xanmod-kernel: add 6.6.0

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-10-30 23:11:23 +02:00
parent c10c2eaad7
commit 8dd00d8194
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
3 changed files with 104 additions and 0 deletions

View File

@ -10,12 +10,16 @@ DIST genpatches-6.5-11.base.tar.xz 690272 BLAKE2B b647ad0ef234e1470b72e4cefc091b
DIST genpatches-6.5-11.extras.tar.xz 3704 BLAKE2B 21929f8a381175f9c33ac9df5f17388eb2f99adb00fac7783c612a2712db1d4b2f179b2fa6ac548b77a1d0e4c9c9d88e32cb393531c7e6ca680f9c98a037927a SHA512 f3643139bd6b2b324c477998b69418b80e40ae675dbef9bb34e26f138a10244ffcaf551de7c49623b8aa797ed7b9ba82e680a62b7996ed1bd1f8002b29b09cb4
DIST genpatches-6.5-9.base.tar.xz 574412 BLAKE2B 339dc1d19a323c2143fdd394b324e8d73b6e21b833e48096b6ae312b188bd9f39811fcd7b93f900c6ceb6982eb6ca108b2ec617b8dc98fe2ec255ec3b002e31a SHA512 42873d29784c0d85434d7eee81ef2000a42164e20ef74c875b81ed8df96ec3632261485c38e17ffa41d94df200b69d8d0e663eb8c90ea741234e860aad9026e3
DIST genpatches-6.5-9.extras.tar.xz 3704 BLAKE2B f45e43b281c9ad49870e72a7d4e3790f316076f438a5b45fbc53bf3fc29173675fae1e1b8ec170aa7609e0a87e79afbe033ffe7ee64d1ebdf2c1200fcdcbebca SHA512 888a87e165c64ee71b04b6f103666b4f699f790aadb58314253f63e82b0c245646f29fc3f139da2eb6a08db7c8f40c5239a359e81e3d7ff2b0d60b219f8756a8
DIST genpatches-6.6-1.base.tar.xz 4044 BLAKE2B 5936817ce6dcf9e395b1f54efbf8890875bd00d6d59a1ab01bd4ce1d8c46756bd2599a149cdfd6fb745b7038c5213f60086aa76fa12c5fa50072efc7e528691f SHA512 fd07f605479ca9439aae0876b4597918bc847c00dc594e80be263917fb0bb1a87a6c8465c15f1f5c7bcc39359b6ee92eb56365878a9017b9a8185eccd4cd30f4
DIST genpatches-6.6-1.extras.tar.xz 3700 BLAKE2B ae850052cea73d318cfde8ea35eb351dd0b4177d3a5f55614541eaa62cadf58723148871cd6cc87d0bdbf35d05b4f9db54432a324f2f0e7bedf6773cb419bc2e SHA512 5dc25b2c4daccbc5b7c275071e460b9c662fbdfc1a82eeff1da00437660f6d0ab8882cb79d48520e60e4c3f0a16a79564f3a0ebbd515b3d42fb6289fc9c8e29a
DIST gentoo-kernel-config-g9.tar.gz 4981 BLAKE2B 1881cb550ea9e274cb5bcc3bff5b1aa6f28bc218a09825c5ab3ba2bff4ee1826398c9fbecc513b6dd20d195fd5cf26e1e7c631bf66100ab1887705a8e04fc79d SHA512 9dc2f30a33aa19fed3006e93330210c9db613febd842467e40d51c47eccac1dbdcb5a7037e9174e92c29e2a85a52ef2c31bbe2a8cccc7a22320b3dccb8aab17a
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
DIST linux-6.5.tar.xz 138898084 BLAKE2B 2e641b79a080e8f4ce283bcf6b74e2c6f15a374367f1c4c875c663868dbe801317340824fb3adb46b3a51d3b7e1f67cc4e8144d367621ec43ffba5c4eb8abb39 SHA512 1b59dc5e65d4922c3217a8c8f19022dfd6595ae89747861d825bfeb51a4ae6c85449d05db69635a712bef7b355b80318195665582d8933b1fed6ba582f6ff257
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
DIST patch-6.1.57-xanmod1.xz 2900160 BLAKE2B 85c6a7f67cba7d985d08b41093229f4982deb88fe9701f6065bd46c2372b2a39cf0686aab772986c76adbaaa511df257f16c25ce930f9ea2b3a3e65e89223e4c SHA512 753810974167a1304d761b09d1e3b05cc7109c867a19ffbbac79058e4910a06cd95c9d1179d36d09e8a3f156ecedf667e880808e75d68e0f0bf2e964739a9f0a
DIST patch-6.1.59-xanmod1.xz 2923508 BLAKE2B 9626b11ba7e3d60eadb1e55e75eaabfd1f04c998fbe698ccfc699c3623f2ce8cb2ecc5156b9bf8c0e7749f4df0c8a37c0e0b2229c6e9f0a5b00dfe975ed2679e SHA512 c3a14ba0f903da4b5156705820079c944532cdaba96f36d46f1a20a76a9e164780967ba26b70311f7161c774bdcd34f8bd92b82b9d675b9277aae9bf7a126220
DIST patch-6.1.60-xanmod1.xz 2961812 BLAKE2B 282aa34b5371cda327759af7b99c1b51ed0a5a680c429fa6a94baecac82546d06a3dd6e7d931c642af0ab38c3b1fbe34cd69663fa63d1a7c66863463589c12f0 SHA512 6b90f8a42e64ca21363ef287a96bc33cff94b83a2ea84c80caad3cd2c1789cb98dc9481ffa10db7d6e3b6a6a07ace477917e11c710380656147e3d9ac898a9f6
DIST patch-6.5.7-xanmod1.xz 690892 BLAKE2B 82d20fd5ac10a439c2624175efa48f8513146ca8b21fc11c3c77d1263b4ece101577e248cfe8a28bc4f81336460c5b51a17e04703282e5cca9399ddae64d332f SHA512 bd75d776cad10a911220ab2f5ebc0c24a5233e80e4a840286ac902a1aa4dc76029155400f4c1070fcedbbd67124fdaa7568c59fe4d4699e097e23c6fdcfed5e3
DIST patch-6.5.8-xanmod1.xz 743580 BLAKE2B 08ffd621c883647fc7870564f3f53f19d481fa881191fb701bbecc067b10126a1c82ed052591911ceb15dd088811cc49a75ca49fd636fe91f516eb92a714fd24 SHA512 a5b5d180b838f5a820d89f142cda3bfff143afade1276483502520333c26ed29511435a3ce62b7f545daf371531bccbfd0d55a59b84bc9101832a13af61bc665
DIST patch-6.5.9-xanmod1.xz 797080 BLAKE2B 8a403ef336993539d804bedc2b9799b249df6fa0d3fb9edd9693322e45ce1d047c3078748160572c5e0406c7ac29f1a4000faf648027285807cc3d52ed7d6d4c SHA512 c1380187b277b722e23f06c3ca8e45e895c850dd81cd798ae8a021d16949aa1a41dd4bcf6d22eb6068190a0f55cd99b4d535cb19a2a1ee56f4aed9761dcece9c
DIST patch-6.6.0-xanmod1.xz 139708 BLAKE2B 6dfd0e38004e817217e46e4560ddd347b9a836d90b8e4c88e3039d4d0ef794a8d4d9985a6656b9d82b06c0e27f16c0b3ce9a58dd83377caa20bd9be4e24fce48 SHA512 274cff0bc2a232f791958cccb9ac51881e98fa5392cfe3c85f482cacf5f96f883bb96fe6b001b80b58c3b4053776658d20e25e9a62ce992c909c15925750465f

View File

@ -0,0 +1,79 @@
# 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##*.} + 1 ))
GENTOO_CONFIG_VER=g9
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
mirror://sourceforge/xanmod/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
"${FILESDIR}"/no-debug-extra.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}
)"