sys-kernel/xanmod-kernel: add 6.3.12, 6.4.2

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-07-06 12:55:26 +03:00
parent 7400f624ef
commit 9592e296ec
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
5 changed files with 204 additions and 0 deletions

View File

@ -8,10 +8,14 @@ DIST genpatches-6.3-13.base.tar.xz 754256 BLAKE2B ef146e227f2df785bb65d1cf8e50d7
DIST genpatches-6.3-13.extras.tar.xz 3808 BLAKE2B 87d56c9b4869ed1741878e8dc03adf97c77872a7eda00697b21a72584393eeb89d9124299aa14aac9f4790e2a90adb42038a226e08ef01a7d1906a381c7a7d2e SHA512 8e5ef88f45333e6afcd139b83698eb7a250c7db6882fe0409361d91a52fa6997fe57ef8ae1d3e5eb4b9306efab0d2fbbc96a4a3808925f15c305df6514159fd8
DIST genpatches-6.3-14.base.tar.xz 769112 BLAKE2B 5980cb83d7cc282d5fcca19385c3f4e3524a9a4a294b3e240391126de85f93f3f165ddedc4f70cee4da4f679eb84698e4f1925e7887f1622e6b935a27195f53c SHA512 31b8b2388476fde88c6128d82a394bca12baf550a8d64f9344831baef1d81b9649042ba4f7eff8dc33e68c02f8f73fc6a812de99bd940823f01c4a30348d16ee
DIST genpatches-6.3-14.extras.tar.xz 3808 BLAKE2B d280e3791f1dc8aa1455666a7ec24188d8ad1e207f7cde4218bd30eefacdaf2bab8e2d21620077e3b02bdea06f03e936933de7d5f0cdd0303114901ee1bda703 SHA512 96abe3c0cb6f789026f10d1013b09c77d57c52c10ba46da5a6fb876f16540852d4604fd7838908fceebcbf651a6228af6fd213cdb535c905eae413973ee1f1dc
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-1.base.tar.xz 4304 BLAKE2B 66c721dee77d8bd64257000dcdc5ae8ffb1141bf8634670a57e356a1cfc9e73b26660aa63293f6d02bfdeed04db54f8b1a224ace9ea614bba172f593bd0c8918 SHA512 55bc76b8f4c4ec09419407b6a32d9ba1814afd0e30309edc5503d428ea78c6632d48e25781c8e9308ff90c96214ecd0cdc6e8f942614c9a9bc1dc2307ee4ee43
DIST genpatches-6.4-1.extras.tar.xz 3700 BLAKE2B 22a7977323c67d814184f3bac199adf6b1777a6db6a23ca72ac87a61b91a0a72b51127891412ea61c136dd9273a0862341d547daa27bc41a1f158274b7d3c294 SHA512 be85aa68830be0bee308a675c46675e25461f5f58d7dcf3fb77217de6ac28600c50104951550167c8b7e5de50ff37a01e0127337a1ffa4bb2e7ce1389ab91c2e
DIST genpatches-6.4-3.base.tar.xz 25048 BLAKE2B 750bf32cb337ef13a508b72c3b206ecf687470e9698b6ff8c1f742183d291222ec1cc6fa62b8391318d74143b7430d7489e4ac1d56295fbf188c7f5d76f096d9 SHA512 1a839f7043c8785e356d36c7b22fe44111ead16c38fae00cf02555cfd5fd9a4b1b6b1c0c239159355d7299eb4cdd5194c1777e67812c4b5c2da262087d518048
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 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
@ -21,5 +25,7 @@ DIST patch-6.1.37-xanmod1.xz 2097256 BLAKE2B 3af53937ee155beb913bc7a68d15e0486aa
DIST patch-6.1.38-xanmod1.xz 2099872 BLAKE2B 51aa659e40ecbd84fe68c3b280e7bf43462b160f029498a06a09d7fc838aecc61797b34553549e91d03b8a61340661b5d355249670b5d14acb7b45398aa1824b SHA512 7005c104e4648c33c9778ddbd7cc8b054546e205ac1fd4bfe36ad76a6a2013862f05f3246772c5d847fe571790f46521e55fcf90f86dc36c936ecb7b5f524d78
DIST patch-6.3.10-xanmod1.xz 872104 BLAKE2B 3e57ec110b6df2e86eafc93bdc966d1291097d0b31b53ae0017315eca894e0648ed1ef22d9ae47958adac92d6c449b8139bf38b1c3d1607b0bbd98de424c2067 SHA512 e98094400590a3ef5828bab54e850a8a6cf4fa37e2d19b7251dd178298d050cc950fb29fedac2edcdd25b0bb48a913f3344bb252a964c5964b1e7a2f6b3d6119
DIST patch-6.3.11-xanmod1.xz 886088 BLAKE2B 9e182da8caf22ec1dfb5e11d21a1e730dfd014cd47bff762483139ed24d0ea44bec753ca397b651727f0d3e81d6e7aeb8afd2b43714e5a5c7a9309d634fefd28 SHA512 14cb2ff3e6f5ada1badb4aaa4c257f792bf08e6aeabe2827b285a1882a4bacf6ec098ba712bb8de29cdde1eaf1e7237bbb818fbe07c7eb632a80c6793c3d97bd
DIST patch-6.3.12-xanmod1.xz 888304 BLAKE2B 24f8d2f9b3100d518bb1b39ca03356a8948c948b3b56bbde9a649be2e66ca66bd4032e636d15b66028000c3294398e4da04c0089cd622c3a1f7b0df2aef43885 SHA512 21673000aef04e42325aa46a7100d96e0abed6f85e7e1a83340f89a7d38ae02a979653446feb8369916542e6cea4f66f3978967aec8ea6d6793d1def93377b25
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

View 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##*.} + 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[@]}"
}

View 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[@]}"
}

View 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}
)"

View 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}
)"