sys-kernel/xanmod-kernel: add 6.1.54, 6.5.4
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
059e2bfd6e
commit
1f307a7be2
@ -2,15 +2,21 @@ DIST genpatches-6.1-58.base.tar.xz 3336552 BLAKE2B bea24fa334dd00948056ec5c1e18b
|
||||
DIST genpatches-6.1-58.extras.tar.xz 3812 BLAKE2B 16953223f8d699527c36c16c45e20be26ed8afe6ebb6eb2badb8f2f303f6d22d1ea351b6c16c0b14110580275c50b074560d4e2b79851850c20ffe6e279b8287 SHA512 23ac18840460888f60b1f35f2625c9e4cefb31a61d9a8449ff890cf29c7f9ad61416da95d198e197bb6cd30dedeeb20466284bab7f5fd7a8f103c5a1b055ed31
|
||||
DIST genpatches-6.1-59.base.tar.xz 3488836 BLAKE2B 5e92e2d1c4ab691284991ae953eb4ec8f6ae5580d2ec410b94d4bd0c8644752d4be1fb962eb5f315b22d811bd49983f2fdb352523547d973fd712fe117f4452d SHA512 29963613fbe41485226137bb35e77daa4d4b2fb8eea6c18c6d9713f1d5cd27192273b3337ca4c02af6d2dba04c564be66edfda6ea6dbbebc22b9358875860288
|
||||
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.extras.tar.xz 3812 BLAKE2B 2c6cf3ccdef6c66bc321654e84582e0e0b0e8beb68a6fc390b2d526fd2da1f38603389a8aeeba031fb09a5e8493a0de3fbc944c172f7cb17d26dd91053817a17 SHA512 1a5bb61de1d22749d6dc9a1d3798d825a936cad0bcb045b52fd163fcd3381f8d284187b86c03a0688047d8720b2c387ec86202456df8b46e7ae84f9b0e37569f
|
||||
DIST genpatches-6.4-17.base.tar.xz 818408 BLAKE2B 71e3e8271b5ba2788bb52f42e8cf7846375856d0a946188c01e1e20f4bd2001817837910d9272c5e70cffd539d7f9e30dc89d7378501f18ebff678d699824e3b SHA512 bd11bee4f21132321da063dfd66f506e67e5528fa6aafddfb483067a0ca02e92ef71a83c02bbe601e434d5c77649f17c7e9d9e34ba1c9f06084eda79906b73a3
|
||||
DIST genpatches-6.4-17.extras.tar.xz 3696 BLAKE2B 6a9be135efa7a8fdc0ebafd41ed2f8794530e6052d3a955d6142c03d7f134d2157efbdaef071c0b0f362406e42a404f385bb4c73717b24e427a4a6e886ea1504 SHA512 191a861faefd72ce25d4a6bf873488e5b8625b70f46bd1bf1f36125483ecffcd00cb5c3a7a07e2cd5d97d5f140d8ddb9897e80fa010492e64435340eab9c76bd
|
||||
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-6.base.tar.xz 359376 BLAKE2B 1f549c4adf228ad742095464dca36c704d58b2ef5339c9be0b65ac1d48599bc2127dc6f70461fdad918d46b3ae8b6e18a5fcb98da5a4ab7bb6f7f89ea3701d5e SHA512 f341a401e95d8f34c6fd6edb35224eb6b9fbddcd6e29de52b33ad3b9f4346c822bf947a971ce512007e709e325b6141bd7e3782989740f0ae540a14bcefe593f
|
||||
DIST genpatches-6.5-6.extras.tar.xz 3696 BLAKE2B af6aff8421a6d4c205e93b38f4fc3294f609b8ce4f04a472d22ac867a8abe5458e2a29a4ac16d41298cd00d5a1ef589b4579317486464236843b839641b0e277 SHA512 089c87f1c476a391811aff7ef25ed6a0fe049d2738915dd5ecb951253762c9012b25d7e4abcbb5bbc81622aa16482ac7351797ef9c6b9ef9157c83e77fcea415
|
||||
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.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688ff8959f5c65485f7f6bef26590412c66821e720de843cb8666f226c90 SHA512 11a48b25e0b513782d3b89101c2ec8dd9cefd6ce08dc63a91137903b66392aa72ca1fe32816710673af84dd47de3ab8738056a6af93dc0d5e60ef4b869b49928
|
||||
DIST linux-6.5.tar.xz 138898084 BLAKE2B 2e641b79a080e8f4ce283bcf6b74e2c6f15a374367f1c4c875c663868dbe801317340824fb3adb46b3a51d3b7e1f67cc4e8144d367621ec43ffba5c4eb8abb39 SHA512 1b59dc5e65d4922c3217a8c8f19022dfd6595ae89747861d825bfeb51a4ae6c85449d05db69635a712bef7b355b80318195665582d8933b1fed6ba582f6ff257
|
||||
DIST patch-6.1.52-xanmod1.xz 2573404 BLAKE2B cddb7aaf9c3ad6109448814329b730b3b3227d4470bf5502db1c485ebd859ef21351f31df7cff5eb87fcf6e08cab0aa36e9195f5609b5d94c589a7a86507c68b SHA512 8fa14ab6f9feb216c478678295757b3f9d901df20bf62018cda753ad44e666b6ca7f26dea3026b4cc1fe2e0abbbd53915eb005afeccc1c0385272c484c47378b
|
||||
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.4.15-xanmod1.xz 934176 BLAKE2B ddf924e34e8f5ff02346164e59914c65f9bc40282e70edb8a91c0a20b7ad8f7eaa5a157b5f2db030c34208cd7ff8d1fdde05d55ce01b6f69e22aac19f618fea0 SHA512 e03ba09ad5cac975700992ff7abbed07da7ac29c04ba5d1b1c37b0c648e0ab96ddb176890a021f6aac89be69be70ef69c66d8ca05016dea28268ca569e5a5812
|
||||
DIST patch-6.5.3-xanmod1.xz 386904 BLAKE2B 37e9b7bb80088afab95a8d1c346100f1dbf0d4795d4a29d9f58439cc54375e14735df70c3e3653a9268cb56b97fee134c2fb5b22c39f72721fcba5c190549899 SHA512 ad5da4ebfc722b5e956e984d8bb5e40511294984f0c915a511d93406c731eef27f53f7dd64c61e20e09069107e36b781553565c68f00b8522dc6c99af26980e7
|
||||
DIST patch-6.5.4-xanmod1.xz 484288 BLAKE2B 46afd33ff31ba444a70ce5f120c5a5378fc422a68cb78b5dcc7f672f1ace510ea780f6a4c899148817f859ee0a2304e4575b79e72d8a6ae931e96bdaaa63ea67 SHA512 a81a3922b0029f84414abe8f663f381de8103b52f5e75ba1e15a9b4815c511d1d5bbb05f95ec9e8830b5d7ab494b23e559b499ba93801b934d41f5ee1ffe3ef1
|
||||
|
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.1.54.ebuild
Normal file
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.1.54.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=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
|
||||
"${FILESDIR}"/no-debug-extra.config
|
||||
)
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.5.4.ebuild
Normal file
79
sys-kernel/xanmod-kernel/xanmod-kernel-6.5.4.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=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
|
||||
"${FILESDIR}"/no-debug-extra.config
|
||||
)
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
22
virtual/dist-kernel/dist-kernel-6.1.54.ebuild
Normal file
22
virtual/dist-kernel/dist-kernel-6.1.54.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.4.ebuild
Normal file
21
virtual/dist-kernel/dist-kernel-6.5.4.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