Compare commits

..

2 Commits

Author SHA1 Message Date
Parona
1597e640d3 Merge branch 'xanmod' into 'master'
sys-kernel/xanmod-kernel: add 6.1.16

See uest src_prepare/src_prepare-overlay!366
2023-03-11 02:17:07 +00:00
Alfred Wingate
ac6289abbf
sys-kernel/xanmod-kernel: add 6.1.16
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-03-11 02:57:12 +02:00
3 changed files with 102 additions and 0 deletions

View File

@ -4,6 +4,8 @@ DIST genpatches-6.1-16.base.tar.xz 820936 BLAKE2B 91554b3c532c7ba9549291a2a6c3ae
DIST genpatches-6.1-16.extras.tar.xz 3804 BLAKE2B 72e1824ad6d561359eb287c8f67d94b961c6054a4bbc66af9571caced021d6d3cf64d5d06be4977c22b4c1061b37b5f174db4713040faac069dd9e7b29fa2a6f SHA512 ac2c48ed858be0a2c844646d343de6994f1f8179b0369a6be554f1587369679b651304f967346aa1bf2f462ae62b1c8c0fcb5bca32ec12e2f6100a694aafc6b2 DIST genpatches-6.1-16.extras.tar.xz 3804 BLAKE2B 72e1824ad6d561359eb287c8f67d94b961c6054a4bbc66af9571caced021d6d3cf64d5d06be4977c22b4c1061b37b5f174db4713040faac069dd9e7b29fa2a6f SHA512 ac2c48ed858be0a2c844646d343de6994f1f8179b0369a6be554f1587369679b651304f967346aa1bf2f462ae62b1c8c0fcb5bca32ec12e2f6100a694aafc6b2
DIST genpatches-6.1-18.base.tar.xz 833216 BLAKE2B f1b86487c82d4354347171df635192a6276a4d0a9561a415270a85caa46401e4b9089f847346cbf441f8c6a4d4012234d83b31fca5797cc6296010f225392990 SHA512 155207127c1c58b2497788d5b7541ba1872fefea3d2c7804356e5bb6d28dae2f0400dbab44cf39b847f89e7a058710b8528059d75f0e92b63d3d37fd0a515ca8 DIST genpatches-6.1-18.base.tar.xz 833216 BLAKE2B f1b86487c82d4354347171df635192a6276a4d0a9561a415270a85caa46401e4b9089f847346cbf441f8c6a4d4012234d83b31fca5797cc6296010f225392990 SHA512 155207127c1c58b2497788d5b7541ba1872fefea3d2c7804356e5bb6d28dae2f0400dbab44cf39b847f89e7a058710b8528059d75f0e92b63d3d37fd0a515ca8
DIST genpatches-6.1-18.extras.tar.xz 3804 BLAKE2B f31c07ec6318b91e6e7eabeb62bc28af362fc097297b31521d464e298effbdf52cdb94b43a1811fc10ea3dc9387fa47501c4987d6709d73603ed15ac7949dd92 SHA512 8611f8cd72f54b7c4360d314eabcccfaa99722f568da32710a39f47ffd1770b14502130be5ce3d3a14a0bd93fc9fbb73f65a9c9636a8d0e9051892d1e5221ef7 DIST genpatches-6.1-18.extras.tar.xz 3804 BLAKE2B f31c07ec6318b91e6e7eabeb62bc28af362fc097297b31521d464e298effbdf52cdb94b43a1811fc10ea3dc9387fa47501c4987d6709d73603ed15ac7949dd92 SHA512 8611f8cd72f54b7c4360d314eabcccfaa99722f568da32710a39f47ffd1770b14502130be5ce3d3a14a0bd93fc9fbb73f65a9c9636a8d0e9051892d1e5221ef7
DIST genpatches-6.1-20.base.tar.xz 1052484 BLAKE2B 9599ee78ab289960d7d0c81db8d509a43f8dcb524163216af9c2bcd37eb1fe60b9c7e607faecd19974676c5cf863a4edbdc668b39ebb1f37fec98b1eceab42a5 SHA512 9e99a69ed5adc7fa8a33cab86ea187c42e888c6d768cd3d39d5491c8d96dec2fc5f4c11c02075b01de1530ac629e63876152ffa7643d3a3b899fd1655d67d1f0
DIST genpatches-6.1-20.extras.tar.xz 3808 BLAKE2B 4d121cdba86a63a5564f44f2b33841ec07d456da813070f73cdc2b983b5fe466e92b845a6c4d0959aedfa3ee9a8c57fde08a84aa6a31926d43a5ac68d4c168df SHA512 8b17882ee84adda037433b2ab13aaa378812f6d6f3e87246c1befe54c0254d1261b3fbdd89410f133ea35e798bbca597e392222ba1bfc93bf87e645600609dc2
DIST genpatches-6.2-2.base.tar.xz 9540 BLAKE2B dce2bb1156f0e9a7ca19b618d13729908001939d6ec6361ca6619808a120e61900b5f4de97b2bef0e63aef81a83c7e2a0d736f3c344d9a610eb5c6a21baeb111 SHA512 50aabf4c24dbf13595556314b2ba8f1d0219355bc79c0fddf05ef7a6d244fe3c54f95c733e02fbc032a582495c59688f415af5b62b3401b436cbb5f0ef3aa9ac DIST genpatches-6.2-2.base.tar.xz 9540 BLAKE2B dce2bb1156f0e9a7ca19b618d13729908001939d6ec6361ca6619808a120e61900b5f4de97b2bef0e63aef81a83c7e2a0d736f3c344d9a610eb5c6a21baeb111 SHA512 50aabf4c24dbf13595556314b2ba8f1d0219355bc79c0fddf05ef7a6d244fe3c54f95c733e02fbc032a582495c59688f415af5b62b3401b436cbb5f0ef3aa9ac
DIST genpatches-6.2-2.extras.tar.xz 3804 BLAKE2B cdbf51c28ff1c3b974665f558ec774eb70874a3941b97f966ee90642f3a1c8732333348e891156a40455c8b80c2a2002fdf1515403eca7b8d075c28b09a2ed78 SHA512 cba0fe9b3d13f3b1f6ee413a44698694ef6b009918dfda76e4d8402e66f1e857bf889fd4eb7ae093e864f7015eb3fe14aa704a5a3b68b0b92ca494bfc4b43a71 DIST genpatches-6.2-2.extras.tar.xz 3804 BLAKE2B cdbf51c28ff1c3b974665f558ec774eb70874a3941b97f966ee90642f3a1c8732333348e891156a40455c8b80c2a2002fdf1515403eca7b8d075c28b09a2ed78 SHA512 cba0fe9b3d13f3b1f6ee413a44698694ef6b009918dfda76e4d8402e66f1e857bf889fd4eb7ae093e864f7015eb3fe14aa704a5a3b68b0b92ca494bfc4b43a71
DIST genpatches-6.2-3.base.tar.xz 15336 BLAKE2B 83e56e5e3827f023ca320a1fac19a204f7a92a78a237d3eb0e7dd36103ad179e27eb6cbee0c3a26cd26c64c23b09a2bb9357789b6660c10064bb9c0fe0419c43 SHA512 61c907010958ebf43a0c4718057503ebf0ca6b68c92d25319d3c7423bc509fa2ed83492b6d065d42bd0e97b8055d6101ff0a1c75143132216fe806d1ce15f630 DIST genpatches-6.2-3.base.tar.xz 15336 BLAKE2B 83e56e5e3827f023ca320a1fac19a204f7a92a78a237d3eb0e7dd36103ad179e27eb6cbee0c3a26cd26c64c23b09a2bb9357789b6660c10064bb9c0fe0419c43 SHA512 61c907010958ebf43a0c4718057503ebf0ca6b68c92d25319d3c7423bc509fa2ed83492b6d065d42bd0e97b8055d6101ff0a1c75143132216fe806d1ce15f630
@ -16,5 +18,6 @@ DIST linux-6.2.tar.xz 136430892 BLAKE2B 05b63254734ea685db437cb1c00a6da63eee74d7
DIST patch-5.15.95-xanmod1.xz 3884148 BLAKE2B 5acb781f7050b7398a7051b5369a1d6ab00e4e96510e6ffeed223769dc684a369a608048cf7de85c72c518c3cf8ae79d7af1f3574981418f5fa09be702c7486b SHA512 920e8f07cc98321ff344cbc96f5a25398e3d45027d1f638f4bfa62cbfa5d86d3a42ba329da69bfed1660d34f8179628e78dd5e4f6bf402208150f493626b261a DIST patch-5.15.95-xanmod1.xz 3884148 BLAKE2B 5acb781f7050b7398a7051b5369a1d6ab00e4e96510e6ffeed223769dc684a369a608048cf7de85c72c518c3cf8ae79d7af1f3574981418f5fa09be702c7486b SHA512 920e8f07cc98321ff344cbc96f5a25398e3d45027d1f638f4bfa62cbfa5d86d3a42ba329da69bfed1660d34f8179628e78dd5e4f6bf402208150f493626b261a
DIST patch-6.1.14-xanmod1.xz 921564 BLAKE2B dc501a20432eacb5e5c1eae02153971f94b60bbe1506b421c39dafe806e75a9415720b8f85afe3e9d775ab467fbd46f5d9b9a2d2af57679f121fe96b111fb7bb SHA512 f642ddca49add99cccebb7fbe23883f32fc13bf403d10191fa0b37a60a7c2a6bac39a861bf94a10329e93b7fffba50c2cc94fe210035d0233df98a74f57b5267 DIST patch-6.1.14-xanmod1.xz 921564 BLAKE2B dc501a20432eacb5e5c1eae02153971f94b60bbe1506b421c39dafe806e75a9415720b8f85afe3e9d775ab467fbd46f5d9b9a2d2af57679f121fe96b111fb7bb SHA512 f642ddca49add99cccebb7fbe23883f32fc13bf403d10191fa0b37a60a7c2a6bac39a861bf94a10329e93b7fffba50c2cc94fe210035d0233df98a74f57b5267
DIST patch-6.1.15-xanmod1.xz 932888 BLAKE2B c0546cac82c72bb786b4310cf0070a1595abe8ac835ccadb4536e66e3487c367802ff953f146df85cb7bd85570a90fe6e2e1a35c9941a6965d19c4f5ac613f64 SHA512 6adc8220c26bd0899d60a6a3379b251c7d2bfe38f60e94d3887cff96e81155c2702d1d659dfbb4956e9c13fb18a162d31817897d0a00e569ac8a545c2dd9bc30 DIST patch-6.1.15-xanmod1.xz 932888 BLAKE2B c0546cac82c72bb786b4310cf0070a1595abe8ac835ccadb4536e66e3487c367802ff953f146df85cb7bd85570a90fe6e2e1a35c9941a6965d19c4f5ac613f64 SHA512 6adc8220c26bd0899d60a6a3379b251c7d2bfe38f60e94d3887cff96e81155c2702d1d659dfbb4956e9c13fb18a162d31817897d0a00e569ac8a545c2dd9bc30
DIST patch-6.1.16-xanmod1.xz 1145904 BLAKE2B bfb50ecb70e7ca9d60064bc02c8bc4e8068a50ada2b17138c823ff97ffd688b8515d83bc28a5c1bbbbf978cc9e322ed9533ddca8763a55dd770cd67039d6802c SHA512 97a237f002d46b2c8062ee602533893d7bf2c0f9fbcc7a3940cc6cac7c92af40af5b6504d1441247178bba6dec94ed36e0df682fe8be835070b68a209557671f
DIST patch-6.2.1-xanmod1.xz 143196 BLAKE2B 22f59b22f3638702c25bbfd7bbf2d4898bbed2b35f5517b869f417fba32faeeea4b2e51a463e69125819e85d555b1b62f5920b00fc27aa2799731ed1425a6c59 SHA512 47b40d6e444ea5beef7bf59367898bf48cacd028c49ad4b900fc7dcc3fdc960197f5a445fd89850b9191c401138edc891315de6306ff3737d0f6df0b089d71c2 DIST patch-6.2.1-xanmod1.xz 143196 BLAKE2B 22f59b22f3638702c25bbfd7bbf2d4898bbed2b35f5517b869f417fba32faeeea4b2e51a463e69125819e85d555b1b62f5920b00fc27aa2799731ed1425a6c59 SHA512 47b40d6e444ea5beef7bf59367898bf48cacd028c49ad4b900fc7dcc3fdc960197f5a445fd89850b9191c401138edc891315de6306ff3737d0f6df0b089d71c2
DIST patch-6.2.2-xanmod1.xz 148456 BLAKE2B 9f760cb8ae516a06fd666c0401405b0d33fd3a0c5c7211f7f73cdfb220b376cab28d21af7d08d74c42951b2ab91cb9ce2de70f17ad441546605a75d1dbe344c6 SHA512 50e13b703384c38a5694d8ebedfeade89da9b32390d4d59446278172063569d5504e0c91978aab072f618cd3f2c56c061284d5545ff6a8120eb4c54fa8aa79ac DIST patch-6.2.2-xanmod1.xz 148456 BLAKE2B 9f760cb8ae516a06fd666c0401405b0d33fd3a0c5c7211f7f73cdfb220b376cab28d21af7d08d74c42951b2ab91cb9ce2de70f17ad441546605a75d1dbe344c6 SHA512 50e13b703384c38a5694d8ebedfeade89da9b32390d4d59446278172063569d5504e0c91978aab072f618cd3f2c56c061284d5545ff6a8120eb4c54fa8aa79ac

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##*.} + 4 ))
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
https://github.com/xanmod/linux/releases/download/${PV}-xanmod1/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,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}
)"