sys-kernel/xanmod-kernel: drop 6.1.38, 6.3.12, 6.4.3
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
21b046dfc0
commit
813e49dc69
@ -1,25 +1,15 @@
|
|||||||
DIST genpatches-6.1-44.base.tar.xz 2683644 BLAKE2B d0264b6d6456fb2e6a67c1240cd3fbb95eef61701bf953df6e25e37a12fb12702b57f66e30ac757f28d9d1bcd0f2fbc38775d5b73922504084ff95f9fda1d78f SHA512 e3777a612facad029782fe63abc702af06197521fcf90f4c80311fd7ad94739209573c7de910dfaeafd88948c2c3f3d29bb27f4fa1069475295b6f5b29e14116
|
|
||||||
DIST genpatches-6.1-44.extras.tar.xz 3812 BLAKE2B bd5605700d0b55036d186eca82031f1d38883fbb3e2e98f0b44269c914f5a2912c026bebfdfd3fdcd563b97d3167fb9908bd0e29422b02e9314392b3ad2281c5 SHA512 e274c0e50fc476bc071fc4d77623b75cdfdda51951f541f56bc4f8ab53da17e67f615c37d35c93290d20b51d3ab2eb923a8e147daec4c59d3d1c87d3e803beb0
|
|
||||||
DIST genpatches-6.1-45.base.tar.xz 2851860 BLAKE2B cd512077ba76f23b7109f30f9a981adbaafeafc3a2b69685620b0d67bf21b3d716cfd9c6328ed7c1d6cbeaef287876b7b63b112644546d2cdb63bdb85e4b082d SHA512 1c1fd3a35c6544a030856161d902895b90fb75ad315247204361cc151190828fbe99abc87979a9df24b3e8e02aae944a130cadee5fb059e2ef174b6bc9d1b037
|
DIST genpatches-6.1-45.base.tar.xz 2851860 BLAKE2B cd512077ba76f23b7109f30f9a981adbaafeafc3a2b69685620b0d67bf21b3d716cfd9c6328ed7c1d6cbeaef287876b7b63b112644546d2cdb63bdb85e4b082d SHA512 1c1fd3a35c6544a030856161d902895b90fb75ad315247204361cc151190828fbe99abc87979a9df24b3e8e02aae944a130cadee5fb059e2ef174b6bc9d1b037
|
||||||
DIST genpatches-6.1-45.extras.tar.xz 3812 BLAKE2B a3355cc91c618303f9490eb306639325e1b46a7ff9f6fc1f546ac1532d110d981ed316b9bc44abc624f70cb8e63ff512af2708b4cbc379a69df438c6792050db SHA512 e2413fc03401dd1dcaee49bdb2cf8cb7008451cf2fbc8635854da2148464ffe1bb49127d73e534c054e5e56514bf31f5ccca507f52845334133fe26846e244a9
|
DIST genpatches-6.1-45.extras.tar.xz 3812 BLAKE2B a3355cc91c618303f9490eb306639325e1b46a7ff9f6fc1f546ac1532d110d981ed316b9bc44abc624f70cb8e63ff512af2708b4cbc379a69df438c6792050db SHA512 e2413fc03401dd1dcaee49bdb2cf8cb7008451cf2fbc8635854da2148464ffe1bb49127d73e534c054e5e56514bf31f5ccca507f52845334133fe26846e244a9
|
||||||
DIST genpatches-6.1-46.base.tar.xz 2913208 BLAKE2B e462034f1d9d9e97411f6c6558b5df19bf92edbf214549f8d1749df795160e8c1e731effacf00595681a0576c867cdcb06e139cd1de29ac913dd37ea6404fad5 SHA512 d88711190f42a524229c4d1eb4659cf74d4c0c6f970ecc7b29fe56396eb8b05f2c01808f59c9133bef9a8cbb5618cd2cccea17192248fef133a2e90689b9a844
|
DIST genpatches-6.1-46.base.tar.xz 2913208 BLAKE2B e462034f1d9d9e97411f6c6558b5df19bf92edbf214549f8d1749df795160e8c1e731effacf00595681a0576c867cdcb06e139cd1de29ac913dd37ea6404fad5 SHA512 d88711190f42a524229c4d1eb4659cf74d4c0c6f970ecc7b29fe56396eb8b05f2c01808f59c9133bef9a8cbb5618cd2cccea17192248fef133a2e90689b9a844
|
||||||
DIST genpatches-6.1-46.extras.tar.xz 3808 BLAKE2B 63c0ab6a14c96fdbb9a5500e6aedf31122068e8dea30269ac538e111a340d99c8e471c414ceebe29e2c392a9e726c945e289747ac89c7110a984f68ac5bc2794 SHA512 1368893d5f52c36082e5e59cb5bb878213b1745f5067930fc5a32653e69e0dcf2661604e55249023356df8d34028c15c7640af54bab8e9a060c712ab7748d3ce
|
DIST genpatches-6.1-46.extras.tar.xz 3808 BLAKE2B 63c0ab6a14c96fdbb9a5500e6aedf31122068e8dea30269ac538e111a340d99c8e471c414ceebe29e2c392a9e726c945e289747ac89c7110a984f68ac5bc2794 SHA512 1368893d5f52c36082e5e59cb5bb878213b1745f5067930fc5a32653e69e0dcf2661604e55249023356df8d34028c15c7640af54bab8e9a060c712ab7748d3ce
|
||||||
DIST genpatches-6.3-16.base.tar.xz 774148 BLAKE2B 36b92eff5065338db81890a63ca51c7352dd775099b627e42673cd29ee2a2585d3ccf4675f9239a1c08660304d27e4d9b2307a72dbaddc088be714b5823432d3 SHA512 6aa4f1c72f85c43296891ab6d1474f9d1b0be3f716167312a8efe2d65219ecf4810a10bc42244388457add6a32874c2448afef70967700393c2ddf11665dc008
|
|
||||||
DIST genpatches-6.3-16.extras.tar.xz 3804 BLAKE2B d8e1e83f598a420856ceb60bb0d7218a90578d27ba8aa4f6f4f5c3b44bffe4b14f12050f3e41e389035dc24778909e30d44bda8b67ee156ad32aa12097d6dae9 SHA512 bd199c0baf3ad6be48acaee74a002e972069ac52ef4d35c03f523af03e95323ad792f42e3ac77aa7aa97258afcb830bac7b9a8a10208c36c332852edef218889
|
|
||||||
DIST genpatches-6.4-5.base.tar.xz 29696 BLAKE2B 0e882d51de63cce7a7edc96c29fe46c27f607abddd0a70d2977054838d51ad623ec5ff3f4eac8e18b016f6c310ba79d326967947c17cf662391638d7fd2ecbd5 SHA512 3205df0e92db622aa397953de85605e58b4e977262a8dbb9e59174c7a55ad2c784ba417069f948dcdeddda8318389be45d54a516d9b2f45cd2948938942d7e5d
|
|
||||||
DIST genpatches-6.4-5.extras.tar.xz 3700 BLAKE2B 701f2bbb493087bcd8de7c7293c802bada8965901838b2eae998ec14749da6c46814611092b4120c25dc9ebef2313e36bcdc3593110d06c510e9db1dcf575f53 SHA512 0be95fcd6ce4ca750ea97c17bd897bd8083de63b8573080a2f3cd41d07c951293083afb739153a3cb29ea55e93b7d2063089119080b26f932c6a74e9425a1920
|
|
||||||
DIST genpatches-6.4-6.base.tar.xz 314708 BLAKE2B 815c36a6185cd1006596a4829462900041bb2ab5c89f28c9c26c5a10e8bf4d4907ce4f244044e7cd95c0f790112bdadeba8cd363b276aeb37ec20270e2a9162d SHA512 d0d97bae5fd34e41d2236fbc9952c90b2535b62ac9a5a5dc259cffb7f927bda16a04175be0a940670d0a0021f6fd3cf45ecfddf0e22d7a9253c13236a9b29124
|
DIST genpatches-6.4-6.base.tar.xz 314708 BLAKE2B 815c36a6185cd1006596a4829462900041bb2ab5c89f28c9c26c5a10e8bf4d4907ce4f244044e7cd95c0f790112bdadeba8cd363b276aeb37ec20270e2a9162d SHA512 d0d97bae5fd34e41d2236fbc9952c90b2535b62ac9a5a5dc259cffb7f927bda16a04175be0a940670d0a0021f6fd3cf45ecfddf0e22d7a9253c13236a9b29124
|
||||||
DIST genpatches-6.4-6.extras.tar.xz 3696 BLAKE2B 6a5cc63fc0e09b0eb697e34ec554153f179b0abc0ff5bf5ae06dc4b319b3343d0ba986f4a5ebb859c773c9dbb60248b4caefb192ff5c0a8f0aec115a4a67fbfc SHA512 7ca005f7a822cc90a7a8399a7e7c277cc24757f689dfff9428251419e627510a3e4560448dc5a2c6901e2478288c9b5dac3c0b9973545864bd60feb0aa688e42
|
DIST genpatches-6.4-6.extras.tar.xz 3696 BLAKE2B 6a5cc63fc0e09b0eb697e34ec554153f179b0abc0ff5bf5ae06dc4b319b3343d0ba986f4a5ebb859c773c9dbb60248b4caefb192ff5c0a8f0aec115a4a67fbfc SHA512 7ca005f7a822cc90a7a8399a7e7c277cc24757f689dfff9428251419e627510a3e4560448dc5a2c6901e2478288c9b5dac3c0b9973545864bd60feb0aa688e42
|
||||||
DIST genpatches-6.4-7.base.tar.xz 412236 BLAKE2B 923eacdb511942c4588aed97786aa931a2c3cfe89465c9a50aabe3c8b8c55408684ae33fe25af21bc240311339035e6129aa6d7e2c45f3e9e923f63e5bef34cc SHA512 e5568b435f6e9261406742e95183574e3be5cc271ff8d55756921e0753e3239f3d2ee8be7111151488a899526f90a1d7ad27a9129a3c85520fd91a09e8043b6e
|
DIST genpatches-6.4-7.base.tar.xz 412236 BLAKE2B 923eacdb511942c4588aed97786aa931a2c3cfe89465c9a50aabe3c8b8c55408684ae33fe25af21bc240311339035e6129aa6d7e2c45f3e9e923f63e5bef34cc SHA512 e5568b435f6e9261406742e95183574e3be5cc271ff8d55756921e0753e3239f3d2ee8be7111151488a899526f90a1d7ad27a9129a3c85520fd91a09e8043b6e
|
||||||
DIST genpatches-6.4-7.extras.tar.xz 3700 BLAKE2B a264be6af2117363bc1bb94b5638eead9c01e15b9464ecaf1a5ceee6c7deb893832d11fe14a2d242089f81b1687b677fc784fa2ed7e9b4bc7fe4867dd078b6d2 SHA512 f7229f5293e50ab6fb93b47286c06ba96b2d7c03aa5c48fda6dd3639b53ae4da6c4d974d6a08828fda9a3963ab805eb02892e86c842b58dbde2e6b9563cb54c9
|
DIST genpatches-6.4-7.extras.tar.xz 3700 BLAKE2B a264be6af2117363bc1bb94b5638eead9c01e15b9464ecaf1a5ceee6c7deb893832d11fe14a2d242089f81b1687b677fc784fa2ed7e9b4bc7fe4867dd078b6d2 SHA512 f7229f5293e50ab6fb93b47286c06ba96b2d7c03aa5c48fda6dd3639b53ae4da6c4d974d6a08828fda9a3963ab805eb02892e86c842b58dbde2e6b9563cb54c9
|
||||||
DIST gentoo-kernel-config-g7.tar.gz 4625 BLAKE2B 72ba0d038ee34ca5eb26d43bd373735aef3a50d02b414993ea05485e49d83d46df98a6cb0f6f3170a8ec0c99b557432fd9a11cbb92ff7c2837625a7f4469831e SHA512 2d74a8ca9f5402b4290ed93cd3ddba04a7f2ff42c8d8d3f2cbbe22fc20daa0fca119368daa8af39b7a26b1b99e4e3187c3c5d95886a651675ad94ff98d686628
|
DIST gentoo-kernel-config-g7.tar.gz 4625 BLAKE2B 72ba0d038ee34ca5eb26d43bd373735aef3a50d02b414993ea05485e49d83d46df98a6cb0f6f3170a8ec0c99b557432fd9a11cbb92ff7c2837625a7f4469831e SHA512 2d74a8ca9f5402b4290ed93cd3ddba04a7f2ff42c8d8d3f2cbbe22fc20daa0fca119368daa8af39b7a26b1b99e4e3187c3c5d95886a651675ad94ff98d686628
|
||||||
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
|
DIST linux-6.1.tar.xz 134728520 BLAKE2B ae60257860b2bd1bd708d183f0443afc60ebbd2b3d535c45e44c2e541bd0928530a3b62de6385dd4e4726ebbedcc0a871d4f3ffb4105b9f1f6d8ed7467f5688e SHA512 6ed2a73c2699d0810e54753715635736fc370288ad5ce95c594f2379959b0e418665cd71bc512a0273fe226fe90074d8b10d14c209080a6466498417a4fdda68
|
||||||
DIST linux-6.3.tar.xz 136891752 BLAKE2B f1887c8924efa8d0cb14c4e604affd0b0168bcf20f56a37c027405c7bc11aba822a43fcb38ccb55a81a26f747d00e1ab5a6554818affbf1e1c7ef5220150fc69 SHA512 768979440f4907ba64d4481b383d6101faf208f27a0b897156123aa278c5743fe3c4f61945b2541429c532d45382aaee8899ea9d44a1d2895bfbb79bfd937f65
|
|
||||||
DIST linux-6.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688ff8959f5c65485f7f6bef26590412c66821e720de843cb8666f226c90 SHA512 11a48b25e0b513782d3b89101c2ec8dd9cefd6ce08dc63a91137903b66392aa72ca1fe32816710673af84dd47de3ab8738056a6af93dc0d5e60ef4b869b49928
|
DIST linux-6.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688ff8959f5c65485f7f6bef26590412c66821e720de843cb8666f226c90 SHA512 11a48b25e0b513782d3b89101c2ec8dd9cefd6ce08dc63a91137903b66392aa72ca1fe32816710673af84dd47de3ab8738056a6af93dc0d5e60ef4b869b49928
|
||||||
DIST patch-6.1.38-xanmod1.xz 2099872 BLAKE2B 51aa659e40ecbd84fe68c3b280e7bf43462b160f029498a06a09d7fc838aecc61797b34553549e91d03b8a61340661b5d355249670b5d14acb7b45398aa1824b SHA512 7005c104e4648c33c9778ddbd7cc8b054546e205ac1fd4bfe36ad76a6a2013862f05f3246772c5d847fe571790f46521e55fcf90f86dc36c936ecb7b5f524d78
|
|
||||||
DIST patch-6.1.39-xanmod1.xz 2236612 BLAKE2B c2941730002e6a46ef21d18a66395c3a994269483fe9d93eea93532e1408a237465981fa0375652c16536ab791e44cbe094b363eef056793596576b6ed6dbb8b SHA512 8f933298769dc398c92a08f2d35ffb67bfe4bf9ddcf26c731e8ad2887f9ca10342554caaaf2faaac4481a45c8fc3baf5a4bf11bea87b313c53316e18ed9fb3a1
|
DIST patch-6.1.39-xanmod1.xz 2236612 BLAKE2B c2941730002e6a46ef21d18a66395c3a994269483fe9d93eea93532e1408a237465981fa0375652c16536ab791e44cbe094b363eef056793596576b6ed6dbb8b SHA512 8f933298769dc398c92a08f2d35ffb67bfe4bf9ddcf26c731e8ad2887f9ca10342554caaaf2faaac4481a45c8fc3baf5a4bf11bea87b313c53316e18ed9fb3a1
|
||||||
DIST patch-6.1.40-xanmod1.xz 2285732 BLAKE2B dabcb75752aabe52481603d16b1410b186c310ef002c456766a454dd123bb2a22b7df272f60a9f19ffe13241e093489ea6e2dab6cd6b185420d16cefe3e14b7b SHA512 f2ae482f47ad345ec0fdcc03ab3d14c26bcd5ae91ede822ba165f002cc7bc585245edc09e0d3ddb67b109cabfdd33de561bf65930e7285203bdce37f6730f33a
|
DIST patch-6.1.40-xanmod1.xz 2285732 BLAKE2B dabcb75752aabe52481603d16b1410b186c310ef002c456766a454dd123bb2a22b7df272f60a9f19ffe13241e093489ea6e2dab6cd6b185420d16cefe3e14b7b SHA512 f2ae482f47ad345ec0fdcc03ab3d14c26bcd5ae91ede822ba165f002cc7bc585245edc09e0d3ddb67b109cabfdd33de561bf65930e7285203bdce37f6730f33a
|
||||||
DIST patch-6.3.12-xanmod1.xz 888304 BLAKE2B 24f8d2f9b3100d518bb1b39ca03356a8948c948b3b56bbde9a649be2e66ca66bd4032e636d15b66028000c3294398e4da04c0089cd622c3a1f7b0df2aef43885 SHA512 21673000aef04e42325aa46a7100d96e0abed6f85e7e1a83340f89a7d38ae02a979653446feb8369916542e6cea4f66f3978967aec8ea6d6793d1def93377b25
|
|
||||||
DIST patch-6.4.3-xanmod1.xz 174692 BLAKE2B 40fa039c5c5360321f3e4cbf856603c3ad3ca205c0b39e193032678f4cbd54098bef0d2a3ba78e96f5e34e42e5495a910e85a45c135e2c65412d566ad451560b SHA512 f64c18457e39e5a9904e4f62eba5dc67110743b485a7bcddb6abb0e5b122bca67a72b1aaf53e7ed6a1a24eacd76783b9c11191235ec1022d033b9b8b30a878f6
|
|
||||||
DIST patch-6.4.4-xanmod1.xz 456008 BLAKE2B bd4b44dd5a3f92051fab1acb947bc9ade0345784100efcb6b9749c1699f116f6425780e0a488bf527a8cb0de8292a4c89aa9a17744286af736015d68be15c98f SHA512 6c331a8876bdaed6e24c759ab883e6079a3806a2bdf3c895e0aa736d22c9e676877090f5621f48f17fa2dd73bb6491941c5a1826801796e36fa85cdce38a18f7
|
DIST patch-6.4.4-xanmod1.xz 456008 BLAKE2B bd4b44dd5a3f92051fab1acb947bc9ade0345784100efcb6b9749c1699f116f6425780e0a488bf527a8cb0de8292a4c89aa9a17744286af736015d68be15c98f SHA512 6c331a8876bdaed6e24c759ab883e6079a3806a2bdf3c895e0aa736d22c9e676877090f5621f48f17fa2dd73bb6491941c5a1826801796e36fa85cdce38a18f7
|
||||||
DIST patch-6.4.5-xanmod1.xz 550912 BLAKE2B 37c558ea47e3e75ffc24bde32c5fbc721f8637bb6d0f16f83172f5c790862cbe25662f3371fc8790edd1aa56262a3b14dcfc95ce71a7de89605b2af258af4dfd SHA512 e24b3777b1dad23e8b34a24733c2ad0cfb88bc2f99ad7466db0feeea5605ea64244b5ecfc116cee08f32978cb93d1e2e628bcb661ca1ea516a3ef5582b093508
|
DIST patch-6.4.5-xanmod1.xz 550912 BLAKE2B 37c558ea47e3e75ffc24bde32c5fbc721f8637bb6d0f16f83172f5c790862cbe25662f3371fc8790edd1aa56262a3b14dcfc95ce71a7de89605b2af258af4dfd SHA512 e24b3777b1dad23e8b34a24733c2ad0cfb88bc2f99ad7466db0feeea5605ea64244b5ecfc116cee08f32978cb93d1e2e628bcb661ca1ea516a3ef5582b093508
|
||||||
|
@ -1,78 +0,0 @@
|
|||||||
# Copyright 2022-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit kernel-build
|
|
||||||
|
|
||||||
MY_P=linux-${PV%.*}
|
|
||||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 6 ))
|
|
||||||
GENTOO_CONFIG_VER=g7
|
|
||||||
|
|
||||||
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
|
|
||||||
)
|
|
||||||
|
|
||||||
kernel-build_merge_configs "${merge_configs[@]}"
|
|
||||||
}
|
|
@ -1,78 +0,0 @@
|
|||||||
# Copyright 2022-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit kernel-build
|
|
||||||
|
|
||||||
MY_P=linux-${PV%.*}
|
|
||||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 4 ))
|
|
||||||
GENTOO_CONFIG_VER=g7
|
|
||||||
|
|
||||||
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://github.com/xanmod/linux/releases/download/${PV}-xanmod1/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
|
|
||||||
)
|
|
||||||
|
|
||||||
kernel-build_merge_configs "${merge_configs[@]}"
|
|
||||||
}
|
|
@ -1,78 +0,0 @@
|
|||||||
# Copyright 2022-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit kernel-build
|
|
||||||
|
|
||||||
MY_P=linux-${PV%.*}
|
|
||||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 ))
|
|
||||||
GENTOO_CONFIG_VER=g7
|
|
||||||
|
|
||||||
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://github.com/xanmod/linux/releases/download/${PV}-xanmod1/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
|
|
||||||
)
|
|
||||||
|
|
||||||
kernel-build_merge_configs "${merge_configs[@]}"
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
# Copyright 2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
DESCRIPTION="Virtual to depend on any Distribution Kernel"
|
|
||||||
HOMEPAGE=""
|
|
||||||
SRC_URI=""
|
|
||||||
|
|
||||||
LICENSE=""
|
|
||||||
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}
|
|
||||||
)"
|
|
Loading…
Reference in New Issue
Block a user