sys-kernel/xanmod-kernel: add 6.1.35, 6.3.9

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-06-22 08:28:54 +03:00
parent b2ce756556
commit af055c895b
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
5 changed files with 204 additions and 0 deletions

View File

@ -2,14 +2,20 @@ DIST genpatches-6.1-38.base.tar.xz 1956240 BLAKE2B 65193574bdd8fdf4dc5d78af61672
DIST genpatches-6.1-38.extras.tar.xz 3812 BLAKE2B 648c0054d5088b51d17e8b825153c7fcc7988d973811dcae7ccd64bcd78b4634d410aaa848b3cb31272eec552ad410c705388b8887603d94b6cf5a5170f7b36d SHA512 313a119b47d954ebef9dea3a48024a8d4e7f3b4b62de74f19acdb997ece3e198872fc3c50e10171687b07e8bbf85c5b7dfd80045ed7184460fda3c68c29e8b9e DIST genpatches-6.1-38.extras.tar.xz 3812 BLAKE2B 648c0054d5088b51d17e8b825153c7fcc7988d973811dcae7ccd64bcd78b4634d410aaa848b3cb31272eec552ad410c705388b8887603d94b6cf5a5170f7b36d SHA512 313a119b47d954ebef9dea3a48024a8d4e7f3b4b62de74f19acdb997ece3e198872fc3c50e10171687b07e8bbf85c5b7dfd80045ed7184460fda3c68c29e8b9e
DIST genpatches-6.1-39.base.tar.xz 1991672 BLAKE2B 332dc85815f36c8d97a1d053732fabb029a55009edd98e4afc6487f50e2cfe6cb02db0e47a8518286260a9cf430c7113e79ee7cdde214e20c1828162c9dc5bd0 SHA512 02cbb9c6f1179ebe84804bc4ebad65030c0471af8b78f2417128c3cf41d3fdf2b944ce2fb6b2cee6e8427cba7ddd5694a7c851a82a2c46f02fc624bac3450930 DIST genpatches-6.1-39.base.tar.xz 1991672 BLAKE2B 332dc85815f36c8d97a1d053732fabb029a55009edd98e4afc6487f50e2cfe6cb02db0e47a8518286260a9cf430c7113e79ee7cdde214e20c1828162c9dc5bd0 SHA512 02cbb9c6f1179ebe84804bc4ebad65030c0471af8b78f2417128c3cf41d3fdf2b944ce2fb6b2cee6e8427cba7ddd5694a7c851a82a2c46f02fc624bac3450930
DIST genpatches-6.1-39.extras.tar.xz 3812 BLAKE2B f5f5b2820a14c40228ff46a76ef13323b7e3132bde16591e3d5dd5bff86aae5ee2b1e7ed890d88aaba374553fb22b0b09663df6f8da20f71ea6b0ba0d4bac4fe SHA512 556f0454983f6537d6fa8bec81df5b2eb94a4413111124c08aad7d0e050735eed69fbcf797c94873f5837325d99fdb24d0a2bc6bbaadee29e92637b46ca5849a DIST genpatches-6.1-39.extras.tar.xz 3812 BLAKE2B f5f5b2820a14c40228ff46a76ef13323b7e3132bde16591e3d5dd5bff86aae5ee2b1e7ed890d88aaba374553fb22b0b09663df6f8da20f71ea6b0ba0d4bac4fe SHA512 556f0454983f6537d6fa8bec81df5b2eb94a4413111124c08aad7d0e050735eed69fbcf797c94873f5837325d99fdb24d0a2bc6bbaadee29e92637b46ca5849a
DIST genpatches-6.1-40.base.tar.xz 2034256 BLAKE2B 7a95fc06c6d7f6f3f658d35b21a2761543444d9a95114665a9d74e8514a8577874009ecdd0dbac862359362cb0661b99d54e1c43fd8e5285dd148034fcc637b6 SHA512 645fca84ce19ef2bcd30861a2db5e6332294e3c5feb453ee0132f046c4c49e40a188fe53e27c543000ed04de531909c0500e9f571cac432f645774dc08db2e7f
DIST genpatches-6.1-40.extras.tar.xz 3808 BLAKE2B ee4162db692e272773091d94d06bd2ba11fac8ca9bd4da96396eb450a7ea0c933e49ae9f6a27fc453c40079054d9140578c9d4c80a835f6ced71fad20a29247e SHA512 07a61941a6e0174d309da302bfdde21dce57a7449f3f8263d9005fe0a9c47feae2a5b508062cabaf53f92d6f06724e1acc3c71422e4a8e9215c515d989567a81
DIST genpatches-6.3-10.base.tar.xz 593348 BLAKE2B e4d149963ca7d441b60d40af98939acdcc6163a09790ce103c78d33aa554de170136fbf8a4aa9285c5bde7fdd3cad54f73152d56038d7a299f8e69158b420d50 SHA512 7fddf9a02d8767c0236d8c3e1097a267d7f4961308eb08826299b596ba96b1e2fcaa84c22d986619e99aff3817f64fbc3740b87e5d0e1949dfe85d7f5450697f DIST genpatches-6.3-10.base.tar.xz 593348 BLAKE2B e4d149963ca7d441b60d40af98939acdcc6163a09790ce103c78d33aa554de170136fbf8a4aa9285c5bde7fdd3cad54f73152d56038d7a299f8e69158b420d50 SHA512 7fddf9a02d8767c0236d8c3e1097a267d7f4961308eb08826299b596ba96b1e2fcaa84c22d986619e99aff3817f64fbc3740b87e5d0e1949dfe85d7f5450697f
DIST genpatches-6.3-10.extras.tar.xz 3808 BLAKE2B 7a4885c76a17d73d7f03836d243bee424f5d4e4205a6547f1b4fcb709f4f6c2c4b1c61dd542b260a3e8dd724f98d851850eaf0930233988670c674a8a2928bae SHA512 f851bc9d10ad98ee74fb26344236670c0aaa218c4bf24eaf54e6376ca68d0626cc1d8f954a1dd3b61343dbd41a286d7c8d9a743ab50c295c0c729732cfb231c2 DIST genpatches-6.3-10.extras.tar.xz 3808 BLAKE2B 7a4885c76a17d73d7f03836d243bee424f5d4e4205a6547f1b4fcb709f4f6c2c4b1c61dd542b260a3e8dd724f98d851850eaf0930233988670c674a8a2928bae SHA512 f851bc9d10ad98ee74fb26344236670c0aaa218c4bf24eaf54e6376ca68d0626cc1d8f954a1dd3b61343dbd41a286d7c8d9a743ab50c295c0c729732cfb231c2
DIST genpatches-6.3-11.base.tar.xz 641372 BLAKE2B 4b2463552d359412969bc50e8c46aac52c23fe83deaff66eddacb48148921b4f88b019bd05b81f4ae2eb71710cad18613e5001dd4ab999d461f35cedc4c31409 SHA512 7632ff13835b971d44f582853cc54d539bde0ef1ca511ac179ff49143c1bae21e82da0048b6c45d36da5aefd92fa788b108e3f01d6fbf16534394ad7b143833d DIST genpatches-6.3-11.base.tar.xz 641372 BLAKE2B 4b2463552d359412969bc50e8c46aac52c23fe83deaff66eddacb48148921b4f88b019bd05b81f4ae2eb71710cad18613e5001dd4ab999d461f35cedc4c31409 SHA512 7632ff13835b971d44f582853cc54d539bde0ef1ca511ac179ff49143c1bae21e82da0048b6c45d36da5aefd92fa788b108e3f01d6fbf16534394ad7b143833d
DIST genpatches-6.3-11.extras.tar.xz 3804 BLAKE2B a3f7281d932090f92e4f230159d30a1b03e15e788cd03808f86d03f8df85bf0fd3a77871148af2eaae8637ea0b65e7e2c6ef9e02cd0992cc0b51924a422c5b6d SHA512 6a9d694ac9a9b3af9ac89d60fd48808fb70ee4266dc60deaecc4c2a3a48ec00aadac2074dd6cb86b698415ab24fb9b2da7284a85208e63cac7a4ec50eb423e92 DIST genpatches-6.3-11.extras.tar.xz 3804 BLAKE2B a3f7281d932090f92e4f230159d30a1b03e15e788cd03808f86d03f8df85bf0fd3a77871148af2eaae8637ea0b65e7e2c6ef9e02cd0992cc0b51924a422c5b6d SHA512 6a9d694ac9a9b3af9ac89d60fd48808fb70ee4266dc60deaecc4c2a3a48ec00aadac2074dd6cb86b698415ab24fb9b2da7284a85208e63cac7a4ec50eb423e92
DIST genpatches-6.3-12.base.tar.xz 691736 BLAKE2B 533383ee5f0bce440f9ceff66b75d742596d22113367560cf364243d90ee418d84868adedc62e74202fd5cc1c67e8efb8fdddae35e7ba12d2026be252b4005cc SHA512 8bf1fd11b3d5c3346923ce573dbc730204370b033825b9650bce83da2292dd8ce253e7e60bb23fcbcf902d0cef6b4b4b335df07c1db4c5fff477d2fece6e6489
DIST genpatches-6.3-12.extras.tar.xz 3808 BLAKE2B 08914680602e3a59ccdd2699b60b3707e40bd2dd28c87170e78701758f50ed2273d7b4b7e238cc6d6ae5819c48c2c8e744056e0ce964dfc900fad44dd628da5d SHA512 f99775c2aece8d77fb432fd9a013868d85cddba6546b6fa489c91b085b0ed35fc14e2e23c922d5b34f677994749e050f837112aa6c0ad171278481eca257606b
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.3.tar.xz 136891752 BLAKE2B f1887c8924efa8d0cb14c4e604affd0b0168bcf20f56a37c027405c7bc11aba822a43fcb38ccb55a81a26f747d00e1ab5a6554818affbf1e1c7ef5220150fc69 SHA512 768979440f4907ba64d4481b383d6101faf208f27a0b897156123aa278c5743fe3c4f61945b2541429c532d45382aaee8899ea9d44a1d2895bfbb79bfd937f65
DIST patch-6.1.33-xanmod1.xz 1969496 BLAKE2B 6d882a6bd7c24b1fecbc99138c55cf222d0cafb69e484d782d2b4e4ef4a98bc6e555dbbdcb179191816014ce3689d158a4f3e49e3036bfa75112a87c18482255 SHA512 e3c0aef7e577ca263754a91240eabd95468814a933c41f8edd58fd74d4d73c717dfce07c3a1c9b75cb2d964432e2b452565c5e8ee8c35fc12de0660db3bd31a9 DIST patch-6.1.33-xanmod1.xz 1969496 BLAKE2B 6d882a6bd7c24b1fecbc99138c55cf222d0cafb69e484d782d2b4e4ef4a98bc6e555dbbdcb179191816014ce3689d158a4f3e49e3036bfa75112a87c18482255 SHA512 e3c0aef7e577ca263754a91240eabd95468814a933c41f8edd58fd74d4d73c717dfce07c3a1c9b75cb2d964432e2b452565c5e8ee8c35fc12de0660db3bd31a9
DIST patch-6.1.34-xanmod1.xz 2000856 BLAKE2B 71a6faedd80d96a85b028b3cb7048dcd544ecb6852b109077a4d8f7e0a1e10c9759990166cfb51ecfb141716bcf7c842e88cc31566ed0354566e06522be09913 SHA512 e4fa5ff278861527d541ea0d4dfe86c8649d8e4791e711950ff90a7f8bfb9eb7f22e086046b0e5018e83e5ddc59fc260987faa78f41a70375fe5b36c8f3c5f7b DIST patch-6.1.34-xanmod1.xz 2000856 BLAKE2B 71a6faedd80d96a85b028b3cb7048dcd544ecb6852b109077a4d8f7e0a1e10c9759990166cfb51ecfb141716bcf7c842e88cc31566ed0354566e06522be09913 SHA512 e4fa5ff278861527d541ea0d4dfe86c8649d8e4791e711950ff90a7f8bfb9eb7f22e086046b0e5018e83e5ddc59fc260987faa78f41a70375fe5b36c8f3c5f7b
DIST patch-6.1.35-xanmod1.xz 2041668 BLAKE2B 603aaa663bfd099df23c0f2aa4463fe1c1a473f80ae4b9abf474fb9e6424a67a3e52c98eb24ef9cb5bf201c5756ca3266427c2ca2b7dd0d1625bfeff74e294b4 SHA512 3a693954ff6d1ca96c6007045ced149f55e87ce347c1d84aa7e226be650e4fbe932e57e4a26a4d2078a2e00a700f731e4d0b394292000925e59be2e0c753bba3
DIST patch-6.3.7-xanmod1.xz 719752 BLAKE2B 0f0a364dbec24511dc9c8c6d5d33160f94bf1062c14aceb0fb72ffcb52611e91e4031c42b72096da83685e0c5b017f459e9a2b59efe32f202234929cdb6dba01 SHA512 2e75d70c0422158a8ad6f5b52d91b67bf270f23a155c6e432527556b32576377b70a8ba7faffeda37445ecbeed00221305e2007d650a77905983ec7f60ec537b DIST patch-6.3.7-xanmod1.xz 719752 BLAKE2B 0f0a364dbec24511dc9c8c6d5d33160f94bf1062c14aceb0fb72ffcb52611e91e4031c42b72096da83685e0c5b017f459e9a2b59efe32f202234929cdb6dba01 SHA512 2e75d70c0422158a8ad6f5b52d91b67bf270f23a155c6e432527556b32576377b70a8ba7faffeda37445ecbeed00221305e2007d650a77905983ec7f60ec537b
DIST patch-6.3.8-xanmod1.xz 764916 BLAKE2B 81479f900567b6c13f64a6431dfdf3581f64ddd3ae20454e3ea42e4066198f9b146f82b3668c166c813ada14b9c93353fbae7fc1866fd20b2dbe801b8434aa40 SHA512 b922408825e1768487398a3894da739af348111a8fe43da8b0056ae46206f793b5c85145e8b57f4182595c26efd8b4da066da0aaf78d2b0242b41bba6d524c6a DIST patch-6.3.8-xanmod1.xz 764916 BLAKE2B 81479f900567b6c13f64a6431dfdf3581f64ddd3ae20454e3ea42e4066198f9b146f82b3668c166c813ada14b9c93353fbae7fc1866fd20b2dbe801b8434aa40 SHA512 b922408825e1768487398a3894da739af348111a8fe43da8b0056ae46206f793b5c85145e8b57f4182595c26efd8b4da066da0aaf78d2b0242b41bba6d524c6a
DIST patch-6.3.9-xanmod1.xz 813640 BLAKE2B 53a9313a42cec247563a620ec251f1c2f6ab0ff43fad5261595d2f97d738b011ddd521dbb42e09effd67cc32630c4b25247963dc29708ebcc02614e8036a877c SHA512 164beb6ab803db7693df697899614c6f5985b280c02e4f62d9f9bfee2ea1bad729e192fcce172d2fc57472afc5b4e4757425049e5e526ad1a15a830eb829fb9e

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##*.} + 5 ))
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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz
https://dev.gentoo.org/~alicef/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##*.} + 3 ))
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/~alicef/dist/genpatches/${GENPATCHES_P}.base.tar.xz
https://dev.gentoo.org/~alicef/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}
)"