sys-kernel/xanmod-kernel: add 6.0.12

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2022-12-12 21:19:09 +02:00
parent 3d00ec70e6
commit b2f6b3cb94
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
3 changed files with 102 additions and 0 deletions

View File

@ -6,6 +6,8 @@ DIST genpatches-6.0-10.base.tar.xz 546380 BLAKE2B faad43e3066e880e9074c57499eef6
DIST genpatches-6.0-10.extras.tar.xz 3804 BLAKE2B 392620ebf627c7f480b0031b9e3e712ec0005b7e83596ef192908cde5740df06cec0605b09a15ba9420919b37a61136611a9e3e13f82caa63d0337f3d9b167e0 SHA512 86511fa64c02b703426450ade1811ce5b3614a6a232cba35f016837572e34a7ea0c751eb90ffe971f6a3321e0f9f61f8f032bd1cab5b0d55f8112acff42b4f61
DIST genpatches-6.0-11.base.tar.xz 622960 BLAKE2B a8d35eea162ef85aec18ee2b1b57e0d67cf4fd336eb1827b4c2d81f85768ea0b633b8010d100b693d3359ffdc373d19c866383dd2fbfcae8d49cf406e9c6a56b SHA512 d2f07ee7314431f324684340f84cba64c008a268ed42f481a9bc885796cf4ba1dcd787bf64eb0028f2cab98afd0226f1b56cf00c7f160fc2af25276339743b31
DIST genpatches-6.0-11.extras.tar.xz 3804 BLAKE2B 11aee6c336dde017a69fd47cdcd881db93c2b183fae9924bbcac663fccc3276450536325e63a11407adfa0900e1cb1a017d10c8ebf2bb0f3127fdf56cadb1215 SHA512 c3ede70c3ea7ab481fd2e5862254c589d9fb56e0d91e1e8bbfae0fbfa57d325b59e778c765a28be03655d75763da7f19361f2e14e5f8335fb779a083d9b42b67
DIST genpatches-6.0-12.base.tar.xz 658212 BLAKE2B 0daa718dd00d76224db3776d6792d51e072a2e4c8094ec22814d84cffcff8d18a670b73f94b5fe231e1eb586e05b42aa44942b8706ced76ac5c172777f8f8519 SHA512 e960c0a687b06ab108429ee99e5ef27dcc826dd3e6d90471addcb215284d37c1ed0cf40eb9d442a7ac90a5c4696a0ad95e0c5997ee954e4677b949a2c7ffcecf
DIST genpatches-6.0-12.extras.tar.xz 3804 BLAKE2B fbf21f852110ac732124e5a227b38462d7a94ec17d788fbd48ab35e08c2a941f9c3549e58e7cdb4279f8a273daa2cfbde0a560a769d808ca9d26d2419b303b96 SHA512 efdc24c196c10ee2b47d6f81482b4408a5a7e829c21d9c2eff6426a92a1c17f0315c64875d45795cda7b735d183b7560ec44e308fee34b09e89c171526c9ee4f
DIST gentoo-kernel-config-g1.tar.gz 4283 BLAKE2B 44dd51ec45ebc71bffcd6d85a2fefba053f7bce8035057f0bbe928e24816ad4ba03c9bf67dcfcd6d6d1833c0a2ea93e0fd486c2093664dc41ccce316e1e60588 SHA512 3a45f28df9d457df0fe0d185da8b10f4e35f49dad75075e041e8cf3cf6972fecc8145cd557b0bf3a8dea20ddffae0194f88e61c1e5098fa0a5ca301d40aeea2e
DIST gentoo-kernel-config-g3.tar.gz 4411 BLAKE2B 00edc4b5dc943834bc7ee977382b2960160888db00a25c5a7f73968784aa39a2b3b69f0bbda89b3ce8eb55e746006cff2839481493ac8bfca6a21de2299564f7 SHA512 44beae869bebf5445655dafe1facc47c3dbe602b34c5bf2fa984a581bfe3250fa0df908b8807c333c2e66ab9d1a2bb8026e22140f2a1f522d0dd647c96ca4d5e
DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
@ -14,3 +16,4 @@ DIST patch-5.15.78-xanmod1.xz 3368160 BLAKE2B cd6f6fea1bdfb323bd37097bcd7c603171
DIST patch-5.15.81-xanmod1.xz 3469480 BLAKE2B 1c02e1482536f86d698159554c83819cff476bf790dfc7d108fc771e96c6762b14e69b9c9527a8a9c7245b458543bd26e8ebcaa5afc57ec145af803bb04ef7eb SHA512 594cb915c9e2466af198f71b3c79090358ba9ec7b4e76c2442cd3375b50a1add8972b29a5b5d21d508f907384764f7acc54a39d1d7effe8991868b47a3aa8c0f
DIST patch-6.0.10-xanmod1.xz 896572 BLAKE2B 5e2f1d3e4ed9b410a641ecb192a212e773fcb31fff906d1b5c61cad519b4f5ce691dafe004362518d1742a3e691d85073fd143f30d41b9c6ded2f34a4edb1d64 SHA512 afa2194c35dc7f35a35c35af27529ac13b12a446cb079d786cd4770592d0e1db6633d64a8afad976aa770a10aab0ccc54a8be4328a56c7a3173a5f6c4754160a
DIST patch-6.0.11-xanmod1.xz 968216 BLAKE2B 7c38b419babd2f59f7ab773c77897d76b033fd79fd1b0b8caf19f58a82b01ee69638b5a12782947668b0f58983c45f62310a05e7308fb25e236b63c4dba02a01 SHA512 5310f5500543f62a0a1abf087efbd70f938a0c531360160c919db36f5ef447371a8e6cf9a6de4326bf13a326f0eeab6a37a978d47e79bc94522f3a3a8f57c8ca
DIST patch-6.0.12-xanmod1.xz 1001256 BLAKE2B 720002dccdb0a8b4b5966e6055d546f8d0b6175f16dc79fb3007b5c85cfdcbab62110f0fb83f7654f64de02714a89f9db0b0d0a781f974c23cc33ab33f375d41 SHA512 f97cd9ecb99ea9ac74decb82458f9f9dc12ddfb5b3da6cf7657bb3e999b7dffc18a14afff47c69f4c48dbc64ff00c5d92624c3771e9ea12966b0d16838bcfa1f

View File

@ -0,0 +1,78 @@
# Copyright 2022 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##*.} + 0 ))
GENTOO_CONFIG_VER=g3
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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz
https://dev.gentoo.org/~alicef/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}
)"