Compare commits

..

3 Commits

Author SHA1 Message Date
Alfred Wingate
d26ea10422
virtual/dist-kernel: add 6.8.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-03-11 21:51:45 +02:00
Alfred Wingate
da9d0ac0dc
sys-kernel/xanmod-kernel: add 6.8.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-03-11 21:51:27 +02:00
Alfred Wingate
af3ac7d79b
sys-kernel/xanmod-sources: add 6.8.0
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-03-11 20:01:09 +02:00
5 changed files with 151 additions and 0 deletions

View File

@ -6,10 +6,14 @@ DIST genpatches-6.7-11.base.tar.xz 699832 BLAKE2B 22ff0e1ae4ab7fe8376b06ded03e48
DIST genpatches-6.7-11.extras.tar.xz 3704 BLAKE2B 1afd454ba83299605a573405732f41eda7a261f8cf524bfdaf329b4130849b0ff0895d39902360e3e4351fbf5ff1aeb2e378372d556bdf3c90b330a2195a7c89 SHA512 9d5b52bc1853f5cc41bc762ec023037ec25f22e13f1b098f7e7493b29645cdfbea14ebbac291330ae61a7c1a9b5f8291b7b2f88f61690cfe00a129693b98d035 DIST genpatches-6.7-11.extras.tar.xz 3704 BLAKE2B 1afd454ba83299605a573405732f41eda7a261f8cf524bfdaf329b4130849b0ff0895d39902360e3e4351fbf5ff1aeb2e378372d556bdf3c90b330a2195a7c89 SHA512 9d5b52bc1853f5cc41bc762ec023037ec25f22e13f1b098f7e7493b29645cdfbea14ebbac291330ae61a7c1a9b5f8291b7b2f88f61690cfe00a129693b98d035
DIST genpatches-6.7-13.base.tar.xz 742864 BLAKE2B 63b5326788da244f61d76327c346ec64e7916eb4e6163a4ec7a94f4c51a5ce4fe0a75a58a781f4536811897226213c5ec85dc93b7b63d8d7ca81a0edb8724a98 SHA512 2d283438c2c9c7fec82107455949f6e525d34cd0542cf28594773f1dabc7061034579d71dda4e386f63cf8cd7d7921070a9cdd59c6478077ef87cb4b8064b431 DIST genpatches-6.7-13.base.tar.xz 742864 BLAKE2B 63b5326788da244f61d76327c346ec64e7916eb4e6163a4ec7a94f4c51a5ce4fe0a75a58a781f4536811897226213c5ec85dc93b7b63d8d7ca81a0edb8724a98 SHA512 2d283438c2c9c7fec82107455949f6e525d34cd0542cf28594773f1dabc7061034579d71dda4e386f63cf8cd7d7921070a9cdd59c6478077ef87cb4b8064b431
DIST genpatches-6.7-13.extras.tar.xz 3704 BLAKE2B 3a8af901c0e76fa3fe36d9dea4e8f7d034553c705f608c365cc7d50050b45e5c13b6ff530cd63ffa51054fcc0fa20d9fa45680f24063d73773f1ca407a81e395 SHA512 201a6724e62e6abfe110a6051c5d73e1fcedddba37220916631dcdd470bf3414dd3b6d499058bbf288f8fdc9e87d7a01a667412815521d8489773d17db9a5c67 DIST genpatches-6.7-13.extras.tar.xz 3704 BLAKE2B 3a8af901c0e76fa3fe36d9dea4e8f7d034553c705f608c365cc7d50050b45e5c13b6ff530cd63ffa51054fcc0fa20d9fa45680f24063d73773f1ca407a81e395 SHA512 201a6724e62e6abfe110a6051c5d73e1fcedddba37220916631dcdd470bf3414dd3b6d499058bbf288f8fdc9e87d7a01a667412815521d8489773d17db9a5c67
DIST genpatches-6.8-1.base.tar.xz 4136 BLAKE2B a5bda1bbbe2f1d772226661e15329f52a09166e049b2c7df259fcf4bdfce0585fdafe798ce15cfbe8d66e7fbd69a3fbd29abd1bc0e2f98cca89fd09c9bac2884 SHA512 a6a9bceb77afab73d2f7686b27079b6d294861408c1e7cae399e1a8ab6f7a4e31d196f73cce84aa81f38ee8a8880ff2bad81541c2b22503105f0f4198d2001a0
DIST genpatches-6.8-1.extras.tar.xz 3700 BLAKE2B ba0d9f61231a6df70eec23c74d18343420f8ff8e04777a1e19b90b64f89bbe345647fc5df41636458ed567bcb2ebf42445013060caff604654c4d0b9c259c5f0 SHA512 56c7c8996afc570775d5341066614f815d0233ddfc9ae55689c0929758e39fc01427da59b973c102451776f63a98f95c54fc8801bc303c3f5c14fe2612ec27a8
DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b85e7130877b300b5fe60453cde515fe37c52ece7877049bb0ef384f74ecfc73d59d7d4a513f8fef7bf4f651599946383e8 SHA512 e91156765ef2a48396370f884fdecd7bb1d600e5167f6bad51130520f886e9198adae375adf3e40fa803abc5d5482057775fb0275ab2589bd8f94d8af4a03c4e DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b85e7130877b300b5fe60453cde515fe37c52ece7877049bb0ef384f74ecfc73d59d7d4a513f8fef7bf4f651599946383e8 SHA512 e91156765ef2a48396370f884fdecd7bb1d600e5167f6bad51130520f886e9198adae375adf3e40fa803abc5d5482057775fb0275ab2589bd8f94d8af4a03c4e
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
DIST linux-6.8.tar.xz 142502100 BLAKE2B c6f17f816cea16e629f63e9379b98888713f57b2c5173306926471f139a9d612a0c74e119341f8075390e55e203d787d9edeb4ad5a064b18870f6f0f7ffaafb2 SHA512 5c4eb4aa1d3f7d1ea01c0f7ddeadacdece6e144fd4bdfc16b2b925d3e10dc04de3a6db69320b79a96c3560052616f001d2c09e7a1bb4f7b731e2380a7ecce068
DIST patch-6.6.19-xanmod1.xz 1419316 BLAKE2B 82f95a8b952088019d2b13a5aba1270d7cada321e691018bc8556022e305cfa25c4db330ae2ed79126022371b50857a18c16a1daaac2db5e1646eacbce7dc642 SHA512 8ff344423dfa90613214117e688c4507bbd8aa3401a2b56f6d2d7afbe3d505e09afba68e8d8582fad318e987e989dade0aa0de6aa4ffeff6d97c0731beee5dc2 DIST patch-6.6.19-xanmod1.xz 1419316 BLAKE2B 82f95a8b952088019d2b13a5aba1270d7cada321e691018bc8556022e305cfa25c4db330ae2ed79126022371b50857a18c16a1daaac2db5e1646eacbce7dc642 SHA512 8ff344423dfa90613214117e688c4507bbd8aa3401a2b56f6d2d7afbe3d505e09afba68e8d8582fad318e987e989dade0aa0de6aa4ffeff6d97c0731beee5dc2
DIST patch-6.6.21-xanmod1.xz 1456236 BLAKE2B 752575664395fb41a8ffc97b1622d30ee35180479ee5c87e5c10b01bd33cbb67fb25cd11f8b7da069363e26f1d8e4f020537c89679cd83255df8c2c1303097ed SHA512 c9a65e4c6d483ccbaf180210ae6c06dddf72fd38f69ed159b65b3ff1853be077ae2b85c39c11cbe6fe700a83f3be337d2d22073d6089510a4bb5001459b6f948 DIST patch-6.6.21-xanmod1.xz 1456236 BLAKE2B 752575664395fb41a8ffc97b1622d30ee35180479ee5c87e5c10b01bd33cbb67fb25cd11f8b7da069363e26f1d8e4f020537c89679cd83255df8c2c1303097ed SHA512 c9a65e4c6d483ccbaf180210ae6c06dddf72fd38f69ed159b65b3ff1853be077ae2b85c39c11cbe6fe700a83f3be337d2d22073d6089510a4bb5001459b6f948
DIST patch-6.7.7-xanmod1.xz 811740 BLAKE2B 487879dc7b304001af46e8ef184f2ea18e3a02e4c831083641383e69888e2c46637763694d007af556b6ae5a7deea7725f62a18a8b1d278b6c95b1a5b45000a7 SHA512 f22afc1b60c017e1bfe807f5436a8588f141a52d2f03ef2edbd9b5a687337dde6e30661671aad879fe8e1fb6858c907605661d5a4d2442517046a369ce72544c DIST patch-6.7.7-xanmod1.xz 811740 BLAKE2B 487879dc7b304001af46e8ef184f2ea18e3a02e4c831083641383e69888e2c46637763694d007af556b6ae5a7deea7725f62a18a8b1d278b6c95b1a5b45000a7 SHA512 f22afc1b60c017e1bfe807f5436a8588f141a52d2f03ef2edbd9b5a687337dde6e30661671aad879fe8e1fb6858c907605661d5a4d2442517046a369ce72544c
DIST patch-6.7.9-xanmod1.xz 851524 BLAKE2B 09be9e8e16ebf3134b65d41bf8ec0808c8c8fce6c51678dd517e173b88a53bdcfde6daaeae11181d8701dc37ba771e4382bea24a0e6b8d83e59be826bec60fee SHA512 55e5eb797db43f053dad282d415d1e240de006f643a787678caa573d6a38d9c178c72576de84bd2074a45686bb13521dd97349dc3754eea4b12297309361647a DIST patch-6.7.9-xanmod1.xz 851524 BLAKE2B 09be9e8e16ebf3134b65d41bf8ec0808c8c8fce6c51678dd517e173b88a53bdcfde6daaeae11181d8701dc37ba771e4382bea24a0e6b8d83e59be826bec60fee SHA512 55e5eb797db43f053dad282d415d1e240de006f643a787678caa573d6a38d9c178c72576de84bd2074a45686bb13521dd97349dc3754eea4b12297309361647a
DIST patch-6.8.0-xanmod1.xz 147220 BLAKE2B 8757f5f6d8080b36da3d11c0124aa39edc1448f4b43c7de88909cb2de11e20bddb7be2f32d848ca0a10f5a4ba59c89b043de84ea376dac4268d641af85d2601d SHA512 5822b311fd4296d8b9aa6a63d8b6186e800c399f2e54781de0584b9996cfc4715ba1ec29ecd8868b92fbfe4c285211c9fc26fb149085aa674772f743d255b34f

View File

@ -0,0 +1,84 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
KERNEL_IUSE_GENERIC_UKI=1
KERNEL_IUSE_MODULES_SIGN=1
inherit kernel-build
MY_P=linux-${PV%.*}
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 1 ))
GENTOO_CONFIG_VER=g11
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
)
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
kernel-build_merge_configs "${merge_configs[@]}"
}

View File

@ -6,9 +6,13 @@ DIST genpatches-6.7-11.base.tar.xz 699832 BLAKE2B 22ff0e1ae4ab7fe8376b06ded03e48
DIST genpatches-6.7-11.extras.tar.xz 3704 BLAKE2B 1afd454ba83299605a573405732f41eda7a261f8cf524bfdaf329b4130849b0ff0895d39902360e3e4351fbf5ff1aeb2e378372d556bdf3c90b330a2195a7c89 SHA512 9d5b52bc1853f5cc41bc762ec023037ec25f22e13f1b098f7e7493b29645cdfbea14ebbac291330ae61a7c1a9b5f8291b7b2f88f61690cfe00a129693b98d035 DIST genpatches-6.7-11.extras.tar.xz 3704 BLAKE2B 1afd454ba83299605a573405732f41eda7a261f8cf524bfdaf329b4130849b0ff0895d39902360e3e4351fbf5ff1aeb2e378372d556bdf3c90b330a2195a7c89 SHA512 9d5b52bc1853f5cc41bc762ec023037ec25f22e13f1b098f7e7493b29645cdfbea14ebbac291330ae61a7c1a9b5f8291b7b2f88f61690cfe00a129693b98d035
DIST genpatches-6.7-13.base.tar.xz 742864 BLAKE2B 63b5326788da244f61d76327c346ec64e7916eb4e6163a4ec7a94f4c51a5ce4fe0a75a58a781f4536811897226213c5ec85dc93b7b63d8d7ca81a0edb8724a98 SHA512 2d283438c2c9c7fec82107455949f6e525d34cd0542cf28594773f1dabc7061034579d71dda4e386f63cf8cd7d7921070a9cdd59c6478077ef87cb4b8064b431 DIST genpatches-6.7-13.base.tar.xz 742864 BLAKE2B 63b5326788da244f61d76327c346ec64e7916eb4e6163a4ec7a94f4c51a5ce4fe0a75a58a781f4536811897226213c5ec85dc93b7b63d8d7ca81a0edb8724a98 SHA512 2d283438c2c9c7fec82107455949f6e525d34cd0542cf28594773f1dabc7061034579d71dda4e386f63cf8cd7d7921070a9cdd59c6478077ef87cb4b8064b431
DIST genpatches-6.7-13.extras.tar.xz 3704 BLAKE2B 3a8af901c0e76fa3fe36d9dea4e8f7d034553c705f608c365cc7d50050b45e5c13b6ff530cd63ffa51054fcc0fa20d9fa45680f24063d73773f1ca407a81e395 SHA512 201a6724e62e6abfe110a6051c5d73e1fcedddba37220916631dcdd470bf3414dd3b6d499058bbf288f8fdc9e87d7a01a667412815521d8489773d17db9a5c67 DIST genpatches-6.7-13.extras.tar.xz 3704 BLAKE2B 3a8af901c0e76fa3fe36d9dea4e8f7d034553c705f608c365cc7d50050b45e5c13b6ff530cd63ffa51054fcc0fa20d9fa45680f24063d73773f1ca407a81e395 SHA512 201a6724e62e6abfe110a6051c5d73e1fcedddba37220916631dcdd470bf3414dd3b6d499058bbf288f8fdc9e87d7a01a667412815521d8489773d17db9a5c67
DIST genpatches-6.8-1.base.tar.xz 4136 BLAKE2B a5bda1bbbe2f1d772226661e15329f52a09166e049b2c7df259fcf4bdfce0585fdafe798ce15cfbe8d66e7fbd69a3fbd29abd1bc0e2f98cca89fd09c9bac2884 SHA512 a6a9bceb77afab73d2f7686b27079b6d294861408c1e7cae399e1a8ab6f7a4e31d196f73cce84aa81f38ee8a8880ff2bad81541c2b22503105f0f4198d2001a0
DIST genpatches-6.8-1.extras.tar.xz 3700 BLAKE2B ba0d9f61231a6df70eec23c74d18343420f8ff8e04777a1e19b90b64f89bbe345647fc5df41636458ed567bcb2ebf42445013060caff604654c4d0b9c259c5f0 SHA512 56c7c8996afc570775d5341066614f815d0233ddfc9ae55689c0929758e39fc01427da59b973c102451776f63a98f95c54fc8801bc303c3f5c14fe2612ec27a8
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35 DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
DIST linux-6.8.tar.xz 142502100 BLAKE2B c6f17f816cea16e629f63e9379b98888713f57b2c5173306926471f139a9d612a0c74e119341f8075390e55e203d787d9edeb4ad5a064b18870f6f0f7ffaafb2 SHA512 5c4eb4aa1d3f7d1ea01c0f7ddeadacdece6e144fd4bdfc16b2b925d3e10dc04de3a6db69320b79a96c3560052616f001d2c09e7a1bb4f7b731e2380a7ecce068
DIST patch-6.6.19-xanmod1.xz 1419316 BLAKE2B 82f95a8b952088019d2b13a5aba1270d7cada321e691018bc8556022e305cfa25c4db330ae2ed79126022371b50857a18c16a1daaac2db5e1646eacbce7dc642 SHA512 8ff344423dfa90613214117e688c4507bbd8aa3401a2b56f6d2d7afbe3d505e09afba68e8d8582fad318e987e989dade0aa0de6aa4ffeff6d97c0731beee5dc2 DIST patch-6.6.19-xanmod1.xz 1419316 BLAKE2B 82f95a8b952088019d2b13a5aba1270d7cada321e691018bc8556022e305cfa25c4db330ae2ed79126022371b50857a18c16a1daaac2db5e1646eacbce7dc642 SHA512 8ff344423dfa90613214117e688c4507bbd8aa3401a2b56f6d2d7afbe3d505e09afba68e8d8582fad318e987e989dade0aa0de6aa4ffeff6d97c0731beee5dc2
DIST patch-6.6.21-xanmod1.xz 1456236 BLAKE2B 752575664395fb41a8ffc97b1622d30ee35180479ee5c87e5c10b01bd33cbb67fb25cd11f8b7da069363e26f1d8e4f020537c89679cd83255df8c2c1303097ed SHA512 c9a65e4c6d483ccbaf180210ae6c06dddf72fd38f69ed159b65b3ff1853be077ae2b85c39c11cbe6fe700a83f3be337d2d22073d6089510a4bb5001459b6f948 DIST patch-6.6.21-xanmod1.xz 1456236 BLAKE2B 752575664395fb41a8ffc97b1622d30ee35180479ee5c87e5c10b01bd33cbb67fb25cd11f8b7da069363e26f1d8e4f020537c89679cd83255df8c2c1303097ed SHA512 c9a65e4c6d483ccbaf180210ae6c06dddf72fd38f69ed159b65b3ff1853be077ae2b85c39c11cbe6fe700a83f3be337d2d22073d6089510a4bb5001459b6f948
DIST patch-6.7.7-xanmod1.xz 811740 BLAKE2B 487879dc7b304001af46e8ef184f2ea18e3a02e4c831083641383e69888e2c46637763694d007af556b6ae5a7deea7725f62a18a8b1d278b6c95b1a5b45000a7 SHA512 f22afc1b60c017e1bfe807f5436a8588f141a52d2f03ef2edbd9b5a687337dde6e30661671aad879fe8e1fb6858c907605661d5a4d2442517046a369ce72544c DIST patch-6.7.7-xanmod1.xz 811740 BLAKE2B 487879dc7b304001af46e8ef184f2ea18e3a02e4c831083641383e69888e2c46637763694d007af556b6ae5a7deea7725f62a18a8b1d278b6c95b1a5b45000a7 SHA512 f22afc1b60c017e1bfe807f5436a8588f141a52d2f03ef2edbd9b5a687337dde6e30661671aad879fe8e1fb6858c907605661d5a4d2442517046a369ce72544c
DIST patch-6.7.9-xanmod1.xz 851524 BLAKE2B 09be9e8e16ebf3134b65d41bf8ec0808c8c8fce6c51678dd517e173b88a53bdcfde6daaeae11181d8701dc37ba771e4382bea24a0e6b8d83e59be826bec60fee SHA512 55e5eb797db43f053dad282d415d1e240de006f643a787678caa573d6a38d9c178c72576de84bd2074a45686bb13521dd97349dc3754eea4b12297309361647a DIST patch-6.7.9-xanmod1.xz 851524 BLAKE2B 09be9e8e16ebf3134b65d41bf8ec0808c8c8fce6c51678dd517e173b88a53bdcfde6daaeae11181d8701dc37ba771e4382bea24a0e6b8d83e59be826bec60fee SHA512 55e5eb797db43f053dad282d415d1e240de006f643a787678caa573d6a38d9c178c72576de84bd2074a45686bb13521dd97349dc3754eea4b12297309361647a
DIST patch-6.8.0-xanmod1.xz 147220 BLAKE2B 8757f5f6d8080b36da3d11c0124aa39edc1448f4b43c7de88909cb2de11e20bddb7be2f32d848ca0a10f5a4ba59c89b043de84ea376dac4268d641af85d2601d SHA512 5822b311fd4296d8b9aa6a63d8b6186e800c399f2e54781de0584b9996cfc4715ba1ec29ecd8868b92fbfe4c285211c9fc26fb149085aa674772f743d255b34f

View File

@ -0,0 +1,40 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
XANMOD_VERSION=1
K_WANT_GENPATCHES="base extras"
K_GENPATCHES_VER="1"
ETYPE="sources"
K_SECURITY_UNSUPPORTED="1"
K_NOSETEXTRAVERSION="1"
inherit kernel-2
detect_version
detect_arch
DESCRIPTION="Full XanMod sources including the Gentoo patchset "
HOMEPAGE="https://xanmod.org"
SRC_URI="
${KERNEL_BASE_URI}/linux-${KV_MAJOR}.${KV_MINOR}.tar.xz
mirror://sourceforge/xanmod/patch-${OKV}-xanmod${XANMOD_VERSION}.xz
${GENPATCHES_URI}
"
LICENSE+=" CDDL"
KEYWORDS="~amd64"
src_unpack() {
UNIPATCH_STRICTORDER=1
UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${OKV}-xanmod${XANMOD_VERSION}.xz "
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1*_linux-${KV_MAJOR}.${KV_MINOR}.*.patch"
kernel-2_src_unpack
}
pkg_postinst() {
elog "MICROCODES"
elog "Use xanmod-sources with microcodes"
elog "Read https://wiki.gentoo.org/wiki/Intel_microcode"
}

View File

@ -0,0 +1,19 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Virtual to depend on any Distribution Kernel"
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}
)
"