sys-kernel/xanmod-kernel: add 6.1.55, 6.5.5
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
af97654fe6
commit
88f044b455
@ -2,14 +2,21 @@ DIST genpatches-6.1-59.base.tar.xz 3488836 BLAKE2B 5e92e2d1c4ab691284991ae953eb4
|
|||||||
DIST genpatches-6.1-59.extras.tar.xz 3808 BLAKE2B bad1dc9ff79b84c02f4f634764c6fdf5ef437c14076048d2e0b777f0ec967fe3dc544739684b50533accdf22d3d85af2c0422ba1183ba4ee26590d02c155cf5e SHA512 451bbbb7bce1263d97bce0580729e0a948021734d6e546e318ab37da786a848d9c2376c9849894be9bc8028ee9afece670b86727ded1cf9857d236869c113530
|
DIST genpatches-6.1-59.extras.tar.xz 3808 BLAKE2B bad1dc9ff79b84c02f4f634764c6fdf5ef437c14076048d2e0b777f0ec967fe3dc544739684b50533accdf22d3d85af2c0422ba1183ba4ee26590d02c155cf5e SHA512 451bbbb7bce1263d97bce0580729e0a948021734d6e546e318ab37da786a848d9c2376c9849894be9bc8028ee9afece670b86727ded1cf9857d236869c113530
|
||||||
DIST genpatches-6.1-61.base.tar.xz 3552112 BLAKE2B 173e2e31b444f7d88a9f6ad2253be4a8c0c2dec500b63d3695949d875970d1162f88c68c3c39b62428b63ae3c20fe4e03b7cd69680f2b4ef54f34ba5c2ddb4a1 SHA512 01f20a5cc610ecfa3fe026f8d1ed9987babdfc2648a623d721b756e4b9d307dcbfc0cfae385c40066619a297258927493c757df94454bc1a8b4a96f8d415af5b
|
DIST genpatches-6.1-61.base.tar.xz 3552112 BLAKE2B 173e2e31b444f7d88a9f6ad2253be4a8c0c2dec500b63d3695949d875970d1162f88c68c3c39b62428b63ae3c20fe4e03b7cd69680f2b4ef54f34ba5c2ddb4a1 SHA512 01f20a5cc610ecfa3fe026f8d1ed9987babdfc2648a623d721b756e4b9d307dcbfc0cfae385c40066619a297258927493c757df94454bc1a8b4a96f8d415af5b
|
||||||
DIST genpatches-6.1-61.extras.tar.xz 3812 BLAKE2B 2c6cf3ccdef6c66bc321654e84582e0e0b0e8beb68a6fc390b2d526fd2da1f38603389a8aeeba031fb09a5e8493a0de3fbc944c172f7cb17d26dd91053817a17 SHA512 1a5bb61de1d22749d6dc9a1d3798d825a936cad0bcb045b52fd163fcd3381f8d284187b86c03a0688047d8720b2c387ec86202456df8b46e7ae84f9b0e37569f
|
DIST genpatches-6.1-61.extras.tar.xz 3812 BLAKE2B 2c6cf3ccdef6c66bc321654e84582e0e0b0e8beb68a6fc390b2d526fd2da1f38603389a8aeeba031fb09a5e8493a0de3fbc944c172f7cb17d26dd91053817a17 SHA512 1a5bb61de1d22749d6dc9a1d3798d825a936cad0bcb045b52fd163fcd3381f8d284187b86c03a0688047d8720b2c387ec86202456df8b46e7ae84f9b0e37569f
|
||||||
|
DIST genpatches-6.1-62.base.tar.xz 3593184 BLAKE2B b9ede84287025cfb00e4772aecef49bb1528e3d47a4bfba110dc019ea94ed6319db1831ee765a497150e410e0d66029317c9859e951672207664345750531d5f SHA512 e1f5c54758b001cb9c4be6fcf0e92ad95cfe213b32186be0160bf5980ce1c6a77150f26baf89bf5e23c10c9c96df6ae3b5d77e2d84a4b792a93bb968a600fe58
|
||||||
|
DIST genpatches-6.1-62.extras.tar.xz 3812 BLAKE2B 2f642be1d81a2e94221c9c713b8df8994953dcbac4d612bdad2f8e7d64111e8dfa4d988c105eea7d926e7fe08ec7232499e9bd8b8e2a9fccebf78d62bde91c43 SHA512 e06d58f69e3055ff38af09061daf6d0571590136fd154dd2ef2dfaca93d151391315abb5d45e252db4acadffbc7a87124c4ee50b6fffd278ce63fac819c38d12
|
||||||
DIST genpatches-6.5-4.base.tar.xz 258812 BLAKE2B df197ed4a66568eb823c889b15f126c66b6acb9a2cef224e198e576d601f1c5d1ba43bbecf510585adb93445f2fd634889714a31101fb2dddec67da9052adb7e SHA512 70b21a38cd4a2d1759819341365de33590d8d3f460d12cecd781dddbdc69e87e66f81389d8a1bea381bf74188c19b667d3c7789a92e3d8f80080982ba5d39872
|
DIST genpatches-6.5-4.base.tar.xz 258812 BLAKE2B df197ed4a66568eb823c889b15f126c66b6acb9a2cef224e198e576d601f1c5d1ba43bbecf510585adb93445f2fd634889714a31101fb2dddec67da9052adb7e SHA512 70b21a38cd4a2d1759819341365de33590d8d3f460d12cecd781dddbdc69e87e66f81389d8a1bea381bf74188c19b667d3c7789a92e3d8f80080982ba5d39872
|
||||||
DIST genpatches-6.5-4.extras.tar.xz 3696 BLAKE2B ca8bf3d3b195dbfea39b27b574ea3f3e99f843604ce8ed6ffac141e2e198a4721a943d24c0bfeb559570f00985e6371c7badb69e94542af7bb291fa2485d5425 SHA512 db11e8db7f3fbbed7a037c4a8ebe47accefa9794e8a201e6e022adcdfc628ce3d2db9ccdcb0b0133e3b7956fdab9f63fbc3140f1759b31d2c1878f4075de9d2c
|
DIST genpatches-6.5-4.extras.tar.xz 3696 BLAKE2B ca8bf3d3b195dbfea39b27b574ea3f3e99f843604ce8ed6ffac141e2e198a4721a943d24c0bfeb559570f00985e6371c7badb69e94542af7bb291fa2485d5425 SHA512 db11e8db7f3fbbed7a037c4a8ebe47accefa9794e8a201e6e022adcdfc628ce3d2db9ccdcb0b0133e3b7956fdab9f63fbc3140f1759b31d2c1878f4075de9d2c
|
||||||
DIST genpatches-6.5-6.base.tar.xz 359376 BLAKE2B 1f549c4adf228ad742095464dca36c704d58b2ef5339c9be0b65ac1d48599bc2127dc6f70461fdad918d46b3ae8b6e18a5fcb98da5a4ab7bb6f7f89ea3701d5e SHA512 f341a401e95d8f34c6fd6edb35224eb6b9fbddcd6e29de52b33ad3b9f4346c822bf947a971ce512007e709e325b6141bd7e3782989740f0ae540a14bcefe593f
|
DIST genpatches-6.5-6.base.tar.xz 359376 BLAKE2B 1f549c4adf228ad742095464dca36c704d58b2ef5339c9be0b65ac1d48599bc2127dc6f70461fdad918d46b3ae8b6e18a5fcb98da5a4ab7bb6f7f89ea3701d5e SHA512 f341a401e95d8f34c6fd6edb35224eb6b9fbddcd6e29de52b33ad3b9f4346c822bf947a971ce512007e709e325b6141bd7e3782989740f0ae540a14bcefe593f
|
||||||
DIST genpatches-6.5-6.extras.tar.xz 3696 BLAKE2B af6aff8421a6d4c205e93b38f4fc3294f609b8ce4f04a472d22ac867a8abe5458e2a29a4ac16d41298cd00d5a1ef589b4579317486464236843b839641b0e277 SHA512 089c87f1c476a391811aff7ef25ed6a0fe049d2738915dd5ecb951253762c9012b25d7e4abcbb5bbc81622aa16482ac7351797ef9c6b9ef9157c83e77fcea415
|
DIST genpatches-6.5-6.extras.tar.xz 3696 BLAKE2B af6aff8421a6d4c205e93b38f4fc3294f609b8ce4f04a472d22ac867a8abe5458e2a29a4ac16d41298cd00d5a1ef589b4579317486464236843b839641b0e277 SHA512 089c87f1c476a391811aff7ef25ed6a0fe049d2738915dd5ecb951253762c9012b25d7e4abcbb5bbc81622aa16482ac7351797ef9c6b9ef9157c83e77fcea415
|
||||||
|
DIST genpatches-6.5-7.base.tar.xz 428224 BLAKE2B 9038c1beda5e3778508a29ccb0f906520f93a505f9a45f7050c47814eaf2e474d46e3cb8760dcf5a3bfbc504c5c133f8dcd8b55261a3d0c824cb374a42d98801 SHA512 89942e28ec1c594401a4ecfd6ba240e334356be0f1f35e48dd9abb1f4ffd122a044a76079f214c534a6acada0db4b735a8fa8face05feeeba82e2b51231c0472
|
||||||
|
DIST genpatches-6.5-7.extras.tar.xz 3696 BLAKE2B 0cba288c1d1c753e5a317e87432dbdc2e711635cd074b1daac3b40af683da939981eaa40b8d4291ad59d4abb92aba5fc97be134524e02b1c2c29653382d7f402 SHA512 ea3bcaffbf58f981388c2021baeea809a35a1b270cff6a0613dce2da8ff8431886612d22073c7a8d6462d20eb1f27d0c0518164c14e4af96b9393bb6a1a038e4
|
||||||
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 gentoo-kernel-config-g9.tar.gz 4981 BLAKE2B 1881cb550ea9e274cb5bcc3bff5b1aa6f28bc218a09825c5ab3ba2bff4ee1826398c9fbecc513b6dd20d195fd5cf26e1e7c631bf66100ab1887705a8e04fc79d SHA512 9dc2f30a33aa19fed3006e93330210c9db613febd842467e40d51c47eccac1dbdcb5a7037e9174e92c29e2a85a52ef2c31bbe2a8cccc7a22320b3dccb8aab17a
|
||||||
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.5.tar.xz 138898084 BLAKE2B 2e641b79a080e8f4ce283bcf6b74e2c6f15a374367f1c4c875c663868dbe801317340824fb3adb46b3a51d3b7e1f67cc4e8144d367621ec43ffba5c4eb8abb39 SHA512 1b59dc5e65d4922c3217a8c8f19022dfd6595ae89747861d825bfeb51a4ae6c85449d05db69635a712bef7b355b80318195665582d8933b1fed6ba582f6ff257
|
DIST linux-6.5.tar.xz 138898084 BLAKE2B 2e641b79a080e8f4ce283bcf6b74e2c6f15a374367f1c4c875c663868dbe801317340824fb3adb46b3a51d3b7e1f67cc4e8144d367621ec43ffba5c4eb8abb39 SHA512 1b59dc5e65d4922c3217a8c8f19022dfd6595ae89747861d825bfeb51a4ae6c85449d05db69635a712bef7b355b80318195665582d8933b1fed6ba582f6ff257
|
||||||
DIST patch-6.1.53-xanmod1.xz 2702048 BLAKE2B cde0a2e617697318e4d0a069cc1660f5f1301725582151727c71b16130faa378245ea15216e71a559963b1ecdcda4486ac61a2b79439655e957e0dfe91c6ed39 SHA512 0d8919502ddbd96aa6b8e068cc3963e858da9e80e5797f074b427878eba064bdb459c5593504dc5895b719dd3364ef0dee88608dacf316c2325f1171505a26f9
|
DIST patch-6.1.53-xanmod1.xz 2702048 BLAKE2B cde0a2e617697318e4d0a069cc1660f5f1301725582151727c71b16130faa378245ea15216e71a559963b1ecdcda4486ac61a2b79439655e957e0dfe91c6ed39 SHA512 0d8919502ddbd96aa6b8e068cc3963e858da9e80e5797f074b427878eba064bdb459c5593504dc5895b719dd3364ef0dee88608dacf316c2325f1171505a26f9
|
||||||
DIST patch-6.1.54-xanmod1.xz 2754768 BLAKE2B de6d9d3bf5d983a030ef1b1754906cc6495cb498b2ccccec2e8e5e516742320690576016922c09efa0bea7ecc5e83b9a8d27f37c418d36c37fdf6d06bc3b328d SHA512 ed3cd5f0aad6a026d2f071cd9f87a9a9a1882eb7db1238568eeac83a388ea0d1fda151645ff993a955984bfed00f9d1289979e38e6dd8f1eadebbca94de800bd
|
DIST patch-6.1.54-xanmod1.xz 2754768 BLAKE2B de6d9d3bf5d983a030ef1b1754906cc6495cb498b2ccccec2e8e5e516742320690576016922c09efa0bea7ecc5e83b9a8d27f37c418d36c37fdf6d06bc3b328d SHA512 ed3cd5f0aad6a026d2f071cd9f87a9a9a1882eb7db1238568eeac83a388ea0d1fda151645ff993a955984bfed00f9d1289979e38e6dd8f1eadebbca94de800bd
|
||||||
|
DIST patch-6.1.55-xanmod1.xz 2787488 BLAKE2B d5178bffdcc3389efeba880316466ca967f96ab0de00404b5255c9d632645b9d7fae4bcaa58f4ef38fe392295c5ac009a7574c1c29f083ce0a6bbf58cfa34155 SHA512 626304941f7fa9d91cd7a7a07a2e05c83c96676917a4db48c84be87a72983541d9864f9266878babcbe84e43701826ee39b90352ee13450a312749b0f11275bc
|
||||||
DIST patch-6.5.3-xanmod1.xz 386904 BLAKE2B 37e9b7bb80088afab95a8d1c346100f1dbf0d4795d4a29d9f58439cc54375e14735df70c3e3653a9268cb56b97fee134c2fb5b22c39f72721fcba5c190549899 SHA512 ad5da4ebfc722b5e956e984d8bb5e40511294984f0c915a511d93406c731eef27f53f7dd64c61e20e09069107e36b781553565c68f00b8522dc6c99af26980e7
|
DIST patch-6.5.3-xanmod1.xz 386904 BLAKE2B 37e9b7bb80088afab95a8d1c346100f1dbf0d4795d4a29d9f58439cc54375e14735df70c3e3653a9268cb56b97fee134c2fb5b22c39f72721fcba5c190549899 SHA512 ad5da4ebfc722b5e956e984d8bb5e40511294984f0c915a511d93406c731eef27f53f7dd64c61e20e09069107e36b781553565c68f00b8522dc6c99af26980e7
|
||||||
DIST patch-6.5.4-xanmod1.xz 484288 BLAKE2B 46afd33ff31ba444a70ce5f120c5a5378fc422a68cb78b5dcc7f672f1ace510ea780f6a4c899148817f859ee0a2304e4575b79e72d8a6ae931e96bdaaa63ea67 SHA512 a81a3922b0029f84414abe8f663f381de8103b52f5e75ba1e15a9b4815c511d1d5bbb05f95ec9e8830b5d7ab494b23e559b499ba93801b934d41f5ee1ffe3ef1
|
DIST patch-6.5.4-xanmod1.xz 484288 BLAKE2B 46afd33ff31ba444a70ce5f120c5a5378fc422a68cb78b5dcc7f672f1ace510ea780f6a4c899148817f859ee0a2304e4575b79e72d8a6ae931e96bdaaa63ea67 SHA512 a81a3922b0029f84414abe8f663f381de8103b52f5e75ba1e15a9b4815c511d1d5bbb05f95ec9e8830b5d7ab494b23e559b499ba93801b934d41f5ee1ffe3ef1
|
||||||
|
DIST patch-6.5.5-xanmod1.xz 550712 BLAKE2B 89d376dc111bc7ebf9be563c1ef9d26fb93ef4cc5109f847f8eac9730a40d76f7f31cb55369303c32f416e11ccec501b5fe7ce264a113a1a344e89f9b710f1d6 SHA512 0a370268c797ef9a0bba3b9c38421a74085d75e685b04f3a7b3f59eb3c2e06c695573fb1c8e5253f9bce5df4a4fc0f3475f3ba7f11b9affb54e2367ca67ad19d
|
||||||
|
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.1.55.ebuild
Normal file
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.1.55.ebuild
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
# 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##*.} + 7 ))
|
||||||
|
GENTOO_CONFIG_VER=g9
|
||||||
|
|
||||||
|
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
|
||||||
|
"${FILESDIR}"/no-debug-extra.config
|
||||||
|
)
|
||||||
|
|
||||||
|
kernel-build_merge_configs "${merge_configs[@]}"
|
||||||
|
}
|
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.5.5.ebuild
Normal file
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.5.5.ebuild
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
# 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=g9
|
||||||
|
|
||||||
|
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
|
||||||
|
"${FILESDIR}"/no-debug-extra.config
|
||||||
|
)
|
||||||
|
|
||||||
|
kernel-build_merge_configs "${merge_configs[@]}"
|
||||||
|
}
|
22
virtual/dist-kernel/dist-kernel-6.1.55.ebuild
Normal file
22
virtual/dist-kernel/dist-kernel-6.1.55.ebuild
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# 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}
|
||||||
|
~sys-kernel/xanmod-rt-kernel-${PV}
|
||||||
|
)"
|
21
virtual/dist-kernel/dist-kernel-6.5.5.ebuild
Normal file
21
virtual/dist-kernel/dist-kernel-6.5.5.ebuild
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# 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