Compare commits

...

3 Commits

Author SHA1 Message Date
Alfred Wingate
3d4110041f
virtual/dist-kernel: add 6.6.17, 6.7.5
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-02-17 01:05:01 +02:00
Alfred Wingate
41420a5d7d
sys-kernel/xanmod-kernel: add 6.6.17, 6.7.5
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-02-17 01:04:31 +02:00
Alfred Wingate
45da0cc9c6
sys-kernel/xanmod-sources: add 6.6.17, 6.7.5
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2024-02-17 01:00:46 +02:00
8 changed files with 298 additions and 0 deletions

View File

@ -2,12 +2,18 @@ DIST genpatches-6.1-86.base.tar.xz 4574456 BLAKE2B 905d051daa077a0aa697ae78187cc
DIST genpatches-6.1-86.extras.tar.xz 3812 BLAKE2B 6e0dfca04eea9e737e68e8bd94f246628ac5a3e1ad911c41c7c61ce33baaf27b42805af53b0e7969d902078fe989e2b3122d92445b721f92209f5fa5a79eddbc SHA512 4daa5eeccb39c9c033541bb5dd123f16358f0a67f0b087ed0ed22243d46d429a7695f05bdaf84a229f3f483eb73b688b5dcb18110a87f9ad22b84eff24f765fa
DIST genpatches-6.6-19.base.tar.xz 1118896 BLAKE2B 2d94ffca6b8788df6fb9d8037ec7db0e2ae3b2b433e73e112e679a0a542d5f94afbcbb982d2279caeb20670ce03b5662cb9ab7108bfc5e470880db3a5f3c1306 SHA512 8795565efaf77d5cf9dba42e6aea216138192f0868d764e19f230e052ec656027d220b19a4c5d37814eb3c380c60358b529d0f40b40fab129bdb27318b86745e
DIST genpatches-6.6-19.extras.tar.xz 3700 BLAKE2B 88f3547af7522a28595c04006e01b5ba658bd7c0e89700fb4c6b0d76a39139cc4d97be10624038847f2de1d1c8e200455fe9b5bb18830da1354d8e4d4956b644 SHA512 a83e157d10149824632da6d3047aeccddff117de2aacbfd035547166fe549f8036087f1965c0bae723ecb4a1f6e665a34b7069636b4e2a3ecbc91405284781af
DIST genpatches-6.6-23.base.tar.xz 1164692 BLAKE2B d42ccd9e636a413ffdbdb7dac699169f38b80617234b83b6ce49418f7dfd568f6d6718ce97a42b4df2f3ee1efa81df1a02102c123b88603dc558f72dd18af7e7 SHA512 1671b5d07294f73fe547a0cce8df38b5da78dc1596aa136190bae38d9eddc8b896c34e778eb80971336caa851c7d6c7640a59186cf1ecff26b89b69bdc9fb0da
DIST genpatches-6.6-23.extras.tar.xz 3704 BLAKE2B 899c859be865bde37c41a2a24f1132f803404908002e0f01f28629ae0a03c2e1979f5239d495720c6de3ba7ba6032a5f74ae0e23bff10fe37f6f7ba31daab01c SHA512 2ac88f95177413730b0668e0a33f8b27e04d9f7c42ee6fb2c9366efa06c95884e4b80ce3631105b73ae8b9ede0697b4859e92997e5059688698f96a0a2cbb129
DIST genpatches-6.7-8.base.tar.xz 460076 BLAKE2B 367e038c6a8a02d8157b947f28c6b88b3053c2a491a0933f000f0e30af41bddc50b760b5918ccf1152de4d2e4a551983435f68c421d0cce6dc352c900bdf5d48 SHA512 d946201fb054810bc54bf73e4904df6deaa1b539623c5c77002fa95b49ce5d9e38fb3ac94e74a7b9d5ca57d7b21ea0dcf7785437fb216599202fff0d8d012b92
DIST genpatches-6.7-8.extras.tar.xz 3704 BLAKE2B 98589d74cef3e628d7a693a46f1f87845ca98faf8093c9e120320e107d8c1e76d82441ec6b1a3f12c9c5fc5d20cea2cab4d6cd5dda99b318bf31ec5ab7c8447e SHA512 3e9a993586516e45d2fca24690b7ce001922732c20c5f52a7d954e5bdd1f8d7e91d4074b5128c085caeee49539dcb1a5a505424225c0100b8741f54d6ac3d095
DIST genpatches-6.7-9.base.tar.xz 503176 BLAKE2B 420c8e40d2abc26201b50197f3cf32f8a3cd2e3d49013e60b215fe567089e88bfeeac8bba1f8d95724c51dc1e72af86ea18c9b5f35133046f9f77059f0de3bb5 SHA512 23b636e3ab4bd81c509533cf76f96b7e5b10d4d9dfe57b5bb162d53991eab57043f3b935882e7643e1f1db39de4e18143785d0f65c65ed71e9b546a147dae4c6
DIST genpatches-6.7-9.extras.tar.xz 3700 BLAKE2B a535ebb75c26ea320af3ee4523d48c479e38acced934c09e6dd027df2c1ec281c8520d953b238b4a88c1ada82b5fadb77e7ddcade3ee112f50e1ae7b3eff5a79 SHA512 91dd0e05b3b14422d65752e6995858b68b75d155e498b89280cac776f29ef7805c74b9e46505a16d7644cf94b789cba7adf2bf18b453e93122c8c361ee22afcd
DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b85e7130877b300b5fe60453cde515fe37c52ece7877049bb0ef384f74ecfc73d59d7d4a513f8fef7bf4f651599946383e8 SHA512 e91156765ef2a48396370f884fdecd7bb1d600e5167f6bad51130520f886e9198adae375adf3e40fa803abc5d5482057775fb0275ab2589bd8f94d8af4a03c4e
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
DIST patch-6.1.77-xanmod1.xz 3590152 BLAKE2B fcd519de0fe30402ceaf2a96e6e2460c1fed3e45f23d9851180db127754c510632747eb56da13439c704d9f62887d8138976dcfdee5dbf3185d010a9a93843b1 SHA512 279e74750e5016912e80bd0940957ba45253aaddc0a3e0bfcede9ccb1e353d7ad52300a9edf02478a28c9feaecabd4017b3a5e6ecac1cba5900827ecd5d9ca43
DIST patch-6.6.16-xanmod1.xz 1201568 BLAKE2B 12d5ac9dd3bbc1b977192decad414432e9888dd1b45687ef25015b254604f8b9ca26396e381fd929264c6b4c9f0c04e37542a8b48cfe941f38f3ec018b410533 SHA512 da95d1ac05068292533bf40111fc6af4ce44c8f6b254051ddb6e12d4f4b4d9fb8c0bababa22fd1412947a274310a49dd9ddb6fb0cb27ef501dd6883dcff0e1db
DIST patch-6.6.17-xanmod1.xz 1244828 BLAKE2B 56c174a4cdf04c68f35b607a01d65405c45581a1190505f5eba03a79ff61fddbaa9d489c24a81c27028663da4aec8d7268046e4c57d5d3cf9b4a9fda2402e96c SHA512 29e7f5aa4a208c13fe9a53c876b8986adb11345def8773f29d77ba03ae02e11e8f24f3d5d83cc10926bc9c7c897647f88a5eadd6a688e53e75d4c3e5988488a0
DIST patch-6.7.4-xanmod1.xz 576596 BLAKE2B f2dfe1f53761673cf61443d282519a552da14125221ffba7fc1ec5faed87502337723122bb0251653355c68d08b702c2a3371cda7f978b6df1cfcc71fba32f60 SHA512 561884de1c4dd5f7eabaad382d4e9f0b12bfc41d554353aca5b649ff9b696f8ccf8f4635418f89a425b907c8b1ca4cf7722d2b613e62077de207e7ed930c61e6
DIST patch-6.7.5-xanmod1.xz 617380 BLAKE2B 5773cabeef05ac400e3c9056012d95323e97719803471f79dab71be3099193a8c384968f07b4873c08fe98867e0e7d566670aaa4686f06e305893122877b4e2c SHA512 30660d082aa7c2668d939c00649fc3b635f9701a405d5ed956553e9c9bcd2cf392c7cd5aa2e5452da40a19ac7fd42439c5a5c98c25fce52c8c9801dc73150a0e

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##*.} + 6 ))
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

@ -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##*.} + 4 ))
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

@ -2,11 +2,17 @@ DIST genpatches-6.1-86.base.tar.xz 4574456 BLAKE2B 905d051daa077a0aa697ae78187cc
DIST genpatches-6.1-86.extras.tar.xz 3812 BLAKE2B 6e0dfca04eea9e737e68e8bd94f246628ac5a3e1ad911c41c7c61ce33baaf27b42805af53b0e7969d902078fe989e2b3122d92445b721f92209f5fa5a79eddbc SHA512 4daa5eeccb39c9c033541bb5dd123f16358f0a67f0b087ed0ed22243d46d429a7695f05bdaf84a229f3f483eb73b688b5dcb18110a87f9ad22b84eff24f765fa
DIST genpatches-6.6-19.base.tar.xz 1118896 BLAKE2B 2d94ffca6b8788df6fb9d8037ec7db0e2ae3b2b433e73e112e679a0a542d5f94afbcbb982d2279caeb20670ce03b5662cb9ab7108bfc5e470880db3a5f3c1306 SHA512 8795565efaf77d5cf9dba42e6aea216138192f0868d764e19f230e052ec656027d220b19a4c5d37814eb3c380c60358b529d0f40b40fab129bdb27318b86745e
DIST genpatches-6.6-19.extras.tar.xz 3700 BLAKE2B 88f3547af7522a28595c04006e01b5ba658bd7c0e89700fb4c6b0d76a39139cc4d97be10624038847f2de1d1c8e200455fe9b5bb18830da1354d8e4d4956b644 SHA512 a83e157d10149824632da6d3047aeccddff117de2aacbfd035547166fe549f8036087f1965c0bae723ecb4a1f6e665a34b7069636b4e2a3ecbc91405284781af
DIST genpatches-6.6-23.base.tar.xz 1164692 BLAKE2B d42ccd9e636a413ffdbdb7dac699169f38b80617234b83b6ce49418f7dfd568f6d6718ce97a42b4df2f3ee1efa81df1a02102c123b88603dc558f72dd18af7e7 SHA512 1671b5d07294f73fe547a0cce8df38b5da78dc1596aa136190bae38d9eddc8b896c34e778eb80971336caa851c7d6c7640a59186cf1ecff26b89b69bdc9fb0da
DIST genpatches-6.6-23.extras.tar.xz 3704 BLAKE2B 899c859be865bde37c41a2a24f1132f803404908002e0f01f28629ae0a03c2e1979f5239d495720c6de3ba7ba6032a5f74ae0e23bff10fe37f6f7ba31daab01c SHA512 2ac88f95177413730b0668e0a33f8b27e04d9f7c42ee6fb2c9366efa06c95884e4b80ce3631105b73ae8b9ede0697b4859e92997e5059688698f96a0a2cbb129
DIST genpatches-6.7-8.base.tar.xz 460076 BLAKE2B 367e038c6a8a02d8157b947f28c6b88b3053c2a491a0933f000f0e30af41bddc50b760b5918ccf1152de4d2e4a551983435f68c421d0cce6dc352c900bdf5d48 SHA512 d946201fb054810bc54bf73e4904df6deaa1b539623c5c77002fa95b49ce5d9e38fb3ac94e74a7b9d5ca57d7b21ea0dcf7785437fb216599202fff0d8d012b92
DIST genpatches-6.7-8.extras.tar.xz 3704 BLAKE2B 98589d74cef3e628d7a693a46f1f87845ca98faf8093c9e120320e107d8c1e76d82441ec6b1a3f12c9c5fc5d20cea2cab4d6cd5dda99b318bf31ec5ab7c8447e SHA512 3e9a993586516e45d2fca24690b7ce001922732c20c5f52a7d954e5bdd1f8d7e91d4074b5128c085caeee49539dcb1a5a505424225c0100b8741f54d6ac3d095
DIST genpatches-6.7-9.base.tar.xz 503176 BLAKE2B 420c8e40d2abc26201b50197f3cf32f8a3cd2e3d49013e60b215fe567089e88bfeeac8bba1f8d95724c51dc1e72af86ea18c9b5f35133046f9f77059f0de3bb5 SHA512 23b636e3ab4bd81c509533cf76f96b7e5b10d4d9dfe57b5bb162d53991eab57043f3b935882e7643e1f1db39de4e18143785d0f65c65ed71e9b546a147dae4c6
DIST genpatches-6.7-9.extras.tar.xz 3700 BLAKE2B a535ebb75c26ea320af3ee4523d48c479e38acced934c09e6dd027df2c1ec281c8520d953b238b4a88c1ada82b5fadb77e7ddcade3ee112f50e1ae7b3eff5a79 SHA512 91dd0e05b3b14422d65752e6995858b68b75d155e498b89280cac776f29ef7805c74b9e46505a16d7644cf94b789cba7adf2bf18b453e93122c8c361ee22afcd
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
DIST linux-6.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
DIST patch-6.1.77-xanmod1.xz 3590152 BLAKE2B fcd519de0fe30402ceaf2a96e6e2460c1fed3e45f23d9851180db127754c510632747eb56da13439c704d9f62887d8138976dcfdee5dbf3185d010a9a93843b1 SHA512 279e74750e5016912e80bd0940957ba45253aaddc0a3e0bfcede9ccb1e353d7ad52300a9edf02478a28c9feaecabd4017b3a5e6ecac1cba5900827ecd5d9ca43
DIST patch-6.6.16-xanmod1.xz 1201568 BLAKE2B 12d5ac9dd3bbc1b977192decad414432e9888dd1b45687ef25015b254604f8b9ca26396e381fd929264c6b4c9f0c04e37542a8b48cfe941f38f3ec018b410533 SHA512 da95d1ac05068292533bf40111fc6af4ce44c8f6b254051ddb6e12d4f4b4d9fb8c0bababa22fd1412947a274310a49dd9ddb6fb0cb27ef501dd6883dcff0e1db
DIST patch-6.6.17-xanmod1.xz 1244828 BLAKE2B 56c174a4cdf04c68f35b607a01d65405c45581a1190505f5eba03a79ff61fddbaa9d489c24a81c27028663da4aec8d7268046e4c57d5d3cf9b4a9fda2402e96c SHA512 29e7f5aa4a208c13fe9a53c876b8986adb11345def8773f29d77ba03ae02e11e8f24f3d5d83cc10926bc9c7c897647f88a5eadd6a688e53e75d4c3e5988488a0
DIST patch-6.7.4-xanmod1.xz 576596 BLAKE2B f2dfe1f53761673cf61443d282519a552da14125221ffba7fc1ec5faed87502337723122bb0251653355c68d08b702c2a3371cda7f978b6df1cfcc71fba32f60 SHA512 561884de1c4dd5f7eabaad382d4e9f0b12bfc41d554353aca5b649ff9b696f8ccf8f4635418f89a425b907c8b1ca4cf7722d2b613e62077de207e7ed930c61e6
DIST patch-6.7.5-xanmod1.xz 617380 BLAKE2B 5773cabeef05ac400e3c9056012d95323e97719803471f79dab71be3099193a8c384968f07b4873c08fe98867e0e7d566670aaa4686f06e305893122877b4e2c SHA512 30660d082aa7c2668d939c00649fc3b635f9701a405d5ed956553e9c9bcd2cf392c7cd5aa2e5452da40a19ac7fd42439c5a5c98c25fce52c8c9801dc73150a0e

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="23"
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,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="9"
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}
)
"

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}
)
"