sys-kernel/xanmod-kernel: add 6.4.3
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
b42e41f701
commit
ff520a9317
@ -16,6 +16,8 @@ DIST genpatches-6.4-3.base.tar.xz 25048 BLAKE2B 750bf32cb337ef13a508b72c3b206ecf
|
||||
DIST genpatches-6.4-3.extras.tar.xz 3700 BLAKE2B 2c009a6ca2b0c2cf7f9dede0f43f99297c3a71f99893341da83beaa777cfa3590d13b9b14aa94fb1b22f7073a81554d3d51a99db3cf6b6e66b4f428e661d27da SHA512 b2700b0402d6b0f85363fe3e5c0ce58d4abbc9a0fe578e6f9852a18e93c3312d4a78be0922bd549d5e16c4e56b12adb0a228ca90dd0ffac4a79e9562deeb0651
|
||||
DIST genpatches-6.4-4.base.tar.xz 28924 BLAKE2B 76cc494ba3a0ef5d6750c37837b8ee0a3cf2120a0af48f956fb8f0d1a94de2eca2f65bc0a48900c65aaaeb1b45489439ec53c6dfa7139d2628cb00a7eebe3c1f SHA512 bae02624ba68113d345a3b5254e8458efceaabade7f75f793646c3d8ca9e42dd93fc4bd8e37f82d30a9cad89373630065c889a741e7c3be9e7637d998469a923
|
||||
DIST genpatches-6.4-4.extras.tar.xz 3700 BLAKE2B bbf6343699087fb0bc88d1ef5435b143c6182640c30cea7a1931775722dad4462df583d5b36a4a7f0b4b8fb920479c28ec8896caca1012bc01ee84d92d937393 SHA512 e359fa241ebba5d837830f81499b42d704efd961ddf009f622585ecff447ef26240b3f449bb5667d9963a18eee2d04b8257784bad8315292a75f04a95643a310
|
||||
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 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.3.tar.xz 136891752 BLAKE2B f1887c8924efa8d0cb14c4e604affd0b0168bcf20f56a37c027405c7bc11aba822a43fcb38ccb55a81a26f747d00e1ab5a6554818affbf1e1c7ef5220150fc69 SHA512 768979440f4907ba64d4481b383d6101faf208f27a0b897156123aa278c5743fe3c4f61945b2541429c532d45382aaee8899ea9d44a1d2895bfbb79bfd937f65
|
||||
@ -29,3 +31,4 @@ DIST patch-6.3.12-xanmod1.xz 888304 BLAKE2B 24f8d2f9b3100d518bb1b39ca03356a8948c
|
||||
DIST patch-6.4.0-xanmod1.xz 149876 BLAKE2B ba9f06364a3877f2cffc1a74a928586836c21d0eb37615960991c2baa04224f349624e216e598f534bf84bdec159947de7e9a762fccffc96bca51b9fe0a5c9b6 SHA512 c23240b2d68e75e061eb706bc3b1d1113e416686ec2a720e813da59f42a34cd3199320bf85446c1cf21fb55b1b7c91a779219bb85e944d489cf4d0d250fe4e08
|
||||
DIST patch-6.4.1-xanmod1.xz 169400 BLAKE2B d8227986c7ea47f7ce4c4bff3e24d1dd1519608a9126c4a5c85d9de590bd78dfd9f26cedab0077ad7b52d1b7714cf5859d52a549157b196df9f5ec59ba292fde SHA512 82afc0ca75d18472b304cecdbd47079ef7e4f956b4cbd922ededcdee12bf577f14a9058ba16073947e36f394745f4fb8a0d4dc7679c76b1e4bfa68958442cdca
|
||||
DIST patch-6.4.2-xanmod1.xz 174024 BLAKE2B 5c26ce4f810c9cc274606f0c4b3f32f53a0e32bb64d7560360669e8d50875bea3dfeb7d5c85e289e2834f471012c97ff22e45d0cd2edde1d66403d8416ab72ea SHA512 8ef8c104684de7d818abf68dac673c0cf933b221c0a41ea690148b53fb1b800a6cdbb576cb28537fd2a6c597a764f815e4648bdc3df9ec4e02c994247fb75ad6
|
||||
DIST patch-6.4.3-xanmod1.xz 174692 BLAKE2B 40fa039c5c5360321f3e4cbf856603c3ad3ca205c0b39e193032678f4cbd54098bef0d2a3ba78e96f5e34e42e5495a910e85a45c135e2c65412d566ad451560b SHA512 f64c18457e39e5a9904e4f62eba5dc67110743b485a7bcddb6abb0e5b122bca67a72b1aaf53e7ed6a1a24eacd76783b9c11191235ec1022d033b9b8b30a878f6
|
||||
|
78
sys-kernel/xanmod-kernel/xanmod-kernel-6.4.3.ebuild
Normal file
78
sys-kernel/xanmod-kernel/xanmod-kernel-6.4.3.ebuild
Normal file
@ -0,0 +1,78 @@
|
||||
# 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[@]}"
|
||||
}
|
21
virtual/dist-kernel/dist-kernel-6.4.3.ebuild
Normal file
21
virtual/dist-kernel/dist-kernel-6.4.3.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