Compare commits
5 Commits
8e1caecdb7
...
e559d7d164
Author | SHA1 | Date | |
---|---|---|---|
|
e559d7d164 | ||
|
4fa4ed9892 | ||
|
ba0e32dbe6 | ||
|
f51684f0e1 | ||
|
2a4d2a3d5e |
@ -1,11 +1,7 @@
|
||||
DIST genpatches-6.6-24.base.tar.xz 1263296 BLAKE2B 16caebdd68cdf1d07c5f0e0429ee0fff5b95408a41bedd55c3e44b53fc242b73998020d781d51bdb35e42b680c4fd3f4cdbc6f5e65977ad099691ac2b25d5fc0 SHA512 f6cf1e79a6d9c4e050602a1bb5a41266129fa3b93250b158fce55a7df5eceb6134950816c055134310fa25f0d878afea11c9bce8950050f8723b1178896adcd5
|
||||
DIST genpatches-6.6-24.extras.tar.xz 3704 BLAKE2B 2908fc01a54469d0b99c12b76e11a67af3251391e5f6cb7125a63d54abb681acd11f54ea26702e964a5785fa1a2557111ab9bea13c4e9a32cf4549c246b34edb SHA512 f72cf8aadaad8cff309a6030e98e29534e86c75665895d53772d3fa783df2939d74e449e1e0adb136349f7e281cc158153380d862cbbf6a3ac4916ef4b8da6e0
|
||||
DIST genpatches-6.6-25.base.tar.xz 1351392 BLAKE2B e1f5df7796f7d50a244c37d2b5e4eecdeb1d46cf25f6dc51567c6abd729aad142266fa430350e7efdd3995c02d6f8cc6ff85429fa7a019f8f9ed1a9ca2fc9b7f SHA512 a548b1552c6e89b0d9736a2d2e282eda7686a0cf781c8d3445d7394ffdabb2c16c69dcaea0341f51780181bf30a58696ea8fa2723f25b12fa6d7cfdc1effa810
|
||||
DIST genpatches-6.6-25.extras.tar.xz 3704 BLAKE2B e7709d6dc9f02a24a5efff213e4357a25777364cce38387b5a12149915017cf229546993de40b4e2aaa6c107b1930f091e5399c14b660d07f3e73a1a6c4f287f SHA512 babba6d4e397a1594d74dac9e588fe87ebc07523ddb5a8e4b23028043534a965d29a728cf7958da90e6544a3e1d0fc29de65542610f5ad513ca7d7edb5a89c5b
|
||||
DIST genpatches-6.6-27.base.tar.xz 1392292 BLAKE2B 46e3c354f7c27182c2f97bd20c165fa8bb79317bb136afbbe1e0906cd405e7cbcab1293e724cda38491f0d1cd9e9009146f18ad9b5ecf54526e69aae43fbc9e8 SHA512 363d26f9410e2d526f07c0831d36733999ec284ee01d684ad15aa5856b007a2d2a189ca414358da87a479dcbbea7ae24add9d8019b4c41c8bf1aae7b67a3b490
|
||||
DIST genpatches-6.6-27.extras.tar.xz 3700 BLAKE2B 36a21c970dd2c8f72a4496b9f72faea3e94fba49342e00b7cdfc0ca6d4f3ab14fef161a7d02ad13b1c7db73af3c96b1c145453d0645791b46b34f599b3947582 SHA512 996a1b0a5c625043ececbeacc648f4dd71da2e239482ca515b680b146ba6041feeb0924929b1b2b6ee4f3ecc24c85926e54e28058d9401d4399282151332dfce
|
||||
DIST genpatches-6.7-10.base.tar.xz 599552 BLAKE2B 952e3510f0e76381b0028179599e7bc05e6ad6a36a283abd4664cdc24d81d0ab287d6e1c077f489964608a86f3e7d8f4e2b9246bf01538b9d84cb80704f7474b SHA512 ec30398a92414b83d719b9f805edef1a8796e8b988a7384f75454f930a5a31ba05f1ea6ad1f48b2fb6e6d183450cc5ca10cf5c9f5c6bb3c47de27eda668fb76b
|
||||
DIST genpatches-6.7-10.extras.tar.xz 3704 BLAKE2B a5264482e3081f585475897242e27707a0cb5cc838a17b25bf50632625d0bfe983c889603df6aac1ae2f96466d13ded9783d7d8c118c5cb8d6beea132d436d87 SHA512 5656a2daa02ef9148ca22faf9c4e64dd3c79cc4eea9a99c697b5e8de29550e0743782b60c00f2030fe8a7370931d86cd6bfd37339eb272e6dfc70d52ed125951
|
||||
DIST genpatches-6.7-11.base.tar.xz 699832 BLAKE2B 22ff0e1ae4ab7fe8376b06ded03e482860055afb70b74badac3412376fbc7c8d700e226834f4f966cd187bf0a321a7d194e4d7138ec094188fb4b8ac60e3bb6f SHA512 fbc948c6b7f1e8ce5c7eb3cfcd4ec65f93b20453751abbde0d02464db0ca1b8515aaddc0e61308c93f6726a41724c42db17dd23ffe7ac023ff07b42910d0a89f
|
||||
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
|
||||
@ -13,9 +9,7 @@ DIST genpatches-6.7-13.extras.tar.xz 3704 BLAKE2B 3a8af901c0e76fa3fe36d9dea4e8f7
|
||||
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.7.tar.xz 141406528 BLAKE2B cecdbd19905e43e485ab73b352ced18b37f2a138c97a6956cadcda5d3d271001117dc1cf896b166ff019fc7f405f9539e2ed0d6112b0890efb04d182adf4fd0e SHA512 de06de556191614bd9daf077ae239360352a402bab407748e67f1e5108c92fd933e451707840ab22fe0f9976db3d1e1b60ca9d41cf894f015ca09b3f652b74ad
|
||||
DIST patch-6.6.18-xanmod1.xz 1334764 BLAKE2B 85dda24184b390ad3f5d4e20453373958e426d0d236ecc0c1a7bbd6baae529994ecf30902174b3069a135c3e3e42f5c828d94565e0f5b9595355f7d4af719a1f SHA512 be2649448ae207450d45457b2956e25956f5234cf562bcbaf13aa226d5d400f3aa86da4661a610295bcdb6883abeb55400c94d7ed82074e75a793e0833f920c3
|
||||
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.7.6-xanmod1.xz 709612 BLAKE2B e268e22b2063a4dd0505ef14358399c3a3c95153b792dd87c5c7c6c159256b5787abf0d369d71373db00efb51e0e649992c98be6d3b66ce0c34909518a058051 SHA512 dba397e7d39bc11bf0cfc61339743c7273dddcc5ce0a6fbe2fa36a94de0aba1d0ef53759e93ccf9c44fa6b3b533aa12cfb5cd12985a45b6da18eae1b07d9dfbf
|
||||
DIST patch-6.7.7-xanmod1.xz 811740 BLAKE2B 487879dc7b304001af46e8ef184f2ea18e3a02e4c831083641383e69888e2c46637763694d007af556b6ae5a7deea7725f62a18a8b1d278b6c95b1a5b45000a7 SHA512 f22afc1b60c017e1bfe807f5436a8588f141a52d2f03ef2edbd9b5a687337dde6e30661671aad879fe8e1fb6858c907605661d5a4d2442517046a369ce72544c
|
||||
DIST patch-6.7.9-xanmod1.xz 851524 BLAKE2B 09be9e8e16ebf3134b65d41bf8ec0808c8c8fce6c51678dd517e173b88a53bdcfde6daaeae11181d8701dc37ba771e4382bea24a0e6b8d83e59be826bec60fee SHA512 55e5eb797db43f053dad282d415d1e240de006f643a787678caa573d6a38d9c178c72576de84bd2074a45686bb13521dd97349dc3754eea4b12297309361647a
|
||||
|
@ -1,84 +0,0 @@
|
||||
# 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[@]}"
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
# 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[@]}"
|
||||
}
|
@ -1,11 +1,8 @@
|
||||
DIST genpatches-6.6-18.base.tar.xz 1008124 BLAKE2B 90cfa49d54e086a9fbaf20154f427def0097e76ba6ef5a0b41cd0004634a9d8dd5413e53ea80c340716f3d8dca3685e8aed5e7d8180a11b30e2893c084858092 SHA512 0c5c7d3ed4fb6594d075fd853a730023cbb1e2902377d59cc07d6ee0bc934b371d8a522405c63a0f90a8e0742aca4b770eb25311013c062e7484e5d6f33f1fda
|
||||
DIST genpatches-6.6-18.extras.tar.xz 3704 BLAKE2B 9ce8d2ab8cdd70100a0552648053df120ba52c3ae281a6f102e5982550d15d7096eb2efcf9f5f30da17c6f86b2aa75d903f014c7232366699c5d82d493be8415 SHA512 e6aaa51fa7e0d519c5c129f029461d7217ba57cd252dff5203b84f6b0f6fbffbd1c0db8d9a30096623e5d442a5307254a8384a2da7869eb0024cd6546dd48958
|
||||
DIST genpatches-6.6-24.base.tar.xz 1263296 BLAKE2B 16caebdd68cdf1d07c5f0e0429ee0fff5b95408a41bedd55c3e44b53fc242b73998020d781d51bdb35e42b680c4fd3f4cdbc6f5e65977ad099691ac2b25d5fc0 SHA512 f6cf1e79a6d9c4e050602a1bb5a41266129fa3b93250b158fce55a7df5eceb6134950816c055134310fa25f0d878afea11c9bce8950050f8723b1178896adcd5
|
||||
DIST genpatches-6.6-24.extras.tar.xz 3704 BLAKE2B 2908fc01a54469d0b99c12b76e11a67af3251391e5f6cb7125a63d54abb681acd11f54ea26702e964a5785fa1a2557111ab9bea13c4e9a32cf4549c246b34edb SHA512 f72cf8aadaad8cff309a6030e98e29534e86c75665895d53772d3fa783df2939d74e449e1e0adb136349f7e281cc158153380d862cbbf6a3ac4916ef4b8da6e0
|
||||
DIST genpatches-6.6-25.base.tar.xz 1351392 BLAKE2B e1f5df7796f7d50a244c37d2b5e4eecdeb1d46cf25f6dc51567c6abd729aad142266fa430350e7efdd3995c02d6f8cc6ff85429fa7a019f8f9ed1a9ca2fc9b7f SHA512 a548b1552c6e89b0d9736a2d2e282eda7686a0cf781c8d3445d7394ffdabb2c16c69dcaea0341f51780181bf30a58696ea8fa2723f25b12fa6d7cfdc1effa810
|
||||
DIST genpatches-6.6-25.extras.tar.xz 3704 BLAKE2B e7709d6dc9f02a24a5efff213e4357a25777364cce38387b5a12149915017cf229546993de40b4e2aaa6c107b1930f091e5399c14b660d07f3e73a1a6c4f287f SHA512 babba6d4e397a1594d74dac9e588fe87ebc07523ddb5a8e4b23028043534a965d29a728cf7958da90e6544a3e1d0fc29de65542610f5ad513ca7d7edb5a89c5b
|
||||
DIST gentoo-kernel-config-g11.tar.gz 5077 BLAKE2B dc17ded74f79baddd703a78084113b85e7130877b300b5fe60453cde515fe37c52ece7877049bb0ef384f74ecfc73d59d7d4a513f8fef7bf4f651599946383e8 SHA512 e91156765ef2a48396370f884fdecd7bb1d600e5167f6bad51130520f886e9198adae375adf3e40fa803abc5d5482057775fb0275ab2589bd8f94d8af4a03c4e
|
||||
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
||||
DIST patch-6.6.15-rt22-xanmod1.xz 1178024 BLAKE2B ec199e84b3b6ce2b43a442d7d0746502bb8cc6976d2a5a6ef1d9c8d3101d72188543f3f6020d7b64c4e9bc683fd69e42861f873429b079511954336a10f49764 SHA512 4eb00741e2aaf9f7c1f0a6d6f424a4c5864a39abd9d22c3d281011c0af75ee0dbfe56732e5e07ef8ed8dfe8329725080f4ab530473c1b36e0bb93eb03d31e68a
|
||||
DIST patch-6.6.18-rt23-xanmod1.xz 1413496 BLAKE2B 10c94dce67847a756ad5cfaea76bacaf3bbf1a4f328e93a0b806724b3e37be58a07b501883c0ec6cfcbe455b279bf61bee3810b451ebe3d6e22fd9de24a10e3a SHA512 28730f0e711d71b218648c6621551899a32e6132198968d1d6a29e2b83f9d57a53cfb4667b4090698b2c0f8e0dde318271365bccb4fdf48d2248f4be79cb9833
|
||||
DIST patch-6.6.19-rt24-xanmod1.xz 1498320 BLAKE2B 11da29031468319c62d9a52bbd90255fbb88594f45b01f06d1b2808a8141749c4741d9c88aa07d81e1d527677d3d32b4d6c5f28cb527bc11b630f4451e8bb89c SHA512 3b3bf9264d992c2b52df9c57aaf264c5c1ef39e2c4dc2876188a61d606c7085e003e1edb6cfe5e00bb5f711ed55951886f933ebb81225e634e61b012ed0a99ea
|
||||
|
@ -1,109 +0,0 @@
|
||||
# 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%.*}
|
||||
MY_PV="${PV%_p*}"
|
||||
|
||||
GENPATCHES_P=genpatches-${MY_PV%.*}-$(( ${MY_PV##*.} + 3 ))
|
||||
GENTOO_CONFIG_VER=g11
|
||||
|
||||
RT_PATCHSET="${PV/*_p}"
|
||||
|
||||
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-${MY_PV}-rt${RT_PATCHSET}-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"
|
||||
SLOT="${MY_PV}"
|
||||
KEYWORDS="-* ~amd64"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/xanmod-kernel-bin:${SLOT}
|
||||
"
|
||||
BDEPEND="
|
||||
debug? ( dev-util/pahole )
|
||||
"
|
||||
PDEPEND="
|
||||
>=virtual/dist-kernel-${MY_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-${MY_PV}-rt${RT_PATCHSET}-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="-rt${RT_PATCHSET}-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[@]}"
|
||||
}
|
||||
|
||||
# lazy workaround
|
||||
kernel-install_pkg_preinst() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
local dir_ver=${PV}${KV_LOCALVERSION}
|
||||
local kernel_dir=${ED}/usr/src/linux-${dir_ver}
|
||||
local relfile=${kernel_dir}/include/config/kernel.release
|
||||
[[ ! -d ${kernel_dir} ]] &&
|
||||
die "Kernel directory ${kernel_dir} not installed!"
|
||||
[[ ! -f ${relfile} ]] &&
|
||||
die "Release file ${relfile} not installed!"
|
||||
local release
|
||||
release="$(<"${relfile}")" || die
|
||||
|
||||
if [[ -L ${EROOT}/lib && ${EROOT}/lib -ef ${EROOT}/usr/lib ]]; then
|
||||
# Adjust symlinks for merged-usr.
|
||||
rm "${ED}/lib/modules/${release}"/{build,source} || die
|
||||
dosym "../../../src/linux-${dir_ver}" "/usr/lib/modules/${release}/build"
|
||||
dosym "../../../src/linux-${dir_ver}" "/usr/lib/modules/${release}/source"
|
||||
fi
|
||||
}
|
@ -1,10 +1,7 @@
|
||||
DIST genpatches-6.6-18.base.tar.xz 1008124 BLAKE2B 90cfa49d54e086a9fbaf20154f427def0097e76ba6ef5a0b41cd0004634a9d8dd5413e53ea80c340716f3d8dca3685e8aed5e7d8180a11b30e2893c084858092 SHA512 0c5c7d3ed4fb6594d075fd853a730023cbb1e2902377d59cc07d6ee0bc934b371d8a522405c63a0f90a8e0742aca4b770eb25311013c062e7484e5d6f33f1fda
|
||||
DIST genpatches-6.6-18.extras.tar.xz 3704 BLAKE2B 9ce8d2ab8cdd70100a0552648053df120ba52c3ae281a6f102e5982550d15d7096eb2efcf9f5f30da17c6f86b2aa75d903f014c7232366699c5d82d493be8415 SHA512 e6aaa51fa7e0d519c5c129f029461d7217ba57cd252dff5203b84f6b0f6fbffbd1c0db8d9a30096623e5d442a5307254a8384a2da7869eb0024cd6546dd48958
|
||||
DIST genpatches-6.6-24.base.tar.xz 1263296 BLAKE2B 16caebdd68cdf1d07c5f0e0429ee0fff5b95408a41bedd55c3e44b53fc242b73998020d781d51bdb35e42b680c4fd3f4cdbc6f5e65977ad099691ac2b25d5fc0 SHA512 f6cf1e79a6d9c4e050602a1bb5a41266129fa3b93250b158fce55a7df5eceb6134950816c055134310fa25f0d878afea11c9bce8950050f8723b1178896adcd5
|
||||
DIST genpatches-6.6-24.extras.tar.xz 3704 BLAKE2B 2908fc01a54469d0b99c12b76e11a67af3251391e5f6cb7125a63d54abb681acd11f54ea26702e964a5785fa1a2557111ab9bea13c4e9a32cf4549c246b34edb SHA512 f72cf8aadaad8cff309a6030e98e29534e86c75665895d53772d3fa783df2939d74e449e1e0adb136349f7e281cc158153380d862cbbf6a3ac4916ef4b8da6e0
|
||||
DIST genpatches-6.6-25.base.tar.xz 1351392 BLAKE2B e1f5df7796f7d50a244c37d2b5e4eecdeb1d46cf25f6dc51567c6abd729aad142266fa430350e7efdd3995c02d6f8cc6ff85429fa7a019f8f9ed1a9ca2fc9b7f SHA512 a548b1552c6e89b0d9736a2d2e282eda7686a0cf781c8d3445d7394ffdabb2c16c69dcaea0341f51780181bf30a58696ea8fa2723f25b12fa6d7cfdc1effa810
|
||||
DIST genpatches-6.6-25.extras.tar.xz 3704 BLAKE2B e7709d6dc9f02a24a5efff213e4357a25777364cce38387b5a12149915017cf229546993de40b4e2aaa6c107b1930f091e5399c14b660d07f3e73a1a6c4f287f SHA512 babba6d4e397a1594d74dac9e588fe87ebc07523ddb5a8e4b23028043534a965d29a728cf7958da90e6544a3e1d0fc29de65542610f5ad513ca7d7edb5a89c5b
|
||||
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
||||
DIST patch-6.6.15-rt22-xanmod1.xz 1178024 BLAKE2B ec199e84b3b6ce2b43a442d7d0746502bb8cc6976d2a5a6ef1d9c8d3101d72188543f3f6020d7b64c4e9bc683fd69e42861f873429b079511954336a10f49764 SHA512 4eb00741e2aaf9f7c1f0a6d6f424a4c5864a39abd9d22c3d281011c0af75ee0dbfe56732e5e07ef8ed8dfe8329725080f4ab530473c1b36e0bb93eb03d31e68a
|
||||
DIST patch-6.6.18-rt23-xanmod1.xz 1413496 BLAKE2B 10c94dce67847a756ad5cfaea76bacaf3bbf1a4f328e93a0b806724b3e37be58a07b501883c0ec6cfcbe455b279bf61bee3810b451ebe3d6e22fd9de24a10e3a SHA512 28730f0e711d71b218648c6621551899a32e6132198968d1d6a29e2b83f9d57a53cfb4667b4090698b2c0f8e0dde318271365bccb4fdf48d2248f4be79cb9833
|
||||
DIST patch-6.6.19-rt24-xanmod1.xz 1498320 BLAKE2B 11da29031468319c62d9a52bbd90255fbb88594f45b01f06d1b2808a8141749c4741d9c88aa07d81e1d527677d3d32b4d6c5f28cb527bc11b630f4451e8bb89c SHA512 3b3bf9264d992c2b52df9c57aaf264c5c1ef39e2c4dc2876188a61d606c7085e003e1edb6cfe5e00bb5f711ed55951886f933ebb81225e634e61b012ed0a99ea
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
XANMOD_VERSION=1
|
||||
RT_PATCHSET="${PV/*_p}"
|
||||
|
||||
K_WANT_GENPATCHES="base extras"
|
||||
K_GENPATCHES_VER="18"
|
||||
|
||||
ETYPE="sources"
|
||||
K_SECURITY_UNSUPPORTED="1"
|
||||
K_NOSETEXTRAVERSION="1"
|
||||
|
||||
inherit kernel-2
|
||||
detect_version
|
||||
detect_arch
|
||||
|
||||
DESCRIPTION="Full XanMod sources with CONFIG_PREEMPT_RT and 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}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.xz
|
||||
${GENPATCHES_URI}
|
||||
"
|
||||
LICENSE+=" CDDL"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_unpack() {
|
||||
UNIPATCH_STRICTORDER=1
|
||||
UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${OKV}-rt${RT_PATCHSET}-xanmod${XANMOD_VERSION}.xz "
|
||||
UNIPATCH_EXCLUDE="${UNIPATCH_EXCLUDE} 1*_linux-${KV_MAJOR}.${KV_MINOR}.*.patch"
|
||||
kernel-2_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# 627796
|
||||
sed \
|
||||
"s/default PREEMPT_NONE/default PREEMPT_RT/g" \
|
||||
-i "${S}/kernel/Kconfig.preempt" || die "sed failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "MICROCODES"
|
||||
elog "Use xanmod-sources with microcodes"
|
||||
elog "Read https://wiki.gentoo.org/wiki/Intel_microcode"
|
||||
}
|
@ -1,20 +1,14 @@
|
||||
DIST genpatches-6.6-24.base.tar.xz 1263296 BLAKE2B 16caebdd68cdf1d07c5f0e0429ee0fff5b95408a41bedd55c3e44b53fc242b73998020d781d51bdb35e42b680c4fd3f4cdbc6f5e65977ad099691ac2b25d5fc0 SHA512 f6cf1e79a6d9c4e050602a1bb5a41266129fa3b93250b158fce55a7df5eceb6134950816c055134310fa25f0d878afea11c9bce8950050f8723b1178896adcd5
|
||||
DIST genpatches-6.6-24.extras.tar.xz 3704 BLAKE2B 2908fc01a54469d0b99c12b76e11a67af3251391e5f6cb7125a63d54abb681acd11f54ea26702e964a5785fa1a2557111ab9bea13c4e9a32cf4549c246b34edb SHA512 f72cf8aadaad8cff309a6030e98e29534e86c75665895d53772d3fa783df2939d74e449e1e0adb136349f7e281cc158153380d862cbbf6a3ac4916ef4b8da6e0
|
||||
DIST genpatches-6.6-25.base.tar.xz 1351392 BLAKE2B e1f5df7796f7d50a244c37d2b5e4eecdeb1d46cf25f6dc51567c6abd729aad142266fa430350e7efdd3995c02d6f8cc6ff85429fa7a019f8f9ed1a9ca2fc9b7f SHA512 a548b1552c6e89b0d9736a2d2e282eda7686a0cf781c8d3445d7394ffdabb2c16c69dcaea0341f51780181bf30a58696ea8fa2723f25b12fa6d7cfdc1effa810
|
||||
DIST genpatches-6.6-25.extras.tar.xz 3704 BLAKE2B e7709d6dc9f02a24a5efff213e4357a25777364cce38387b5a12149915017cf229546993de40b4e2aaa6c107b1930f091e5399c14b660d07f3e73a1a6c4f287f SHA512 babba6d4e397a1594d74dac9e588fe87ebc07523ddb5a8e4b23028043534a965d29a728cf7958da90e6544a3e1d0fc29de65542610f5ad513ca7d7edb5a89c5b
|
||||
DIST genpatches-6.6-27.base.tar.xz 1392292 BLAKE2B 46e3c354f7c27182c2f97bd20c165fa8bb79317bb136afbbe1e0906cd405e7cbcab1293e724cda38491f0d1cd9e9009146f18ad9b5ecf54526e69aae43fbc9e8 SHA512 363d26f9410e2d526f07c0831d36733999ec284ee01d684ad15aa5856b007a2d2a189ca414358da87a479dcbbea7ae24add9d8019b4c41c8bf1aae7b67a3b490
|
||||
DIST genpatches-6.6-27.extras.tar.xz 3700 BLAKE2B 36a21c970dd2c8f72a4496b9f72faea3e94fba49342e00b7cdfc0ca6d4f3ab14fef161a7d02ad13b1c7db73af3c96b1c145453d0645791b46b34f599b3947582 SHA512 996a1b0a5c625043ececbeacc648f4dd71da2e239482ca515b680b146ba6041feeb0924929b1b2b6ee4f3ecc24c85926e54e28058d9401d4399282151332dfce
|
||||
DIST genpatches-6.7-10.base.tar.xz 599552 BLAKE2B 952e3510f0e76381b0028179599e7bc05e6ad6a36a283abd4664cdc24d81d0ab287d6e1c077f489964608a86f3e7d8f4e2b9246bf01538b9d84cb80704f7474b SHA512 ec30398a92414b83d719b9f805edef1a8796e8b988a7384f75454f930a5a31ba05f1ea6ad1f48b2fb6e6d183450cc5ca10cf5c9f5c6bb3c47de27eda668fb76b
|
||||
DIST genpatches-6.7-10.extras.tar.xz 3704 BLAKE2B a5264482e3081f585475897242e27707a0cb5cc838a17b25bf50632625d0bfe983c889603df6aac1ae2f96466d13ded9783d7d8c118c5cb8d6beea132d436d87 SHA512 5656a2daa02ef9148ca22faf9c4e64dd3c79cc4eea9a99c697b5e8de29550e0743782b60c00f2030fe8a7370931d86cd6bfd37339eb272e6dfc70d52ed125951
|
||||
DIST genpatches-6.7-11.base.tar.xz 699832 BLAKE2B 22ff0e1ae4ab7fe8376b06ded03e482860055afb70b74badac3412376fbc7c8d700e226834f4f966cd187bf0a321a7d194e4d7138ec094188fb4b8ac60e3bb6f SHA512 fbc948c6b7f1e8ce5c7eb3cfcd4ec65f93b20453751abbde0d02464db0ca1b8515aaddc0e61308c93f6726a41724c42db17dd23ffe7ac023ff07b42910d0a89f
|
||||
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.extras.tar.xz 3704 BLAKE2B 3a8af901c0e76fa3fe36d9dea4e8f7d034553c705f608c365cc7d50050b45e5c13b6ff530cd63ffa51054fcc0fa20d9fa45680f24063d73773f1ca407a81e395 SHA512 201a6724e62e6abfe110a6051c5d73e1fcedddba37220916631dcdd470bf3414dd3b6d499058bbf288f8fdc9e87d7a01a667412815521d8489773d17db9a5c67
|
||||
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.6.18-xanmod1.xz 1334764 BLAKE2B 85dda24184b390ad3f5d4e20453373958e426d0d236ecc0c1a7bbd6baae529994ecf30902174b3069a135c3e3e42f5c828d94565e0f5b9595355f7d4af719a1f SHA512 be2649448ae207450d45457b2956e25956f5234cf562bcbaf13aa226d5d400f3aa86da4661a610295bcdb6883abeb55400c94d7ed82074e75a793e0833f920c3
|
||||
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.7.6-xanmod1.xz 709612 BLAKE2B e268e22b2063a4dd0505ef14358399c3a3c95153b792dd87c5c7c6c159256b5787abf0d369d71373db00efb51e0e649992c98be6d3b66ce0c34909518a058051 SHA512 dba397e7d39bc11bf0cfc61339743c7273dddcc5ce0a6fbe2fa36a94de0aba1d0ef53759e93ccf9c44fa6b3b533aa12cfb5cd12985a45b6da18eae1b07d9dfbf
|
||||
DIST patch-6.7.7-xanmod1.xz 811740 BLAKE2B 487879dc7b304001af46e8ef184f2ea18e3a02e4c831083641383e69888e2c46637763694d007af556b6ae5a7deea7725f62a18a8b1d278b6c95b1a5b45000a7 SHA512 f22afc1b60c017e1bfe807f5436a8588f141a52d2f03ef2edbd9b5a687337dde6e30661671aad879fe8e1fb6858c907605661d5a4d2442517046a369ce72544c
|
||||
DIST patch-6.7.9-xanmod1.xz 851524 BLAKE2B 09be9e8e16ebf3134b65d41bf8ec0808c8c8fce6c51678dd517e173b88a53bdcfde6daaeae11181d8701dc37ba771e4382bea24a0e6b8d83e59be826bec60fee SHA512 55e5eb797db43f053dad282d415d1e240de006f643a787678caa573d6a38d9c178c72576de84bd2074a45686bb13521dd97349dc3754eea4b12297309361647a
|
||||
|
@ -1,40 +0,0 @@
|
||||
# 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="24"
|
||||
|
||||
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"
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# 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="10"
|
||||
|
||||
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"
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
# 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}
|
||||
)
|
||||
"
|
@ -1,19 +0,0 @@
|
||||
# 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}
|
||||
)
|
||||
"
|
Loading…
Reference in New Issue
Block a user