sys-kernel/xanmod-kernel: add 6.1.46

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-08-17 07:35:39 +03:00
parent ca370d618a
commit f1bfac6a85
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
3 changed files with 104 additions and 0 deletions

View File

@ -2,6 +2,8 @@ DIST genpatches-6.1-49.base.tar.xz 3063788 BLAKE2B d97aa1abfdba4aaf84d392e5ebc26
DIST genpatches-6.1-49.extras.tar.xz 3808 BLAKE2B a200e4d646d8b99db4a5fde73ae51727c475b18b9f080b3d55e27d4b6f247cc8950f772e0676cfb11d301d3a9042e929d4957f96de0073bc99ef65c53668bea1 SHA512 4fc28b57b4a99ddec743d3804a78a5027d9922641135f1995016f2c5806282f0bb33e9f78cc7378ab8388b582193df457a6c397b0986e197fd5e5cc4bba85c7b DIST genpatches-6.1-49.extras.tar.xz 3808 BLAKE2B a200e4d646d8b99db4a5fde73ae51727c475b18b9f080b3d55e27d4b6f247cc8950f772e0676cfb11d301d3a9042e929d4957f96de0073bc99ef65c53668bea1 SHA512 4fc28b57b4a99ddec743d3804a78a5027d9922641135f1995016f2c5806282f0bb33e9f78cc7378ab8388b582193df457a6c397b0986e197fd5e5cc4bba85c7b
DIST genpatches-6.1-51.base.tar.xz 3127240 BLAKE2B 047b00560651226a3514417f10e55603ab2f33429993fb3b567b9424640a413419523f42bcd6175880a6ef87555422a4e8ff94f477cc7c17c52b4bcd0673bcc6 SHA512 a1b252d6e64b8dd907abaa6e827f7da78039181fdb620fb6aae10676a5ebe1d2c9759235d9f71e59f1af5cc553af40d3fd911b236eb2919dbc5b8999f7b86fe1 DIST genpatches-6.1-51.base.tar.xz 3127240 BLAKE2B 047b00560651226a3514417f10e55603ab2f33429993fb3b567b9424640a413419523f42bcd6175880a6ef87555422a4e8ff94f477cc7c17c52b4bcd0673bcc6 SHA512 a1b252d6e64b8dd907abaa6e827f7da78039181fdb620fb6aae10676a5ebe1d2c9759235d9f71e59f1af5cc553af40d3fd911b236eb2919dbc5b8999f7b86fe1
DIST genpatches-6.1-51.extras.tar.xz 3808 BLAKE2B 2f188b3f2062d491118bf96735420e63c7ae85467a6789cd00316b133d254677656229f7f4b8d364bf37713a0b8f42f77acb580db0b4eed9c183008074b3eee4 SHA512 984b4c9a7e030e2687ac574dbb743bb40b0b031ca8ac55e1e632018e174a70567e3d94bee85ccac66212458e7772be6d39f119181a7252f9bca662646cb492ff DIST genpatches-6.1-51.extras.tar.xz 3808 BLAKE2B 2f188b3f2062d491118bf96735420e63c7ae85467a6789cd00316b133d254677656229f7f4b8d364bf37713a0b8f42f77acb580db0b4eed9c183008074b3eee4 SHA512 984b4c9a7e030e2687ac574dbb743bb40b0b031ca8ac55e1e632018e174a70567e3d94bee85ccac66212458e7772be6d39f119181a7252f9bca662646cb492ff
DIST genpatches-6.1-52.base.tar.xz 3173368 BLAKE2B 429b5bc3af457d91b9c178737e573d150e337859c0f07a25043c86b834829e749b92c57fa2d80b2acfe9864f916ebe77c830249be23391d6553f5469b1934708 SHA512 0f003893b6c24fa9bb79722d6d83edb25e77fff11a526f86052980ee175d6dd599784cfcc7ad82055de9663a178fb9de38a766cfe61fe17fbde696a5292f023f
DIST genpatches-6.1-52.extras.tar.xz 3808 BLAKE2B 6a67986309840e14bd4759c0aabb1af5d6b3653660d1a12d8706567470a28b3a56d5a09cbdd3df9068bed7a845206b5a81fca3a1be0ffe7122579d9b3ff63401 SHA512 0476ec7af5906dfd4dd48c96799568f8ed7d24d7d43717979e03a16219b732461e0afc7af1c5a4f528a08c4b5c2c35d249e81be1c6d0f854f7993da2e0c7aad3
DIST genpatches-6.4-10.base.tar.xz 568848 BLAKE2B d9f28beda8bd4f69e1e5d586e274df43a8661bf51733a25f320469c1e3e42d9602b0911d4e98a40942ff182f076501ce6721e534cb92aefc3d453fc43ee499bb SHA512 218c38f99a07c2be1fb25737b0a9604a9a50fe3f72c507404d92da1e8dd7823142edc2b81110e510aef7e645edefbff2265aeb3ce7f376131801c3adb292b8d0 DIST genpatches-6.4-10.base.tar.xz 568848 BLAKE2B d9f28beda8bd4f69e1e5d586e274df43a8661bf51733a25f320469c1e3e42d9602b0911d4e98a40942ff182f076501ce6721e534cb92aefc3d453fc43ee499bb SHA512 218c38f99a07c2be1fb25737b0a9604a9a50fe3f72c507404d92da1e8dd7823142edc2b81110e510aef7e645edefbff2265aeb3ce7f376131801c3adb292b8d0
DIST genpatches-6.4-10.extras.tar.xz 3696 BLAKE2B fa0b8d593543f3624b1cff626e2cb2dc93ff0e88fd54ec71a7e467c716481420da7f361c1dd353e36111425a74f6632f1c491e618dec47fa4bc15c6a6d9e26bc SHA512 9dbfcd1d65daca0b56360290f0a6369fa007f32dde0f1a62657d1697fb50b84668e8a14c62efcfc3d12ba6a4a911731825df260421506639d2ba9b8764962e87 DIST genpatches-6.4-10.extras.tar.xz 3696 BLAKE2B fa0b8d593543f3624b1cff626e2cb2dc93ff0e88fd54ec71a7e467c716481420da7f361c1dd353e36111425a74f6632f1c491e618dec47fa4bc15c6a6d9e26bc SHA512 9dbfcd1d65daca0b56360290f0a6369fa007f32dde0f1a62657d1697fb50b84668e8a14c62efcfc3d12ba6a4a911731825df260421506639d2ba9b8764962e87
DIST genpatches-6.4-12.base.tar.xz 647340 BLAKE2B b0962b6a6b0c07aca1f27abe48e9a1e361b55b6e818d24077e989a231f44f6275b7c01b1c73303a1692fa812ee09766c58108c9efa6551263a7d117ccfddbe0d SHA512 f271fc0bc410d2faad9f08479027207ca6f1cefa0d615eb620e57fb3103d6b26ea5162c01e438ebfabb2f23b337a11c5088452e1a646bd4fb60ba464f3c5ce21 DIST genpatches-6.4-12.base.tar.xz 647340 BLAKE2B b0962b6a6b0c07aca1f27abe48e9a1e361b55b6e818d24077e989a231f44f6275b7c01b1c73303a1692fa812ee09766c58108c9efa6551263a7d117ccfddbe0d SHA512 f271fc0bc410d2faad9f08479027207ca6f1cefa0d615eb620e57fb3103d6b26ea5162c01e438ebfabb2f23b337a11c5088452e1a646bd4fb60ba464f3c5ce21
@ -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.43-xanmod1.xz 2406084 BLAKE2B e6172f796a3063afba86478b53e1c6380909308a298622cb3f3672d79110022a08adfbf36893de4fc832021921e6eb0ad25027ac12c7a42313df4db5b7acae76 SHA512 c72b69f1fbc6a43c78c0da8f5dda58fd1766334975570167256e6ef6c829f42439678cf8ffaea78b9808d8e9552781e28e7ff410f3ff347698058b74dc359ef8 DIST patch-6.1.43-xanmod1.xz 2406084 BLAKE2B e6172f796a3063afba86478b53e1c6380909308a298622cb3f3672d79110022a08adfbf36893de4fc832021921e6eb0ad25027ac12c7a42313df4db5b7acae76 SHA512 c72b69f1fbc6a43c78c0da8f5dda58fd1766334975570167256e6ef6c829f42439678cf8ffaea78b9808d8e9552781e28e7ff410f3ff347698058b74dc359ef8
DIST patch-6.1.45-xanmod1.xz 2458000 BLAKE2B d0065d499fa942037a649d48e7ea035e075877e4891ad6572f0595df7d0fd69b6d2da960287770eeb612ec95a9881c57accc84bd5acf29c0a8a323ee02f15cd6 SHA512 893ea3004048e83a0001275ceee1905c39b2dee2673072ff8b3e3cc6717274dc2830173eac47f34632621cd92f1ac76c24d264ecfbd244477e8e10f291a2c98e DIST patch-6.1.45-xanmod1.xz 2458000 BLAKE2B d0065d499fa942037a649d48e7ea035e075877e4891ad6572f0595df7d0fd69b6d2da960287770eeb612ec95a9881c57accc84bd5acf29c0a8a323ee02f15cd6 SHA512 893ea3004048e83a0001275ceee1905c39b2dee2673072ff8b3e3cc6717274dc2830173eac47f34632621cd92f1ac76c24d264ecfbd244477e8e10f291a2c98e
DIST patch-6.1.46-xanmod1.xz 2494048 BLAKE2B fe1684f53708d0e2706db4b75502aeaa125293a36606485d080afc70a9dc1618934d3f09e1d25372228ec92f45ac954395a086b3f5c3ecfb1d4ef4b6a68df932 SHA512 666ce47be7df1bd72e18358c393779f3d5a244d79a3c972f48e8efe4f8c81d67a471bcddac082841fabafb902dc4dc1de426bef2a12ef4b6f481b15d56ad8f5f
DIST patch-6.4.10-xanmod1.xz 775816 BLAKE2B e6df15e544df872670893c66aefaa63a7438830416850bd03de75b8438ba25f220b4e5fe66ec3ec2a5d08d6d4ba4adacebfcf7f8d148502691afd78e62451787 SHA512 92486eaab664ac00669f7955d6f42e6fc32b1fbd6e29f2044b6b76c95c861274e78ebfca6eb1513daf0573d441f97700a2c50d71644f00bf5c2367af6c7b5a9f DIST patch-6.4.10-xanmod1.xz 775816 BLAKE2B e6df15e544df872670893c66aefaa63a7438830416850bd03de75b8438ba25f220b4e5fe66ec3ec2a5d08d6d4ba4adacebfcf7f8d148502691afd78e62451787 SHA512 92486eaab664ac00669f7955d6f42e6fc32b1fbd6e29f2044b6b76c95c861274e78ebfca6eb1513daf0573d441f97700a2c50d71644f00bf5c2367af6c7b5a9f
DIST patch-6.4.8-xanmod1.xz 700384 BLAKE2B b2d891bacfe66cf4bec05d0d88a7d64ac95d94b50b5381ce3ccd7b6cf2cd479a67168e1ddd79bf4ce42aee8b5ee6bbef3b1996d73c5d2b0c897275cb9e43c62a SHA512 383fb94ea7ae809743729d60971b14a96f1f4663dfa0224bb43f4bef7513df954cb06aa6860a933a2acb51a154614cbfb24fed8b21b7a8efc08341434ccadcf4 DIST patch-6.4.8-xanmod1.xz 700384 BLAKE2B b2d891bacfe66cf4bec05d0d88a7d64ac95d94b50b5381ce3ccd7b6cf2cd479a67168e1ddd79bf4ce42aee8b5ee6bbef3b1996d73c5d2b0c897275cb9e43c62a SHA512 383fb94ea7ae809743729d60971b14a96f1f4663dfa0224bb43f4bef7513df954cb06aa6860a933a2acb51a154614cbfb24fed8b21b7a8efc08341434ccadcf4

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##*.} + 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
"${FILESDIR}"/no-debug-extra.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}
)"