sys-kernel/xanmod-kernel: add 6.6.56, 6.11.3
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
cb6c4a7232
commit
40c6ae6bd4
@ -8,12 +8,16 @@ DIST genpatches-6.11-2.base.tar.xz 31476 BLAKE2B d32c81fb764115748f4f25a0f9af671
|
|||||||
DIST genpatches-6.11-2.extras.tar.xz 4056 BLAKE2B 3f465186cd74ddde1200eef68b11a8c9fbdf6f4e6806ad32f6c89919dfd6fc670af4442408a10c5857d74d0955becc88a46dd09ef93cf462d4a6ab3e7c917090 SHA512 0fe772dba8abf415f5bc7837be2669abb0cc6ebaf162b0779ed320da76ea3a97f044fda2e88f5a2b904a78e37bc2e93f89e4b0a07c64cfc6c577e7b2016d0241
|
DIST genpatches-6.11-2.extras.tar.xz 4056 BLAKE2B 3f465186cd74ddde1200eef68b11a8c9fbdf6f4e6806ad32f6c89919dfd6fc670af4442408a10c5857d74d0955becc88a46dd09ef93cf462d4a6ab3e7c917090 SHA512 0fe772dba8abf415f5bc7837be2669abb0cc6ebaf162b0779ed320da76ea3a97f044fda2e88f5a2b904a78e37bc2e93f89e4b0a07c64cfc6c577e7b2016d0241
|
||||||
DIST genpatches-6.11-3.base.tar.xz 252308 BLAKE2B 4a410ef58fdaa2a24da1fef194cdc4db9c62c84fe8c02339c959cb0b4d679accfd9db2b013429b8a04ddc3248fc36d56004b7171d01df51376779906a2940803 SHA512 41e62846295d08672bf8d0a4b704c5578a7e4eb10712afe8757dab079730dba5a4a2e74f18e7c29cd4f971747bff5a595da707254c85b2070a2ec137a0374a56
|
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-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.extras.tar.xz 4060 BLAKE2B 90d2186c2aaf39cea7c5152196fdc6401350a2ec69e84ee0975449f296b9625260bd69c4660ac1e2dba5e912d2f6f1fe15e05dd639a5ac615aff65ca58ea1d5f SHA512 6fd9adca80bf0600a7c3701eedefed15b4429211ecd925bc9f8f7a07c8997f5e1fdc178c44c53a9c97ba4c568449a9b015b01a1eea1330d21160b114767d4fc8
|
||||||
DIST genpatches-6.6-59.base.tar.xz 3174716 BLAKE2B 8eded8d4d4c343869f587ecc2a218d124c34618494ded9d17b493f26894e545658021ad9cfa05bafd14389de07406f43a722c37276cc14096a3a7a00040e2ae7 SHA512 88e5ef8de0954f349e5c0745adb8f718dcabcd2e166c597c9de753c892eaad42c936984279fde86974b307858959cdef401f92f6f62a98bf1d4bed14cbff821e
|
DIST genpatches-6.6-59.base.tar.xz 3174716 BLAKE2B 8eded8d4d4c343869f587ecc2a218d124c34618494ded9d17b493f26894e545658021ad9cfa05bafd14389de07406f43a722c37276cc14096a3a7a00040e2ae7 SHA512 88e5ef8de0954f349e5c0745adb8f718dcabcd2e166c597c9de753c892eaad42c936984279fde86974b307858959cdef401f92f6f62a98bf1d4bed14cbff821e
|
||||||
DIST genpatches-6.6-59.extras.tar.xz 4056 BLAKE2B 8d68a426082bcb168f74abb849a7a58090268c9cf098aa8982d9e700fab754a6f42dd833c1ee5d44d52f58d1a6b3da018a954d873ba131a2049a286a39ca3099 SHA512 ee133a7efaeba2abe242482825f4490e1c1b17fca64f9183713dca601fc64048288aa79125f7b8c0715f6c4fb158ea3a230e76b39b63d1a59dbecf80697ac000
|
DIST genpatches-6.6-59.extras.tar.xz 4056 BLAKE2B 8d68a426082bcb168f74abb849a7a58090268c9cf098aa8982d9e700fab754a6f42dd833c1ee5d44d52f58d1a6b3da018a954d873ba131a2049a286a39ca3099 SHA512 ee133a7efaeba2abe242482825f4490e1c1b17fca64f9183713dca601fc64048288aa79125f7b8c0715f6c4fb158ea3a230e76b39b63d1a59dbecf80697ac000
|
||||||
DIST genpatches-6.6-60.base.tar.xz 3204668 BLAKE2B 4076b1d74984ff1777a6d41d6c71a1a67139571314da88597e88ac0bd0067ce49ba7954b26690f8bb21009708e99be5e29abbb6871d8ab7c39740c243efc74d4 SHA512 91d0d2bef786151f9bb94370e26e8cc488a57e8307de018e068c3d4f07ff20cdb59516de1ab6718943286323812b999bf2b43ab63c9a79d70bdc7dd2ece68ee3
|
DIST genpatches-6.6-60.base.tar.xz 3204668 BLAKE2B 4076b1d74984ff1777a6d41d6c71a1a67139571314da88597e88ac0bd0067ce49ba7954b26690f8bb21009708e99be5e29abbb6871d8ab7c39740c243efc74d4 SHA512 91d0d2bef786151f9bb94370e26e8cc488a57e8307de018e068c3d4f07ff20cdb59516de1ab6718943286323812b999bf2b43ab63c9a79d70bdc7dd2ece68ee3
|
||||||
DIST genpatches-6.6-60.extras.tar.xz 4056 BLAKE2B 605705101398b9b0954b1b1050c7a35ca0cf9db76cb8b83a8686e4d895e96cdb5852b82fb47808a811eec73dbdb730550b4bdc09a9ce12c9a6f08f1c5fbcd2fa SHA512 6809450ccae6d26a77195a10997fc1c28408d8b1dd64cbe9985b1364d29ba520f4d1035e55fab34e6f169c92357a30fa95c2a9197da35366b09a5c634b9950a5
|
DIST genpatches-6.6-60.extras.tar.xz 4056 BLAKE2B 605705101398b9b0954b1b1050c7a35ca0cf9db76cb8b83a8686e4d895e96cdb5852b82fb47808a811eec73dbdb730550b4bdc09a9ce12c9a6f08f1c5fbcd2fa SHA512 6809450ccae6d26a77195a10997fc1c28408d8b1dd64cbe9985b1364d29ba520f4d1035e55fab34e6f169c92357a30fa95c2a9197da35366b09a5c634b9950a5
|
||||||
DIST genpatches-6.6-61.base.tar.xz 3347520 BLAKE2B 1ae6cdda7741b2ebe6c835e98d9a8aed84488fa37159dcf4f232ac4da61dca065222cfabad1a82149dd67883e8f03bc5144730666ed488d7ea94d0d8ff8a6f93 SHA512 99ab0feb0cb071ab9febcd327f8249fc756ca3ce04b43b4bf4801dc8c3a758f7e33e49bc242577e25c4ee6db2107393c19f57e7d8918033f09cec34bb819c3f8
|
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-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.extras.tar.xz 4060 BLAKE2B a475e52b151241692f6db4b41b19d6ee0212fafa1570ca47bd9c1b6e3a3b00a00f3a12a023f5c13f519dac46a01147d513ebfe37011fc289e9b3590fa2fe5a69 SHA512 dfcc7657e7299fca6d3da30fa2ecbdcc00cc1133607d3ded5d2f8f9dbfd5877906e357368665fe3757ae6b873ae4313c321ff79b8cda5ed213b7a1866dc9009a
|
||||||
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.11.tar.xz 146900704 BLAKE2B e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab SHA512 329c1f94008742e3f0c2ce7e591a16316d1b2cb9ea4596d4f45604097e07b7aa2f64afa40630a07f321a858455c77aa32ba57b271932ddcf4dc27863f9081cea
|
DIST linux-6.11.tar.xz 146900704 BLAKE2B e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab SHA512 329c1f94008742e3f0c2ce7e591a16316d1b2cb9ea4596d4f45604097e07b7aa2f64afa40630a07f321a858455c77aa32ba57b271932ddcf4dc27863f9081cea
|
||||||
@ -23,6 +27,8 @@ DIST patch-6.10.12-xanmod1.xz 846320 BLAKE2B 9c2abbccdef3d5a9b64f191fc31440ac265
|
|||||||
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.11.1-xanmod1.xz 148676 BLAKE2B acc0fa1ab98d5899525f1d1ff29daa168be7c3d7b7c801b9ed6f5b70b069d3f620dc0d7e385f3106aa0d8758bb1ce653731e0c29c6383e5a8e3a3e56ee470d23 SHA512 9757f307d54bde1a70339b80da71fd68f7ecc564fbbec9b9f57e2bab98a5ba3a36818ff8adaad907dc61ca24d06b5339d2244b1c478165bfaee3ba5e1b0ba4ee
|
DIST patch-6.11.1-xanmod1.xz 148676 BLAKE2B acc0fa1ab98d5899525f1d1ff29daa168be7c3d7b7c801b9ed6f5b70b069d3f620dc0d7e385f3106aa0d8758bb1ce653731e0c29c6383e5a8e3a3e56ee470d23 SHA512 9757f307d54bde1a70339b80da71fd68f7ecc564fbbec9b9f57e2bab98a5ba3a36818ff8adaad907dc61ca24d06b5339d2244b1c478165bfaee3ba5e1b0ba4ee
|
||||||
DIST patch-6.11.2-xanmod1.xz 364364 BLAKE2B e7457ef5b784d4cf31896bcb01cf12a9b615fea7e046568e6fda9cebaedbde29020cb3eb0a5b03e001c14e06d51b7b6c568c4e348edb0f64c7ff56eb06f0de44 SHA512 5e15495e8b525dd85b75fe207197b0fec2f42ba7a8e3eb2b56cfbe94ae71908e22eca34925149f2f3c15d1df55078aae0b94956e76ad9e80c32c91b7304cfb94
|
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.6.52-xanmod1.xz 2985336 BLAKE2B 6b62429471f2df2f973557412b99c897cd98eb42c850ba1d900095b3ed8c3ebbb9d9a2ce4587e1f7714ae0e277f97b28787da71b14a2d9fe04f8bc5c720930f3 SHA512 c43513c42fce3f39e4616147ee3b5dfc7bc5a2ba21f5c142351860e1dccb75695e9181064b41f213041d72dbfccdcf7ef9241a20826863bdec86700ae7032304
|
DIST patch-6.6.52-xanmod1.xz 2985336 BLAKE2B 6b62429471f2df2f973557412b99c897cd98eb42c850ba1d900095b3ed8c3ebbb9d9a2ce4587e1f7714ae0e277f97b28787da71b14a2d9fe04f8bc5c720930f3 SHA512 c43513c42fce3f39e4616147ee3b5dfc7bc5a2ba21f5c142351860e1dccb75695e9181064b41f213041d72dbfccdcf7ef9241a20826863bdec86700ae7032304
|
||||||
DIST patch-6.6.53-xanmod1.xz 2995720 BLAKE2B 1c5906756776526deddc5e5c25f6b22c9c03abd652d3b9cb99823dc1eeef48fe69c8c98f0735f1be7797ee0f97a0a3a9596eaa29ba03e0d9d30beb851462f365 SHA512 c19cac9ed592a7231eda768237c0cddbe2931bacbd447c4f89112429e900b1c0017ff669787ab1660f8d939939d72b31f1f07a227754114d331b53e1de9e2954
|
DIST patch-6.6.53-xanmod1.xz 2995720 BLAKE2B 1c5906756776526deddc5e5c25f6b22c9c03abd652d3b9cb99823dc1eeef48fe69c8c98f0735f1be7797ee0f97a0a3a9596eaa29ba03e0d9d30beb851462f365 SHA512 c19cac9ed592a7231eda768237c0cddbe2931bacbd447c4f89112429e900b1c0017ff669787ab1660f8d939939d72b31f1f07a227754114d331b53e1de9e2954
|
||||||
DIST patch-6.6.54-xanmod1.xz 3117860 BLAKE2B 7ec286f98800b8e65c4ebe1b858026b061c6474c92a58bd0cfdb0184b4c420a87b05738a566155c8c7e9c6e483620cbe78cb41ba90dd249bc2c3cae36389f5f2 SHA512 126902ad202bb63d9a6408783f9d53ae78dc7518610ee9ee9247973943d65a548f10f02144c3d4e3ebdd601ce51a41238bcf3f01a98bbceed2d83a66946fc928
|
DIST patch-6.6.54-xanmod1.xz 3117860 BLAKE2B 7ec286f98800b8e65c4ebe1b858026b061c6474c92a58bd0cfdb0184b4c420a87b05738a566155c8c7e9c6e483620cbe78cb41ba90dd249bc2c3cae36389f5f2 SHA512 126902ad202bb63d9a6408783f9d53ae78dc7518610ee9ee9247973943d65a548f10f02144c3d4e3ebdd601ce51a41238bcf3f01a98bbceed2d83a66946fc928
|
||||||
|
DIST patch-6.6.56-xanmod1.xz 3202684 BLAKE2B 201ac66bda66fd784be0bd46a6bd43b639f2fc9538bfce997282c1b180bf6454d4d538d9cb82df8926adec07fca7746ddab8cc0cae972cbffa810e109d7aa911 SHA512 26c26121d05b6f48c24a78c715a23eb5b5d593f057f5aae6ed20b748a7355feb84ffd058fc387e9a5cabcdc4ab369c5806210fd72b5bf9b8b8b9e3deaea691fc
|
||||||
|
88
sys-kernel/xanmod-kernel/xanmod-kernel-6.11.3.ebuild
Normal file
88
sys-kernel/xanmod-kernel/xanmod-kernel-6.11.3.ebuild
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
# 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[@]}"
|
||||||
|
}
|
87
sys-kernel/xanmod-kernel/xanmod-kernel-6.6.56.ebuild
Normal file
87
sys-kernel/xanmod-kernel/xanmod-kernel-6.6.56.ebuild
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
# 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=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