sys-kernel/xanmod-kernel: drop 6.6.49, 6.10.8
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
02fac8683c
commit
e3be46c480
@ -1,5 +1,3 @@
|
|||||||
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-12.base.tar.xz 602316 BLAKE2B 6cd02be7fbe2322d246e826d04236dba2ec5b40acc9c8575fd7a5d0d745cd0629778176e97db920ea198e939d332407d9dfa2f369ea4e075be05197a1ba7ef8a SHA512 595e302e05256994ad0077f41c6d6c3677eeb64a7cd1b11c823c689822d4d257bdd8b722b22542fc779e777ffc28f782f7bf69e8a0bb6ec3f3d2b111aaa789fb
|
DIST genpatches-6.10-12.base.tar.xz 602316 BLAKE2B 6cd02be7fbe2322d246e826d04236dba2ec5b40acc9c8575fd7a5d0d745cd0629778176e97db920ea198e939d332407d9dfa2f369ea4e075be05197a1ba7ef8a SHA512 595e302e05256994ad0077f41c6d6c3677eeb64a7cd1b11c823c689822d4d257bdd8b722b22542fc779e777ffc28f782f7bf69e8a0bb6ec3f3d2b111aaa789fb
|
||||||
DIST genpatches-6.10-12.extras.tar.xz 4060 BLAKE2B 77b8b8cc0ed8af03ca45e1224e6de1f14d59682aeb411488e4c5eb6f9f4252a50ae442d60eeba496491c62013c7f1cb7af9f7e40622e1f48de7f0b85c4686c28 SHA512 95cf8c15fab7ea99e7c55166d445494d85cf843d9bc32e3055789ac20d725b52687d1077890c22aa39719a9d0fc7745b0d3346d014077171b1009a3a353f04f0
|
DIST genpatches-6.10-12.extras.tar.xz 4060 BLAKE2B 77b8b8cc0ed8af03ca45e1224e6de1f14d59682aeb411488e4c5eb6f9f4252a50ae442d60eeba496491c62013c7f1cb7af9f7e40622e1f48de7f0b85c4686c28 SHA512 95cf8c15fab7ea99e7c55166d445494d85cf843d9bc32e3055789ac20d725b52687d1077890c22aa39719a9d0fc7745b0d3346d014077171b1009a3a353f04f0
|
||||||
DIST genpatches-6.10-13.base.tar.xz 727116 BLAKE2B 5125f8971fee0c7f78d28a555932e20ce80a260f09f3228b53e6a9e3923a809d7e812df8b32eb9ed74da3bb4b2762dcaf63d921f78ea5ea39c8f7a5796a25a31 SHA512 e0f124f613c18e9c3623887b90dee5dd30d2acee7271599e226cf9dc5a184f9ef06ddb536bd4fb20017c993fe203d9c9696a7e441caf5de2831552754b04192b
|
DIST genpatches-6.10-13.base.tar.xz 727116 BLAKE2B 5125f8971fee0c7f78d28a555932e20ce80a260f09f3228b53e6a9e3923a809d7e812df8b32eb9ed74da3bb4b2762dcaf63d921f78ea5ea39c8f7a5796a25a31 SHA512 e0f124f613c18e9c3623887b90dee5dd30d2acee7271599e226cf9dc5a184f9ef06ddb536bd4fb20017c993fe203d9c9696a7e441caf5de2831552754b04192b
|
||||||
@ -8,8 +6,6 @@ DIST genpatches-6.10-14.base.tar.xz 759584 BLAKE2B d08dc14d5126e73155a6b1977ce2b
|
|||||||
DIST genpatches-6.10-14.extras.tar.xz 4056 BLAKE2B 63d33a29efc77a7839f4961de62c54f2383bcc7a119fce5ca7f80cdb66515537bb1e1bd55bb50f297b8f0a9c74f75bb237ee2893a859abe6d7f05864ae21e38b SHA512 c9adea40fdfd3faa5ee24a60be9ad4444819a8fbcb417ea98ce2f7a02fdd1e70c6f1168380cf6efd5a4d1820bea14db48c3064b271afaad8e1d23f0a8263a48f
|
DIST genpatches-6.10-14.extras.tar.xz 4056 BLAKE2B 63d33a29efc77a7839f4961de62c54f2383bcc7a119fce5ca7f80cdb66515537bb1e1bd55bb50f297b8f0a9c74f75bb237ee2893a859abe6d7f05864ae21e38b SHA512 c9adea40fdfd3faa5ee24a60be9ad4444819a8fbcb417ea98ce2f7a02fdd1e70c6f1168380cf6efd5a4d1820bea14db48c3064b271afaad8e1d23f0a8263a48f
|
||||||
DIST genpatches-6.11-1.base.tar.xz 5964 BLAKE2B 8be1c3247179ca906348591dff7b8801d57e1bbf6f4e10e60f4ee406adaa1e128ca773b03dda4441fd41e8a501f3593f3bc4abb6572ef14921844fa7adf13b13 SHA512 bbc003883c60a188537d30fc7fcb20074a1e2ce68aa36feda986e820a817212f3104cfbb891a9692507b1a59d6121a2bb5ef3925d9cfe5f73ccef652ef60d91d
|
DIST genpatches-6.11-1.base.tar.xz 5964 BLAKE2B 8be1c3247179ca906348591dff7b8801d57e1bbf6f4e10e60f4ee406adaa1e128ca773b03dda4441fd41e8a501f3593f3bc4abb6572ef14921844fa7adf13b13 SHA512 bbc003883c60a188537d30fc7fcb20074a1e2ce68aa36feda986e820a817212f3104cfbb891a9692507b1a59d6121a2bb5ef3925d9cfe5f73ccef652ef60d91d
|
||||||
DIST genpatches-6.11-1.extras.tar.xz 4056 BLAKE2B e983a357142a10c6f73f73c0be8f8fc2612a2a3e0e113cc39c5b129eaba7a793d49e5817a3d9e8c5cf64bc6c1b6884fbac419f89810dbb8ae6244b49094aa9d2 SHA512 6cfb2e6d763bafd379299541a67028d6c73e0687746e373bc85f7677e9bb49d6f0a85091e216fe2ffa0e00b253c32a61dd2c4b8e800b33b9410c908fa37b8518
|
DIST genpatches-6.11-1.extras.tar.xz 4056 BLAKE2B e983a357142a10c6f73f73c0be8f8fc2612a2a3e0e113cc39c5b129eaba7a793d49e5817a3d9e8c5cf64bc6c1b6884fbac419f89810dbb8ae6244b49094aa9d2 SHA512 6cfb2e6d763bafd379299541a67028d6c73e0687746e373bc85f7677e9bb49d6f0a85091e216fe2ffa0e00b253c32a61dd2c4b8e800b33b9410c908fa37b8518
|
||||||
DIST genpatches-6.6-56.base.tar.xz 3040548 BLAKE2B 751529aa9bdd2aa696fb367cc2afdd4def0783640c847d65d836dadc74531e5fbd5595ec4aa1f89fa62004d9437dab57adc92b64444b5ed3299a3ae6884b86c3 SHA512 a9e08b3eb6fc9c2b595a8ab6a6933349172655da0126cac6498d0c541bd2d6e1377b849041f03af519927219c17b618ac622f45ca931bd0770bee63c64023a26
|
|
||||||
DIST genpatches-6.6-56.extras.tar.xz 4056 BLAKE2B d54da14f3afefdb9aa8c6597913f37c5d1314e4a93216608bee52a52bcc05924bfadf2d5e7e49b0488159b0a57942f1579a4e7b3fcdc90a78c10e0efffb6a1ed SHA512 ba961d5434222ecd618cb44b08ec6413d98c1d1958af2712065d924370141f789ebb315dc53a5bdbb75d3cbe86cf719983e66a58d537eb78455eda509689aa73
|
|
||||||
DIST genpatches-6.6-57.base.tar.xz 3079200 BLAKE2B d0f16f9b2f09f182c02fdb6cfa4b76f3d9d41f22b149d50faff129daa677b97830128a40c8c2f98b2534b722865b49b8a60b5f205b7d3284ef94a67946a4b460 SHA512 c6d16e6d814d363f0e34f3e7d569757f787340889f395ef9b3a273582a3d72d60b692e872764e5f411ac9a8648d886c9f6522342c238a421e423b2cd0e6b40fa
|
DIST genpatches-6.6-57.base.tar.xz 3079200 BLAKE2B d0f16f9b2f09f182c02fdb6cfa4b76f3d9d41f22b149d50faff129daa677b97830128a40c8c2f98b2534b722865b49b8a60b5f205b7d3284ef94a67946a4b460 SHA512 c6d16e6d814d363f0e34f3e7d569757f787340889f395ef9b3a273582a3d72d60b692e872764e5f411ac9a8648d886c9f6522342c238a421e423b2cd0e6b40fa
|
||||||
DIST genpatches-6.6-57.extras.tar.xz 4056 BLAKE2B 9b071880383921fcc8cd2da092e1219e3b40684e6ffd04bd2ab75fd53624cdcb7289f1c40ae9256e0343bbea92393c153724ee628e8d164596ba4d7f8bb413df SHA512 a61cbf855e718ca7afed0b15614ad2e9bea740412e8251b35417d10f4b936364cc3820951acc45be2b18cba635cd1c43da8caeb4ac315747d02201be39148c8b
|
DIST genpatches-6.6-57.extras.tar.xz 4056 BLAKE2B 9b071880383921fcc8cd2da092e1219e3b40684e6ffd04bd2ab75fd53624cdcb7289f1c40ae9256e0343bbea92393c153724ee628e8d164596ba4d7f8bb413df SHA512 a61cbf855e718ca7afed0b15614ad2e9bea740412e8251b35417d10f4b936364cc3820951acc45be2b18cba635cd1c43da8caeb4ac315747d02201be39148c8b
|
||||||
DIST genpatches-6.6-58.base.tar.xz 3154204 BLAKE2B 5b9456e93cb0984599e065fab0d05e40b7efbc8079763ede75ed7a6e7f0e241de96f0c6438cde52f64a5074f5bfcc5d55b5d3c21a9e9528138ea5c36e164ea58 SHA512 e775ac64564c201c3e1293d34a70f347a5afd5691a006d958f69959d2eea0af690cf66f7bdd450034ef9eb43daeccbedd58819dc688cd3e7e9933da9312cbf75
|
DIST genpatches-6.6-58.base.tar.xz 3154204 BLAKE2B 5b9456e93cb0984599e065fab0d05e40b7efbc8079763ede75ed7a6e7f0e241de96f0c6438cde52f64a5074f5bfcc5d55b5d3c21a9e9528138ea5c36e164ea58 SHA512 e775ac64564c201c3e1293d34a70f347a5afd5691a006d958f69959d2eea0af690cf66f7bdd450034ef9eb43daeccbedd58819dc688cd3e7e9933da9312cbf75
|
||||||
@ -22,10 +18,8 @@ DIST linux-6.11.tar.xz 146900704 BLAKE2B e7750c0878d71a56a0ce52d4c4c912199dad5bf
|
|||||||
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.10-xanmod1.xz 803212 BLAKE2B 4dc879f893e67727b0ca13209273cb41c6dd93e86d0c8ce5cc6a38716b94d069c1c3318870997426004891a96378aa07d63598ca03c0da76a90a5976eb8b25fc SHA512 34f6ba42d15f8f3319b8cfee07560f0654b1470428eee003727c8e22225bf9215c27d9a41f78425299264532e33e0b09462373649f0ffb386467c3097032af42
|
DIST patch-6.10.10-xanmod1.xz 803212 BLAKE2B 4dc879f893e67727b0ca13209273cb41c6dd93e86d0c8ce5cc6a38716b94d069c1c3318870997426004891a96378aa07d63598ca03c0da76a90a5976eb8b25fc SHA512 34f6ba42d15f8f3319b8cfee07560f0654b1470428eee003727c8e22225bf9215c27d9a41f78425299264532e33e0b09462373649f0ffb386467c3097032af42
|
||||||
DIST patch-6.10.11-xanmod1.xz 832544 BLAKE2B 22901777267830d36e6bf6920b671977b1d51720255e8ab39702d7984fbae16fab231367201b3bc6f3522d916752f7749d19d0d7421631318dd11a381fac5868 SHA512 b1b023c5b05a0b1950ee315c6e29e3edc95806876e2f0e654619802ad0be3acfb53ac1071a734a47b5ce6cb6a0b9301568c1d365eb89dbee24a0366ef0ea8b83
|
DIST patch-6.10.11-xanmod1.xz 832544 BLAKE2B 22901777267830d36e6bf6920b671977b1d51720255e8ab39702d7984fbae16fab231367201b3bc6f3522d916752f7749d19d0d7421631318dd11a381fac5868 SHA512 b1b023c5b05a0b1950ee315c6e29e3edc95806876e2f0e654619802ad0be3acfb53ac1071a734a47b5ce6cb6a0b9301568c1d365eb89dbee24a0366ef0ea8b83
|
||||||
DIST patch-6.10.8-xanmod1.xz 637580 BLAKE2B 3c5d4ab462e46308b5ca0d4b0760c7edb140cc99f66e1e8120414247c4a5d42dee390db1f838d431ade2696619534adc919a9bb001a1baeac43aed97fdb32a10 SHA512 795b88c96cda6632083996a8d18617b0345227d8f0feb1a9951c33dd092ee7f093c89034cf8fc471a2a2128fc7824df614351c699949bd5f51a947f24939ff29
|
|
||||||
DIST patch-6.10.9-xanmod1.xz 683468 BLAKE2B f858033a4a612b4bb7a0a31ec7aba11c415ec6e7cb1e5ce2357ec723c43c87f01de28b1cc674fc521a8a6c96b038bfd80747022ed7bd421ee95ccac30d9ac8bf SHA512 f3734b48733e68750cd880175b1aa404192491e29f86805275f5f0ed0cbc7eff3cf47226b533ccecd76ead4f6318fc3501a91cc29d1593cd8fe8f7dee6b54a1f
|
DIST patch-6.10.9-xanmod1.xz 683468 BLAKE2B f858033a4a612b4bb7a0a31ec7aba11c415ec6e7cb1e5ce2357ec723c43c87f01de28b1cc674fc521a8a6c96b038bfd80747022ed7bd421ee95ccac30d9ac8bf SHA512 f3734b48733e68750cd880175b1aa404192491e29f86805275f5f0ed0cbc7eff3cf47226b533ccecd76ead4f6318fc3501a91cc29d1593cd8fe8f7dee6b54a1f
|
||||||
DIST patch-6.11.0-xanmod1.xz 143036 BLAKE2B cee881362d9085a53e239cac571b5b50bbee610260635f3ddec71d18d4ceb4cc9240754a467730ea39646c1d787b1101b878b380fd9dc7010e04cd912eae1a87 SHA512 7989a36833a60ef31d092890a33905ad33c2b58b655fe230418f951c6ab59ab3c362937701e8de5cb50dd97a80fc493aa8791abb4a24bdf4d052e6bbe3e49bc1
|
DIST patch-6.11.0-xanmod1.xz 143036 BLAKE2B cee881362d9085a53e239cac571b5b50bbee610260635f3ddec71d18d4ceb4cc9240754a467730ea39646c1d787b1101b878b380fd9dc7010e04cd912eae1a87 SHA512 7989a36833a60ef31d092890a33905ad33c2b58b655fe230418f951c6ab59ab3c362937701e8de5cb50dd97a80fc493aa8791abb4a24bdf4d052e6bbe3e49bc1
|
||||||
DIST patch-6.6.49-xanmod1.xz 2874920 BLAKE2B 57f2ec849dc515b7adf9c43b933b1b34175183a173fc7042c483b162ff9d024e23e3b74e00d860eee29706e5c6123925b22281810d2fee48922ddede535efcd8 SHA512 fa0f90f4bab23654642a412cae4a02544768b5ec11e838c534e08f8a098d595cae0e7db42730263356520916426d9b3df4e567fb50fbc0ba576b6460ccb89fb9
|
|
||||||
DIST patch-6.6.50-xanmod1.xz 2907580 BLAKE2B 3bb60205a08400a4713bab32dda17aed40e468462e4b4ed6c69b2a71ea8d2d09b4a6556ea6826fc9aebd442e64163b13c43ec99bdb452d1ee2eeb5dbd25dc0eb SHA512 7e055006b24197be51657b069f58c2f9fce873343117cfdb48a7e1debc67eae263e3af1232608e1bb1fd80de8275989ef45081d1b3151e2f28113273d8b3461a
|
DIST patch-6.6.50-xanmod1.xz 2907580 BLAKE2B 3bb60205a08400a4713bab32dda17aed40e468462e4b4ed6c69b2a71ea8d2d09b4a6556ea6826fc9aebd442e64163b13c43ec99bdb452d1ee2eeb5dbd25dc0eb SHA512 7e055006b24197be51657b069f58c2f9fce873343117cfdb48a7e1debc67eae263e3af1232608e1bb1fd80de8275989ef45081d1b3151e2f28113273d8b3461a
|
||||||
DIST patch-6.6.51-xanmod1.xz 2968548 BLAKE2B 2f20589cf44d0ae515200505c441f6572900ba5bff8e68e31064f00e40f57f2fe543b3be505fa41b93bb13c335c8ca44d4ccb347559a7c79f757db2118c11514 SHA512 fa645c7a1b9d04da27621b7f5952d500d23b2ff49af15fa19cf6946853f7e087b1a4ed38ac977a5aaae45810fabad9442f1ee82214438b4aadfe606bca0f0c85
|
DIST patch-6.6.51-xanmod1.xz 2968548 BLAKE2B 2f20589cf44d0ae515200505c441f6572900ba5bff8e68e31064f00e40f57f2fe543b3be505fa41b93bb13c335c8ca44d4ccb347559a7c79f757db2118c11514 SHA512 fa645c7a1b9d04da27621b7f5952d500d23b2ff49af15fa19cf6946853f7e087b1a4ed38ac977a5aaae45810fabad9442f1ee82214438b4aadfe606bca0f0c85
|
||||||
DIST patch-6.6.52-xanmod1.xz 2985336 BLAKE2B 6b62429471f2df2f973557412b99c897cd98eb42c850ba1d900095b3ed8c3ebbb9d9a2ce4587e1f7714ae0e277f97b28787da71b14a2d9fe04f8bc5c720930f3 SHA512 c43513c42fce3f39e4616147ee3b5dfc7bc5a2ba21f5c142351860e1dccb75695e9181064b41f213041d72dbfccdcf7ef9241a20826863bdec86700ae7032304
|
DIST patch-6.6.52-xanmod1.xz 2985336 BLAKE2B 6b62429471f2df2f973557412b99c897cd98eb42c850ba1d900095b3ed8c3ebbb9d9a2ce4587e1f7714ae0e277f97b28787da71b14a2d9fe04f8bc5c720930f3 SHA512 c43513c42fce3f39e4616147ee3b5dfc7bc5a2ba21f5c142351860e1dccb75695e9181064b41f213041d72dbfccdcf7ef9241a20826863bdec86700ae7032304
|
||||||
|
@ -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