sys-kernel/xanmod-kernel: drop 6.6.54, 6.11.2

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-10-24 23:54:18 +03:00
parent 620ec23db6
commit 223d0b4728
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
3 changed files with 0 additions and 181 deletions

View File

@ -1,13 +1,9 @@
DIST genpatches-6.11-3.base.tar.xz 252308 BLAKE2B 4a410ef58fdaa2a24da1fef194cdc4db9c62c84fe8c02339c959cb0b4d679accfd9db2b013429b8a04ddc3248fc36d56004b7171d01df51376779906a2940803 SHA512 41e62846295d08672bf8d0a4b704c5578a7e4eb10712afe8757dab079730dba5a4a2e74f18e7c29cd4f971747bff5a595da707254c85b2070a2ec137a0374a56
DIST genpatches-6.11-3.extras.tar.xz 4056 BLAKE2B 84e6bfed32549a2ee5752164a91cb4d01bb0ed4574af608a3a94fc7e78cc951398eb6404750b55368378c242286401382e8f2586d3a770bb6809bb92db085bf8 SHA512 a06ced9cdae186fed615fd42c70428ff025328800c15a1c52848fc4a52a456eb9d9c1158480269ca745eed03a8b91bb533867b46252d43b0a37673531c5b53bb
DIST genpatches-6.11-4.base.tar.xz 429820 BLAKE2B 402166e1e2be81943dd191390608e1fed640c402c645b8a50784e9744aec0c5232ec3aa7b0a8c14a30936a98d415b768796ff8182ca23939c4469eb60165f81b SHA512 1654b813036688a97b514705fc43955930f080a2d0068a967d67d80587257270851f754ed4b7d98098e8ff0aadf1bea9ae025026b4a4848210b44d58b5041ed4 DIST genpatches-6.11-4.base.tar.xz 429820 BLAKE2B 402166e1e2be81943dd191390608e1fed640c402c645b8a50784e9744aec0c5232ec3aa7b0a8c14a30936a98d415b768796ff8182ca23939c4469eb60165f81b SHA512 1654b813036688a97b514705fc43955930f080a2d0068a967d67d80587257270851f754ed4b7d98098e8ff0aadf1bea9ae025026b4a4848210b44d58b5041ed4
DIST genpatches-6.11-4.extras.tar.xz 4060 BLAKE2B 90d2186c2aaf39cea7c5152196fdc6401350a2ec69e84ee0975449f296b9625260bd69c4660ac1e2dba5e912d2f6f1fe15e05dd639a5ac615aff65ca58ea1d5f SHA512 6fd9adca80bf0600a7c3701eedefed15b4429211ecd925bc9f8f7a07c8997f5e1fdc178c44c53a9c97ba4c568449a9b015b01a1eea1330d21160b114767d4fc8 DIST genpatches-6.11-4.extras.tar.xz 4060 BLAKE2B 90d2186c2aaf39cea7c5152196fdc6401350a2ec69e84ee0975449f296b9625260bd69c4660ac1e2dba5e912d2f6f1fe15e05dd639a5ac615aff65ca58ea1d5f SHA512 6fd9adca80bf0600a7c3701eedefed15b4429211ecd925bc9f8f7a07c8997f5e1fdc178c44c53a9c97ba4c568449a9b015b01a1eea1330d21160b114767d4fc8
DIST genpatches-6.11-5.base.tar.xz 531212 BLAKE2B c9e98632ebd2e74f59dfee66d13f9e4cb515d87fd5f6db946aa577e6fab49251b6d374cb1cafb66b2139a8b75c683ed58557745c8f17e18b14f7bbb417579fcb SHA512 a53eab3075e55c7a7ab82f99fa853f08b054ed0fc95d9008b17b5571e370ffaa53b87662bacec8a4f5309309e89df1282f6b5747df595c8617fdde74c1222cfb DIST genpatches-6.11-5.base.tar.xz 531212 BLAKE2B c9e98632ebd2e74f59dfee66d13f9e4cb515d87fd5f6db946aa577e6fab49251b6d374cb1cafb66b2139a8b75c683ed58557745c8f17e18b14f7bbb417579fcb SHA512 a53eab3075e55c7a7ab82f99fa853f08b054ed0fc95d9008b17b5571e370ffaa53b87662bacec8a4f5309309e89df1282f6b5747df595c8617fdde74c1222cfb
DIST genpatches-6.11-5.extras.tar.xz 4056 BLAKE2B a09e9802239237005410082eb6c4294a13cb3d415be4bd83aaea52ff37f472d4ab743fda02c8cff76a12e232044a91fe2ba83e0e46055edf28a5f473cf7f863c SHA512 3556b2f09e4f9e328bb04fb1e40b26038ef98864741b517f222c98fbb75975b34ce5d091df571f4e65b707fc8a74eb395f687a20f9f8ea0d617c4c8ccf8fa288 DIST genpatches-6.11-5.extras.tar.xz 4056 BLAKE2B a09e9802239237005410082eb6c4294a13cb3d415be4bd83aaea52ff37f472d4ab743fda02c8cff76a12e232044a91fe2ba83e0e46055edf28a5f473cf7f863c SHA512 3556b2f09e4f9e328bb04fb1e40b26038ef98864741b517f222c98fbb75975b34ce5d091df571f4e65b707fc8a74eb395f687a20f9f8ea0d617c4c8ccf8fa288
DIST genpatches-6.11-6.base.tar.xz 561884 BLAKE2B 8fd4ee418b02f2dad7e8599477d03dc56b7e3ab8752d9e73bec91e9f7e01d1615aaf4d14b1091314bd82a15ff443b16d3cb4be58c4a46f33a1f95ff8bb85d82f SHA512 109f1e9e562eac0c606ef621bd2ebc4bda96a26002999765e31551edc6070c46de6c24dc4387389f964fdde485aee0048e01bf5189997b84111334c2f239d5f8 DIST genpatches-6.11-6.base.tar.xz 561884 BLAKE2B 8fd4ee418b02f2dad7e8599477d03dc56b7e3ab8752d9e73bec91e9f7e01d1615aaf4d14b1091314bd82a15ff443b16d3cb4be58c4a46f33a1f95ff8bb85d82f SHA512 109f1e9e562eac0c606ef621bd2ebc4bda96a26002999765e31551edc6070c46de6c24dc4387389f964fdde485aee0048e01bf5189997b84111334c2f239d5f8
DIST genpatches-6.11-6.extras.tar.xz 4056 BLAKE2B 7884aa8796e7b79db2b0db6aff5cf02119ac092d95529e0d0ee78ae5458faddf4fdc288b222f3126bb40749cb2ebb7bf2ac3fc6f77f1d2fb46d53b4b62b75c7e SHA512 b7c927e5bf90be5afb0cd479d385c7170316cf74c2aff136ab966734c82e6f4a1791a12124c7a73065711ba22f9260a3094f2bfbc8d0674ba46c158b2e147774 DIST genpatches-6.11-6.extras.tar.xz 4056 BLAKE2B 7884aa8796e7b79db2b0db6aff5cf02119ac092d95529e0d0ee78ae5458faddf4fdc288b222f3126bb40749cb2ebb7bf2ac3fc6f77f1d2fb46d53b4b62b75c7e SHA512 b7c927e5bf90be5afb0cd479d385c7170316cf74c2aff136ab966734c82e6f4a1791a12124c7a73065711ba22f9260a3094f2bfbc8d0674ba46c158b2e147774
DIST genpatches-6.6-61.base.tar.xz 3347520 BLAKE2B 1ae6cdda7741b2ebe6c835e98d9a8aed84488fa37159dcf4f232ac4da61dca065222cfabad1a82149dd67883e8f03bc5144730666ed488d7ea94d0d8ff8a6f93 SHA512 99ab0feb0cb071ab9febcd327f8249fc756ca3ce04b43b4bf4801dc8c3a758f7e33e49bc242577e25c4ee6db2107393c19f57e7d8918033f09cec34bb819c3f8
DIST genpatches-6.6-61.extras.tar.xz 4056 BLAKE2B 9dc9a160fe6b5b73ad7f479a8edb246db66adcb7cafb1dfa770e0ed234d56eb16bc782b42b17e80bc8048ddda986a219dd3e018c97d887e5e249cfdf6c1137be SHA512 780145505ba77b93db165495fdb66ac02687ab0f15d9e0718970557e9b3b12e913abb33fd99db74c68157766f144811af6bde0b99baff62eaf4277144867d066
DIST genpatches-6.6-62.base.tar.xz 3451484 BLAKE2B 526cd644a849da225bea9e77c91320c6fd28c26609e47123051eacc13827d9307b8bce1e53c0ec7ffbaaa9424c2da8d6573d40fc6ac18b4ab99f471b2ee7818b SHA512 68e0423803d0328bdde104b8eed06b144cd9aea0a6f8af8698c9d954fb3301a600de0bb9c48e084f957ca0efcbac5afb6520d234b8b2daba45cc203514931393 DIST genpatches-6.6-62.base.tar.xz 3451484 BLAKE2B 526cd644a849da225bea9e77c91320c6fd28c26609e47123051eacc13827d9307b8bce1e53c0ec7ffbaaa9424c2da8d6573d40fc6ac18b4ab99f471b2ee7818b SHA512 68e0423803d0328bdde104b8eed06b144cd9aea0a6f8af8698c9d954fb3301a600de0bb9c48e084f957ca0efcbac5afb6520d234b8b2daba45cc203514931393
DIST genpatches-6.6-62.extras.tar.xz 4060 BLAKE2B a475e52b151241692f6db4b41b19d6ee0212fafa1570ca47bd9c1b6e3a3b00a00f3a12a023f5c13f519dac46a01147d513ebfe37011fc289e9b3590fa2fe5a69 SHA512 dfcc7657e7299fca6d3da30fa2ecbdcc00cc1133607d3ded5d2f8f9dbfd5877906e357368665fe3757ae6b873ae4313c321ff79b8cda5ed213b7a1866dc9009a DIST genpatches-6.6-62.extras.tar.xz 4060 BLAKE2B a475e52b151241692f6db4b41b19d6ee0212fafa1570ca47bd9c1b6e3a3b00a00f3a12a023f5c13f519dac46a01147d513ebfe37011fc289e9b3590fa2fe5a69 SHA512 dfcc7657e7299fca6d3da30fa2ecbdcc00cc1133607d3ded5d2f8f9dbfd5877906e357368665fe3757ae6b873ae4313c321ff79b8cda5ed213b7a1866dc9009a
DIST genpatches-6.6-63.base.tar.xz 3551092 BLAKE2B 8edca00c49096ef4682038389b19e312773d3a56e29a03527e8f39ae835243193e2afce6411e0f1404af899793e766e108134d990dc666f15eebf02d6dfe6475 SHA512 0b51ff04cf01262502c3b1651288a87f235f3c1f4cf8b92699161353ddd75cbaecc27b8f2838375d77a4cf99a746a2175eab6fb0d23fdea67a6d4e9b89279ca3 DIST genpatches-6.6-63.base.tar.xz 3551092 BLAKE2B 8edca00c49096ef4682038389b19e312773d3a56e29a03527e8f39ae835243193e2afce6411e0f1404af899793e766e108134d990dc666f15eebf02d6dfe6475 SHA512 0b51ff04cf01262502c3b1651288a87f235f3c1f4cf8b92699161353ddd75cbaecc27b8f2838375d77a4cf99a746a2175eab6fb0d23fdea67a6d4e9b89279ca3
@ -18,11 +14,9 @@ DIST gentoo-kernel-config-g13.tar.gz 5759 BLAKE2B 831f89078e539c8b4ce244528dfd84
DIST gentoo-kernel-config-g14.tar.gz 5686 BLAKE2B e5147ff4ffab92428b3e7f1b0897b997f8a298805f4f43b0a4d3047607bbb1a5ebfc268e0bb9688372a5eda561df9f256c78e00cdd7e3caf7868724214722f56 SHA512 f79638f9ff9dd0154512baf0234024216b6708d35a3c03a580ca5913286ad1ea13bdde5ea9b4722c6a7cd8d591c11ec52c1e225111a260343cd56aa1f1a88502 DIST gentoo-kernel-config-g14.tar.gz 5686 BLAKE2B e5147ff4ffab92428b3e7f1b0897b997f8a298805f4f43b0a4d3047607bbb1a5ebfc268e0bb9688372a5eda561df9f256c78e00cdd7e3caf7868724214722f56 SHA512 f79638f9ff9dd0154512baf0234024216b6708d35a3c03a580ca5913286ad1ea13bdde5ea9b4722c6a7cd8d591c11ec52c1e225111a260343cd56aa1f1a88502
DIST linux-6.11.tar.xz 146900704 BLAKE2B e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab SHA512 329c1f94008742e3f0c2ce7e591a16316d1b2cb9ea4596d4f45604097e07b7aa2f64afa40630a07f321a858455c77aa32ba57b271932ddcf4dc27863f9081cea DIST linux-6.11.tar.xz 146900704 BLAKE2B e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab SHA512 329c1f94008742e3f0c2ce7e591a16316d1b2cb9ea4596d4f45604097e07b7aa2f64afa40630a07f321a858455c77aa32ba57b271932ddcf4dc27863f9081cea
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.11.2-xanmod1.xz 364364 BLAKE2B e7457ef5b784d4cf31896bcb01cf12a9b615fea7e046568e6fda9cebaedbde29020cb3eb0a5b03e001c14e06d51b7b6c568c4e348edb0f64c7ff56eb06f0de44 SHA512 5e15495e8b525dd85b75fe207197b0fec2f42ba7a8e3eb2b56cfbe94ae71908e22eca34925149f2f3c15d1df55078aae0b94956e76ad9e80c32c91b7304cfb94
DIST patch-6.11.3-xanmod1.xz 535216 BLAKE2B fb03b84c11c5e37113777cdad6d2f8cebe1657c7d4382b11f38e8d09cb7d4ef7138f902f330de10b21b4fe9a2852006467454cb167a181cb020876707b583e8f SHA512 a49eb595a8e7a2161a4a9d240d2ee55760b9ee9883cb4dc6ec3b96d20850f9a5f28865ef9db5bd2a3a0ddb28fc686f62f3785f746cf809da4eec2e8fe56dbb9e DIST patch-6.11.3-xanmod1.xz 535216 BLAKE2B fb03b84c11c5e37113777cdad6d2f8cebe1657c7d4382b11f38e8d09cb7d4ef7138f902f330de10b21b4fe9a2852006467454cb167a181cb020876707b583e8f SHA512 a49eb595a8e7a2161a4a9d240d2ee55760b9ee9883cb4dc6ec3b96d20850f9a5f28865ef9db5bd2a3a0ddb28fc686f62f3785f746cf809da4eec2e8fe56dbb9e
DIST patch-6.11.4-xanmod1.xz 633368 BLAKE2B 996b590361ac27aeb136775f9973ef36326cc1d3247626408bfa87f8591865e4294cb17ec1cd7c350dbf53c53ecf585fa83e3bea7b17d0d9ae733f6906f96709 SHA512 98fb5e6ce10f9a47aa1a6772c6054d3591186f207a42e6281ca9aec8585dea68fb2bc3c91e737363eb8e62548b195892a532ccd2a6c6b4dfcb5b43a8a60056d2 DIST patch-6.11.4-xanmod1.xz 633368 BLAKE2B 996b590361ac27aeb136775f9973ef36326cc1d3247626408bfa87f8591865e4294cb17ec1cd7c350dbf53c53ecf585fa83e3bea7b17d0d9ae733f6906f96709 SHA512 98fb5e6ce10f9a47aa1a6772c6054d3591186f207a42e6281ca9aec8585dea68fb2bc3c91e737363eb8e62548b195892a532ccd2a6c6b4dfcb5b43a8a60056d2
DIST patch-6.11.5-xanmod1.xz 661592 BLAKE2B a3c9dfd4a4404360fcbb212a11e3911ceae649a52112b509f0ac42de3d24236646e3d22a52354d541080f9bea3b5a4f6ef489b27a2f9ab1f647bd83d6ba36365 SHA512 cf5ffcbb45d291f0cca1286461500ab819976544958148cec2a9176503826acaa86e9609d30bbf6c6cf49fadb1ef69e47fa80c23a84365f858cbba5dd0b9dce1 DIST patch-6.11.5-xanmod1.xz 661592 BLAKE2B a3c9dfd4a4404360fcbb212a11e3911ceae649a52112b509f0ac42de3d24236646e3d22a52354d541080f9bea3b5a4f6ef489b27a2f9ab1f647bd83d6ba36365 SHA512 cf5ffcbb45d291f0cca1286461500ab819976544958148cec2a9176503826acaa86e9609d30bbf6c6cf49fadb1ef69e47fa80c23a84365f858cbba5dd0b9dce1
DIST patch-6.6.54-xanmod1.xz 3117860 BLAKE2B 7ec286f98800b8e65c4ebe1b858026b061c6474c92a58bd0cfdb0184b4c420a87b05738a566155c8c7e9c6e483620cbe78cb41ba90dd249bc2c3cae36389f5f2 SHA512 126902ad202bb63d9a6408783f9d53ae78dc7518610ee9ee9247973943d65a548f10f02144c3d4e3ebdd601ce51a41238bcf3f01a98bbceed2d83a66946fc928
DIST patch-6.6.56-xanmod1.xz 3202684 BLAKE2B 201ac66bda66fd784be0bd46a6bd43b639f2fc9538bfce997282c1b180bf6454d4d538d9cb82df8926adec07fca7746ddab8cc0cae972cbffa810e109d7aa911 SHA512 26c26121d05b6f48c24a78c715a23eb5b5d593f057f5aae6ed20b748a7355feb84ffd058fc387e9a5cabcdc4ab369c5806210fd72b5bf9b8b8b9e3deaea691fc DIST patch-6.6.56-xanmod1.xz 3202684 BLAKE2B 201ac66bda66fd784be0bd46a6bd43b639f2fc9538bfce997282c1b180bf6454d4d538d9cb82df8926adec07fca7746ddab8cc0cae972cbffa810e109d7aa911 SHA512 26c26121d05b6f48c24a78c715a23eb5b5d593f057f5aae6ed20b748a7355feb84ffd058fc387e9a5cabcdc4ab369c5806210fd72b5bf9b8b8b9e3deaea691fc
DIST patch-6.6.57-xanmod1.xz 3284476 BLAKE2B f0004c5d8336eee96dab0431a6dc51a34b5258a750a2e3cacc3208e17f75d1f8f0e77ec8c9bb0e041ec0cce649f6de486d70df02b4a561f46fc8c7fcfb1840ba SHA512 373ebb021331146d802cbc43eef91bebcf1148a7abbbcacb80bd28e8a98eef7e72e3a10d3ac3cc6e66ac8c39f8a23a0777a6d30372e930c9c975e500d499aee6 DIST patch-6.6.57-xanmod1.xz 3284476 BLAKE2B f0004c5d8336eee96dab0431a6dc51a34b5258a750a2e3cacc3208e17f75d1f8f0e77ec8c9bb0e041ec0cce649f6de486d70df02b4a561f46fc8c7fcfb1840ba SHA512 373ebb021331146d802cbc43eef91bebcf1148a7abbbcacb80bd28e8a98eef7e72e3a10d3ac3cc6e66ac8c39f8a23a0777a6d30372e930c9c975e500d499aee6
DIST patch-6.6.58-xanmod1.xz 3308180 BLAKE2B dc5b2dc4c02ddeb6d015cc2d35714821211a7c8ea47edbf00be86d25f8e9424fd12b6edeaee2ca088b314926425d97ed3414078e8dfebbedee013dde7dc5e932 SHA512 bc3b3cf58172b37cea778985345e3170180a55a486b7531e725bff9e7498a0d739117eda016220c792f243b5e31fcea4dccd7b6bee3683af42cfb727b57d9dcf DIST patch-6.6.58-xanmod1.xz 3308180 BLAKE2B dc5b2dc4c02ddeb6d015cc2d35714821211a7c8ea47edbf00be86d25f8e9424fd12b6edeaee2ca088b314926425d97ed3414078e8dfebbedee013dde7dc5e932 SHA512 bc3b3cf58172b37cea778985345e3170180a55a486b7531e725bff9e7498a0d739117eda016220c792f243b5e31fcea4dccd7b6bee3683af42cfb727b57d9dcf

View File

@ -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##*.} + 1 ))
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[@]}"
}

View File

@ -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[@]}"
}