sys-kernel/xanmod-kernel: add 6.1.42

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-07-28 00:21:38 +03:00
parent e4a04f0d13
commit 72e0eb3e39
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
3 changed files with 103 additions and 0 deletions

View File

@ -2,6 +2,8 @@ DIST genpatches-6.1-45.base.tar.xz 2851860 BLAKE2B cd512077ba76f23b7109f30f9a981
DIST genpatches-6.1-45.extras.tar.xz 3812 BLAKE2B a3355cc91c618303f9490eb306639325e1b46a7ff9f6fc1f546ac1532d110d981ed316b9bc44abc624f70cb8e63ff512af2708b4cbc379a69df438c6792050db SHA512 e2413fc03401dd1dcaee49bdb2cf8cb7008451cf2fbc8635854da2148464ffe1bb49127d73e534c054e5e56514bf31f5ccca507f52845334133fe26846e244a9 DIST genpatches-6.1-45.extras.tar.xz 3812 BLAKE2B a3355cc91c618303f9490eb306639325e1b46a7ff9f6fc1f546ac1532d110d981ed316b9bc44abc624f70cb8e63ff512af2708b4cbc379a69df438c6792050db SHA512 e2413fc03401dd1dcaee49bdb2cf8cb7008451cf2fbc8635854da2148464ffe1bb49127d73e534c054e5e56514bf31f5ccca507f52845334133fe26846e244a9
DIST genpatches-6.1-46.base.tar.xz 2913208 BLAKE2B e462034f1d9d9e97411f6c6558b5df19bf92edbf214549f8d1749df795160e8c1e731effacf00595681a0576c867cdcb06e139cd1de29ac913dd37ea6404fad5 SHA512 d88711190f42a524229c4d1eb4659cf74d4c0c6f970ecc7b29fe56396eb8b05f2c01808f59c9133bef9a8cbb5618cd2cccea17192248fef133a2e90689b9a844 DIST genpatches-6.1-46.base.tar.xz 2913208 BLAKE2B e462034f1d9d9e97411f6c6558b5df19bf92edbf214549f8d1749df795160e8c1e731effacf00595681a0576c867cdcb06e139cd1de29ac913dd37ea6404fad5 SHA512 d88711190f42a524229c4d1eb4659cf74d4c0c6f970ecc7b29fe56396eb8b05f2c01808f59c9133bef9a8cbb5618cd2cccea17192248fef133a2e90689b9a844
DIST genpatches-6.1-46.extras.tar.xz 3808 BLAKE2B 63c0ab6a14c96fdbb9a5500e6aedf31122068e8dea30269ac538e111a340d99c8e471c414ceebe29e2c392a9e726c945e289747ac89c7110a984f68ac5bc2794 SHA512 1368893d5f52c36082e5e59cb5bb878213b1745f5067930fc5a32653e69e0dcf2661604e55249023356df8d34028c15c7640af54bab8e9a060c712ab7748d3ce DIST genpatches-6.1-46.extras.tar.xz 3808 BLAKE2B 63c0ab6a14c96fdbb9a5500e6aedf31122068e8dea30269ac538e111a340d99c8e471c414ceebe29e2c392a9e726c945e289747ac89c7110a984f68ac5bc2794 SHA512 1368893d5f52c36082e5e59cb5bb878213b1745f5067930fc5a32653e69e0dcf2661604e55249023356df8d34028c15c7640af54bab8e9a060c712ab7748d3ce
DIST genpatches-6.1-48.base.tar.xz 2983620 BLAKE2B fd09d2c761c3652502d590ad189db668a27d48e2c0c336b1d2e96f9a90a3c365409d012319b6daff30e6039330b90746636e89d6e4f5bb302851b3ced0e57286 SHA512 5abc93002ba800f13d27ffa8bd9485cfb921cd8e43d4cc15325fa2b833eb334e062cbb9b751ff2fa285a7f61f0e0809366d58fcfb4fd4a71fc08f2e48669b5cc
DIST genpatches-6.1-48.extras.tar.xz 3808 BLAKE2B 5f31be220d97582f049f58f796f0d509c1d2c82ca41efbcb178a9f78db64e0de0d0297096a6109c4989777cddc0957fc8efa7caf333737157a4b6352aaff64bd SHA512 d37be3695cd96f3226265c4f689aef9e98f0528d34b554e53e98fe9497e1b8a26ebe2661d8a04e9c84a615e1bb4966263358d759d228c950af3ce70bf6340e0c
DIST genpatches-6.4-6.base.tar.xz 314708 BLAKE2B 815c36a6185cd1006596a4829462900041bb2ab5c89f28c9c26c5a10e8bf4d4907ce4f244044e7cd95c0f790112bdadeba8cd363b276aeb37ec20270e2a9162d SHA512 d0d97bae5fd34e41d2236fbc9952c90b2535b62ac9a5a5dc259cffb7f927bda16a04175be0a940670d0a0021f6fd3cf45ecfddf0e22d7a9253c13236a9b29124 DIST genpatches-6.4-6.base.tar.xz 314708 BLAKE2B 815c36a6185cd1006596a4829462900041bb2ab5c89f28c9c26c5a10e8bf4d4907ce4f244044e7cd95c0f790112bdadeba8cd363b276aeb37ec20270e2a9162d SHA512 d0d97bae5fd34e41d2236fbc9952c90b2535b62ac9a5a5dc259cffb7f927bda16a04175be0a940670d0a0021f6fd3cf45ecfddf0e22d7a9253c13236a9b29124
DIST genpatches-6.4-6.extras.tar.xz 3696 BLAKE2B 6a5cc63fc0e09b0eb697e34ec554153f179b0abc0ff5bf5ae06dc4b319b3343d0ba986f4a5ebb859c773c9dbb60248b4caefb192ff5c0a8f0aec115a4a67fbfc SHA512 7ca005f7a822cc90a7a8399a7e7c277cc24757f689dfff9428251419e627510a3e4560448dc5a2c6901e2478288c9b5dac3c0b9973545864bd60feb0aa688e42 DIST genpatches-6.4-6.extras.tar.xz 3696 BLAKE2B 6a5cc63fc0e09b0eb697e34ec554153f179b0abc0ff5bf5ae06dc4b319b3343d0ba986f4a5ebb859c773c9dbb60248b4caefb192ff5c0a8f0aec115a4a67fbfc SHA512 7ca005f7a822cc90a7a8399a7e7c277cc24757f689dfff9428251419e627510a3e4560448dc5a2c6901e2478288c9b5dac3c0b9973545864bd60feb0aa688e42
DIST genpatches-6.4-7.base.tar.xz 412236 BLAKE2B 923eacdb511942c4588aed97786aa931a2c3cfe89465c9a50aabe3c8b8c55408684ae33fe25af21bc240311339035e6129aa6d7e2c45f3e9e923f63e5bef34cc SHA512 e5568b435f6e9261406742e95183574e3be5cc271ff8d55756921e0753e3239f3d2ee8be7111151488a899526f90a1d7ad27a9129a3c85520fd91a09e8043b6e DIST genpatches-6.4-7.base.tar.xz 412236 BLAKE2B 923eacdb511942c4588aed97786aa931a2c3cfe89465c9a50aabe3c8b8c55408684ae33fe25af21bc240311339035e6129aa6d7e2c45f3e9e923f63e5bef34cc SHA512 e5568b435f6e9261406742e95183574e3be5cc271ff8d55756921e0753e3239f3d2ee8be7111151488a899526f90a1d7ad27a9129a3c85520fd91a09e8043b6e
@ -11,5 +13,6 @@ DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b
DIST linux-6.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688ff8959f5c65485f7f6bef26590412c66821e720de843cb8666f226c90 SHA512 11a48b25e0b513782d3b89101c2ec8dd9cefd6ce08dc63a91137903b66392aa72ca1fe32816710673af84dd47de3ab8738056a6af93dc0d5e60ef4b869b49928 DIST linux-6.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688ff8959f5c65485f7f6bef26590412c66821e720de843cb8666f226c90 SHA512 11a48b25e0b513782d3b89101c2ec8dd9cefd6ce08dc63a91137903b66392aa72ca1fe32816710673af84dd47de3ab8738056a6af93dc0d5e60ef4b869b49928
DIST patch-6.1.39-xanmod1.xz 2236612 BLAKE2B c2941730002e6a46ef21d18a66395c3a994269483fe9d93eea93532e1408a237465981fa0375652c16536ab791e44cbe094b363eef056793596576b6ed6dbb8b SHA512 8f933298769dc398c92a08f2d35ffb67bfe4bf9ddcf26c731e8ad2887f9ca10342554caaaf2faaac4481a45c8fc3baf5a4bf11bea87b313c53316e18ed9fb3a1 DIST patch-6.1.39-xanmod1.xz 2236612 BLAKE2B c2941730002e6a46ef21d18a66395c3a994269483fe9d93eea93532e1408a237465981fa0375652c16536ab791e44cbe094b363eef056793596576b6ed6dbb8b SHA512 8f933298769dc398c92a08f2d35ffb67bfe4bf9ddcf26c731e8ad2887f9ca10342554caaaf2faaac4481a45c8fc3baf5a4bf11bea87b313c53316e18ed9fb3a1
DIST patch-6.1.40-xanmod1.xz 2285732 BLAKE2B dabcb75752aabe52481603d16b1410b186c310ef002c456766a454dd123bb2a22b7df272f60a9f19ffe13241e093489ea6e2dab6cd6b185420d16cefe3e14b7b SHA512 f2ae482f47ad345ec0fdcc03ab3d14c26bcd5ae91ede822ba165f002cc7bc585245edc09e0d3ddb67b109cabfdd33de561bf65930e7285203bdce37f6730f33a DIST patch-6.1.40-xanmod1.xz 2285732 BLAKE2B dabcb75752aabe52481603d16b1410b186c310ef002c456766a454dd123bb2a22b7df272f60a9f19ffe13241e093489ea6e2dab6cd6b185420d16cefe3e14b7b SHA512 f2ae482f47ad345ec0fdcc03ab3d14c26bcd5ae91ede822ba165f002cc7bc585245edc09e0d3ddb67b109cabfdd33de561bf65930e7285203bdce37f6730f33a
DIST patch-6.1.42-xanmod1.xz 2341408 BLAKE2B 4d3e2f13bd3677f0987f041da4ababbee1e05a4c9ddde96c898f8bd057a953608eeb2701ea8c614b7bbf569e57facb625db706cb1cab3ed3d0514cb34eb39aa3 SHA512 4f0b9b38462465d5dcb51676a01ce43d8541d76da2dfaa06de341478fcef0201b6073a033e800dde5220d97002c574e3da758fb7877a02ae825aab871a6aa8f7
DIST patch-6.4.4-xanmod1.xz 456008 BLAKE2B bd4b44dd5a3f92051fab1acb947bc9ade0345784100efcb6b9749c1699f116f6425780e0a488bf527a8cb0de8292a4c89aa9a17744286af736015d68be15c98f SHA512 6c331a8876bdaed6e24c759ab883e6079a3806a2bdf3c895e0aa736d22c9e676877090f5621f48f17fa2dd73bb6491941c5a1826801796e36fa85cdce38a18f7 DIST patch-6.4.4-xanmod1.xz 456008 BLAKE2B bd4b44dd5a3f92051fab1acb947bc9ade0345784100efcb6b9749c1699f116f6425780e0a488bf527a8cb0de8292a4c89aa9a17744286af736015d68be15c98f SHA512 6c331a8876bdaed6e24c759ab883e6079a3806a2bdf3c895e0aa736d22c9e676877090f5621f48f17fa2dd73bb6491941c5a1826801796e36fa85cdce38a18f7
DIST patch-6.4.5-xanmod1.xz 550912 BLAKE2B 37c558ea47e3e75ffc24bde32c5fbc721f8637bb6d0f16f83172f5c790862cbe25662f3371fc8790edd1aa56262a3b14dcfc95ce71a7de89605b2af258af4dfd SHA512 e24b3777b1dad23e8b34a24733c2ad0cfb88bc2f99ad7466db0feeea5605ea64244b5ecfc116cee08f32978cb93d1e2e628bcb661ca1ea516a3ef5582b093508 DIST patch-6.4.5-xanmod1.xz 550912 BLAKE2B 37c558ea47e3e75ffc24bde32c5fbc721f8637bb6d0f16f83172f5c790862cbe25662f3371fc8790edd1aa56262a3b14dcfc95ce71a7de89605b2af258af4dfd SHA512 e24b3777b1dad23e8b34a24733c2ad0cfb88bc2f99ad7466db0feeea5605ea64244b5ecfc116cee08f32978cb93d1e2e628bcb661ca1ea516a3ef5582b093508

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##*.} + 6 ))
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
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
)
kernel-build_merge_configs "${merge_configs[@]}"
}

View File

@ -0,0 +1,22 @@
# 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}
~sys-kernel/xanmod-rt-kernel-${PV}
)"