sys-kernel/xanmod-kernel: drop 6.6.46, 6.10.5
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
90980e4d92
commit
dffc766fed
@ -2,12 +2,8 @@ DIST genpatches-6.10-10.base.tar.xz 490332 BLAKE2B 6311b976880a1fe3cb902ba6e4d39
|
|||||||
DIST genpatches-6.10-10.extras.tar.xz 4056 BLAKE2B edb14475e8c07f04d54e6953f8518ea631660ffcdaa8797eba19768b3a193df51822d508dd7b360ced634d0045878f77996ba765498bca3bf001d9a4c223fd8a SHA512 a0379c1ecdbb7a8d6f3b3f82db60d5fd7503598ac26c2f11f6f549e360a648053896cb8db235257bfa7bcad251c90c6dc38116e238c0e2447117eab83a42b4d4
|
DIST genpatches-6.10-10.extras.tar.xz 4056 BLAKE2B edb14475e8c07f04d54e6953f8518ea631660ffcdaa8797eba19768b3a193df51822d508dd7b360ced634d0045878f77996ba765498bca3bf001d9a4c223fd8a SHA512 a0379c1ecdbb7a8d6f3b3f82db60d5fd7503598ac26c2f11f6f549e360a648053896cb8db235257bfa7bcad251c90c6dc38116e238c0e2447117eab83a42b4d4
|
||||||
DIST genpatches-6.10-11.base.tar.xz 553020 BLAKE2B 11a958ebd8848d9023a9cdcb877039ba04f72169ad78e47661890d31b73ae7a9fbdec8d12507a1d16eed08ba59f4a6fdc38ed8b6b02d05cb44198dbfcfef31e8 SHA512 3a3c1e5cbee053ab4c9c731bafa723ffcdfc8179e62fdc0eb16469a15abb5fec8ef4ff395305fd4502ea9cab70702e071f6cf9d0397cb185a987e8fbc880123f
|
DIST genpatches-6.10-11.base.tar.xz 553020 BLAKE2B 11a958ebd8848d9023a9cdcb877039ba04f72169ad78e47661890d31b73ae7a9fbdec8d12507a1d16eed08ba59f4a6fdc38ed8b6b02d05cb44198dbfcfef31e8 SHA512 3a3c1e5cbee053ab4c9c731bafa723ffcdfc8179e62fdc0eb16469a15abb5fec8ef4ff395305fd4502ea9cab70702e071f6cf9d0397cb185a987e8fbc880123f
|
||||||
DIST genpatches-6.10-11.extras.tar.xz 4060 BLAKE2B 98d5747be50ef0a270a561f379946213cb32596e01aa6da66a3cdd8a57dbea491af4265b052bc9fb1089e74818e249ac85228bc85aeffa34f8bd18396ceaa18e SHA512 e1ba5f037ae58c9ea4434f60817b53282494c8d25a659a0b6d9b75db384f7706b122bde225640e2028cfc36022a6cb0d1b5711685a4a265c75f3592c278a67f6
|
DIST genpatches-6.10-11.extras.tar.xz 4060 BLAKE2B 98d5747be50ef0a270a561f379946213cb32596e01aa6da66a3cdd8a57dbea491af4265b052bc9fb1089e74818e249ac85228bc85aeffa34f8bd18396ceaa18e SHA512 e1ba5f037ae58c9ea4434f60817b53282494c8d25a659a0b6d9b75db384f7706b122bde225640e2028cfc36022a6cb0d1b5711685a4a265c75f3592c278a67f6
|
||||||
DIST genpatches-6.10-8.base.tar.xz 391536 BLAKE2B 636997da732776bccbfd9dc0543a452bd38a42876bfa46b4ec97034880fab320017de72c50b87ee2e7813d1231babed5b2649e65f603dd65dc4280f119ba94e5 SHA512 f2b23a7a244c8cead4b5644d3c7b34bd1ac890e8822f673a663f44902bcbf85b00ddc3dee25664636f3ccc6893bcc89358fbe7733d89c8b2f681c4e6b6076da2
|
|
||||||
DIST genpatches-6.10-8.extras.tar.xz 4060 BLAKE2B 62f1c87268953d69bc08bb9a601d8b446c31c5d76a50d0c3f67d8048b24e1fa5327fe5ec8cfcad95bc83a39dfe7daec856a23775e9f797241cca30fe8935c13e SHA512 a2925de9fba3d5bfcefa81a01ddc919e8dda835a433b952deb455a1c7065f4272cb26e363408b2fa92ca9b2039fb596a4b99395546b04b3ea96129176f5613e1
|
|
||||||
DIST genpatches-6.10-9.base.tar.xz 401220 BLAKE2B 3335d5d29c347526cea6104b9cca56b8ed8ee0f1de9ee8a6f55d66514df829fcd197b8281b2261f6dfb979276b65bc654d4b1257868b5b80a2411fbd2f076f11 SHA512 9d2319c2b86b80355464d661f675a331a4245405bb84184a4d061649abdeb5955b6ebeaee1cefbe3c669f810c9da645b7fb637af4dcb45cb9b69e715c6e46f1f
|
DIST genpatches-6.10-9.base.tar.xz 401220 BLAKE2B 3335d5d29c347526cea6104b9cca56b8ed8ee0f1de9ee8a6f55d66514df829fcd197b8281b2261f6dfb979276b65bc654d4b1257868b5b80a2411fbd2f076f11 SHA512 9d2319c2b86b80355464d661f675a331a4245405bb84184a4d061649abdeb5955b6ebeaee1cefbe3c669f810c9da645b7fb637af4dcb45cb9b69e715c6e46f1f
|
||||||
DIST genpatches-6.10-9.extras.tar.xz 4056 BLAKE2B 2cba382236beae6374462f6147d6e164314cc8f7d7be87547902153c035b970ada27f4817a6de2d569116118eea0d95d42aa44de2147475c47c732abfedd9952 SHA512 358d82794809d49f4b24bdf10c49cc4fbe8ac0a45f86dfdc018d2c778b757c002d9bd129d935146b84daf809e95f5235fccf7466d2498755154b9c77e5a2b46d
|
DIST genpatches-6.10-9.extras.tar.xz 4056 BLAKE2B 2cba382236beae6374462f6147d6e164314cc8f7d7be87547902153c035b970ada27f4817a6de2d569116118eea0d95d42aa44de2147475c47c732abfedd9952 SHA512 358d82794809d49f4b24bdf10c49cc4fbe8ac0a45f86dfdc018d2c778b757c002d9bd129d935146b84daf809e95f5235fccf7466d2498755154b9c77e5a2b46d
|
||||||
DIST genpatches-6.6-53.base.tar.xz 2894996 BLAKE2B 68c68a4f3ef4ad60204cd06f86a3cb54810427d93ffa55d7cf08265f759cc9d789ade864b19964cb5c5ed0cb48cd8fc309590741bf9a02f97e226a7bff8b80ff SHA512 c328a28a3954b993a82024cda27720ac6667ba48224bd40f08e3d9a197173bdfecaa686fdde2cd96353b7fd38137091eeb6d9889849971d21b21ae91eeb6069f
|
|
||||||
DIST genpatches-6.6-53.extras.tar.xz 4056 BLAKE2B fcc3c11e40145badde05428b03da9323a440357525d6f0f08112dfa6c2c4f170ddbb121f6d38503923eac0c1841ce697d0cca0654784b39b048a40303e8a11ba SHA512 8fe3053597ff48c9f4669faabcb9165e1f64454c2f5993a80a04ad124eb113361369cd2607ee40bdbfc0dcced95ff57381beca9b0ff7982d14dccbf3048144a9
|
|
||||||
DIST genpatches-6.6-54.base.tar.xz 2922380 BLAKE2B f65404127bb6547208aeddac1996a4a2659bd99ff7429bcaff28247a867c000e962457725eab80db2c76297f1e5c27806dc6fb23e31d5694b6df783e65995227 SHA512 102f721f87478ad18599bb5ff65cd236180dd3d9d058786a5306cb36be3f30a2d2ef684e83b6f458d4de78a196323e87d346eba704bfbce733010aed6ac3d7f9
|
DIST genpatches-6.6-54.base.tar.xz 2922380 BLAKE2B f65404127bb6547208aeddac1996a4a2659bd99ff7429bcaff28247a867c000e962457725eab80db2c76297f1e5c27806dc6fb23e31d5694b6df783e65995227 SHA512 102f721f87478ad18599bb5ff65cd236180dd3d9d058786a5306cb36be3f30a2d2ef684e83b6f458d4de78a196323e87d346eba704bfbce733010aed6ac3d7f9
|
||||||
DIST genpatches-6.6-54.extras.tar.xz 4060 BLAKE2B 22ea7d143bfe168bc5d9d30832423bcd33b49c1b3b5ddf031000d7d9fce96f6fa0fb1d06fd33b27a5de9c9f3833a139557f0ed7408ef12b23568784ff38ca7a9 SHA512 1b1a229b5923e7f3426139b17608b5feae6061313f7aea66de23f09a54696def39bf4b384c4e884a3e5c758c08e04dcfe1ab7f2aa331db74b59f5e511c6f2c5b
|
DIST genpatches-6.6-54.extras.tar.xz 4060 BLAKE2B 22ea7d143bfe168bc5d9d30832423bcd33b49c1b3b5ddf031000d7d9fce96f6fa0fb1d06fd33b27a5de9c9f3833a139557f0ed7408ef12b23568784ff38ca7a9 SHA512 1b1a229b5923e7f3426139b17608b5feae6061313f7aea66de23f09a54696def39bf4b384c4e884a3e5c758c08e04dcfe1ab7f2aa331db74b59f5e511c6f2c5b
|
||||||
DIST genpatches-6.6-55.base.tar.xz 3018672 BLAKE2B f5f3e39c634e196827da06935b783cb87c3503998df6b1f3d711484ab984b4a378feee96a45b932b409593290ea7a77271eb39a1e5085e5a4fde3c3307ced95d SHA512 88b2ef56dc0c2e1e7c34a9a81b8981d4c8ab6ba5e5821cbf3da8e608287375f2f0eaff427fae8f47a59cb9fe2c3b8a9d9c569108f27b833a10c6b460dde0bcd7
|
DIST genpatches-6.6-55.base.tar.xz 3018672 BLAKE2B f5f3e39c634e196827da06935b783cb87c3503998df6b1f3d711484ab984b4a378feee96a45b932b409593290ea7a77271eb39a1e5085e5a4fde3c3307ced95d SHA512 88b2ef56dc0c2e1e7c34a9a81b8981d4c8ab6ba5e5821cbf3da8e608287375f2f0eaff427fae8f47a59cb9fe2c3b8a9d9c569108f27b833a10c6b460dde0bcd7
|
||||||
@ -17,11 +13,9 @@ DIST genpatches-6.6-56.extras.tar.xz 4056 BLAKE2B d54da14f3afefdb9aa8c6597913f37
|
|||||||
DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd847c12a45b52d540eb10d85ec0d9deb1c14288d8de12456865c92d16e3523ec3595676787a8f3b79545d76870b0fb68deb5d SHA512 2a7230cce57a67e3333f9a88a311afe4a928e27ce76036747451cb77d3186569ad11d7a5b827748ad53290a17ad63637a8362ca896516f85ff0944a8d68265a6
|
DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd847c12a45b52d540eb10d85ec0d9deb1c14288d8de12456865c92d16e3523ec3595676787a8f3b79545d76870b0fb68deb5d SHA512 2a7230cce57a67e3333f9a88a311afe4a928e27ce76036747451cb77d3186569ad11d7a5b827748ad53290a17ad63637a8362ca896516f85ff0944a8d68265a6
|
||||||
DIST linux-6.10.tar.xz 145142812 BLAKE2B bb243ea7493b9d63aa2df2050a3f1ae2b89ee84a20015239cf157e3f4f51c7ac5efedc8a51132b2d7482f9276ac418de6624831c8a3b806130d9c2d2124c539b SHA512 baa2487954044f991d2ae254d77d14a1f0185dd62c9f0fcaff69f586c9f906823017b8db1c4588f27b076dfa3ebb606929fec859f60ea419e7974330b9289cc2
|
DIST linux-6.10.tar.xz 145142812 BLAKE2B bb243ea7493b9d63aa2df2050a3f1ae2b89ee84a20015239cf157e3f4f51c7ac5efedc8a51132b2d7482f9276ac418de6624831c8a3b806130d9c2d2124c539b SHA512 baa2487954044f991d2ae254d77d14a1f0185dd62c9f0fcaff69f586c9f906823017b8db1c4588f27b076dfa3ebb606929fec859f60ea419e7974330b9289cc2
|
||||||
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
DIST linux-6.6.tar.xz 140064536 BLAKE2B 5f02fd8696d42f7ec8c5fbadec8e7270bdcfcb1f9844a6c4db3e1fd461c93ce1ccda650ca72dceb4890ebcbbf768ba8fba0bce91efc49fbd2c307b04e95665f2 SHA512 458b2c34d46206f9b4ccbac54cc57aeca1eaecaf831bc441e59701bac6eadffc17f6ce24af6eadd0454964e843186539ac0d63295ad2cc32d112b60360c39a35
|
||||||
DIST patch-6.10.5-xanmod1.xz 505520 BLAKE2B 65ff24b174926a0754f836fd723bb513338b21715f9fa373c100bd1139302f88a50591b2ce8afb0488a0539aa9b5e2d72fb2bbbbf994d17a7e47476785ac44d3 SHA512 5f0a1a5a3eb56428c628c036e8a46c0aed8ff6367b847be5490dc624a6b314552b32ddf1fb2056015af14261eaed498bc2b0d099ac729281bb609e2a463cbf54
|
|
||||||
DIST patch-6.10.6-xanmod1.xz 510924 BLAKE2B 40e7adcfb77c11f975e6959d889ffa216b87d0abfcb6673ef33f0809b6e242c3f6e9124485109003c9502d6962ad3124468491882c1136bce090d0e37f8e2d5d SHA512 6eed6075fced17ac4b977cf38892ecf3e7675c872bb6ec09d8bf7fe77d210540ed9b45af924765a5d698c19f31f469563850500d8b9e53c3ea45bd721b411acb
|
DIST patch-6.10.6-xanmod1.xz 510924 BLAKE2B 40e7adcfb77c11f975e6959d889ffa216b87d0abfcb6673ef33f0809b6e242c3f6e9124485109003c9502d6962ad3124468491882c1136bce090d0e37f8e2d5d SHA512 6eed6075fced17ac4b977cf38892ecf3e7675c872bb6ec09d8bf7fe77d210540ed9b45af924765a5d698c19f31f469563850500d8b9e53c3ea45bd721b411acb
|
||||||
DIST patch-6.10.7-xanmod1.xz 594912 BLAKE2B 8b8da5987205343cd85156991cdc55a080701fbd6b198dc25ce5b43c060cb1eb971791905ea1cde2425683d11316620863b89f89497c7f6a683ac856d8ff1620 SHA512 b9b4fad8b3937c6e131fae5d214faff8262702d9b501ef43b6a4c18b02a1e9da290aee1aa95cadf3a69ddf292010bedca234b6e83c8ab1de9e5322688ef24948
|
DIST patch-6.10.7-xanmod1.xz 594912 BLAKE2B 8b8da5987205343cd85156991cdc55a080701fbd6b198dc25ce5b43c060cb1eb971791905ea1cde2425683d11316620863b89f89497c7f6a683ac856d8ff1620 SHA512 b9b4fad8b3937c6e131fae5d214faff8262702d9b501ef43b6a4c18b02a1e9da290aee1aa95cadf3a69ddf292010bedca234b6e83c8ab1de9e5322688ef24948
|
||||||
DIST patch-6.10.8-xanmod1.xz 637580 BLAKE2B 3c5d4ab462e46308b5ca0d4b0760c7edb140cc99f66e1e8120414247c4a5d42dee390db1f838d431ade2696619534adc919a9bb001a1baeac43aed97fdb32a10 SHA512 795b88c96cda6632083996a8d18617b0345227d8f0feb1a9951c33dd092ee7f093c89034cf8fc471a2a2128fc7824df614351c699949bd5f51a947f24939ff29
|
DIST patch-6.10.8-xanmod1.xz 637580 BLAKE2B 3c5d4ab462e46308b5ca0d4b0760c7edb140cc99f66e1e8120414247c4a5d42dee390db1f838d431ade2696619534adc919a9bb001a1baeac43aed97fdb32a10 SHA512 795b88c96cda6632083996a8d18617b0345227d8f0feb1a9951c33dd092ee7f093c89034cf8fc471a2a2128fc7824df614351c699949bd5f51a947f24939ff29
|
||||||
DIST patch-6.6.46-xanmod1.xz 2756124 BLAKE2B 3329277a41b7cc55c6104f3ba22a2ffad37f3ff4443124f53ea00950ee562fb8cbb319921f0a586080147e60d18988101663bba5826d4b5dafd7a840354fb81d SHA512 c343694468dfafffdf50d480b05eda7fe6833dab532801aab31e3ad314a7b610de460869aa7a0cc083ce89d925a50eb0176fc676b58822733f2b4cee5ebbd47b
|
|
||||||
DIST patch-6.6.47-xanmod1.xz 2779912 BLAKE2B 5162c70141ed7a66a57ad919e3877cf8a356c35aa855eefc2c886c8043884592618fd93f832e04436e5713f67460a3f2408e645d0bc6df201f1bffdd115eb4d2 SHA512 faa255e37c9fded03ecc96c33d0fb8c29ccc0e1bb75f5d1d34bff6f6dfa610341f059928ae806a70c3a38dfc81b3f831e78fbe4742e5294182540dd2b08cab0f
|
DIST patch-6.6.47-xanmod1.xz 2779912 BLAKE2B 5162c70141ed7a66a57ad919e3877cf8a356c35aa855eefc2c886c8043884592618fd93f832e04436e5713f67460a3f2408e645d0bc6df201f1bffdd115eb4d2 SHA512 faa255e37c9fded03ecc96c33d0fb8c29ccc0e1bb75f5d1d34bff6f6dfa610341f059928ae806a70c3a38dfc81b3f831e78fbe4742e5294182540dd2b08cab0f
|
||||||
DIST patch-6.6.48-xanmod1.xz 2858992 BLAKE2B 28b8c04aeea5b2efa54d58a1796b2ec28134033a22fec530224ad06d76dcc9da8b77ded8b6ccce3c87928a90e0db757a6cdf9714df8aac7db89628d32f057cc3 SHA512 8716dab696bcab7616769b2fd8d9bb5d085a228809a0b805f0584796c8d512bf0821bd6890423ecc7ef0d7089d52154480d97a5c5214e81227365b5153420727
|
DIST patch-6.6.48-xanmod1.xz 2858992 BLAKE2B 28b8c04aeea5b2efa54d58a1796b2ec28134033a22fec530224ad06d76dcc9da8b77ded8b6ccce3c87928a90e0db757a6cdf9714df8aac7db89628d32f057cc3 SHA512 8716dab696bcab7616769b2fd8d9bb5d085a228809a0b805f0584796c8d512bf0821bd6890423ecc7ef0d7089d52154480d97a5c5214e81227365b5153420727
|
||||||
DIST patch-6.6.49-xanmod1.xz 2874920 BLAKE2B 57f2ec849dc515b7adf9c43b933b1b34175183a173fc7042c483b162ff9d024e23e3b74e00d860eee29706e5c6123925b22281810d2fee48922ddede535efcd8 SHA512 fa0f90f4bab23654642a412cae4a02544768b5ec11e838c534e08f8a098d595cae0e7db42730263356520916426d9b3df4e567fb50fbc0ba576b6460ccb89fb9
|
DIST patch-6.6.49-xanmod1.xz 2874920 BLAKE2B 57f2ec849dc515b7adf9c43b933b1b34175183a173fc7042c483b162ff9d024e23e3b74e00d860eee29706e5c6123925b22281810d2fee48922ddede535efcd8 SHA512 fa0f90f4bab23654642a412cae4a02544768b5ec11e838c534e08f8a098d595cae0e7db42730263356520916426d9b3df4e567fb50fbc0ba576b6460ccb89fb9
|
||||||
|
@ -1,88 +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##*.} + 3 ))
|
|
||||||
GENTOO_CONFIG_VER=g13
|
|
||||||
|
|
||||||
XANMOD_VERSION="1"
|
|
||||||
|
|
||||||
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://downloads.sourceforge.net/xanmod/patch-${PV}-xanmod${XANMOD_VERSION}.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}-xanmod${XANMOD_VERSION}
|
|
||||||
"${WORKDIR}"/*.patch
|
|
||||||
)
|
|
||||||
default
|
|
||||||
|
|
||||||
# prepare the default config
|
|
||||||
case ${ARCH} in
|
|
||||||
amd64)
|
|
||||||
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v2" .config || die
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
die "Unsupported arch ${ARCH}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
rm "${S}/localversion" || die
|
|
||||||
local myversion="-xanmod${XANMOD_VERSION}-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
|
|
||||||
"${FILESDIR}"/x86-64-v1.config # keep v1 for simplicity, distribution kernels support user modification.
|
|
||||||
)
|
|
||||||
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,87 +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##*.} + 7 ))
|
|
||||||
GENTOO_CONFIG_VER=g13
|
|
||||||
|
|
||||||
XANMOD_VERSION="1"
|
|
||||||
|
|
||||||
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://downloads.sourceforge.net/xanmod/patch-${PV}-xanmod${XANMOD_VERSION}.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}-xanmod${XANMOD_VERSION}
|
|
||||||
"${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="-xanmod${XANMOD_VERSION}-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[@]}"
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user