sys-kernel/xanmod-kernel: add 6.1.39

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2023-07-20 04:15:07 +03:00
parent 5192108c0b
commit 948cc7dd47
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
3 changed files with 103 additions and 0 deletions

View File

@ -4,6 +4,8 @@ DIST genpatches-6.1-42.base.tar.xz 2681352 BLAKE2B 8d16c71a41bba911a9ed73e8ff557
DIST genpatches-6.1-42.extras.tar.xz 3808 BLAKE2B 6a9159e3859740d4b14bd081aa6df1dbeeed5f322a3aa3df5b8cb942884b068e713815d7284f71ffcad95339928c120661c0b7a85e7c168b27d3daf88251bd18 SHA512 a6cb074fe4fafb8a336872ce7c5761ac1fe3e3e84836949803c4a46e9bf783d38a4ced188830158493f64518418c46228bc4f79f669258de5ac6b2e1714f7a4b DIST genpatches-6.1-42.extras.tar.xz 3808 BLAKE2B 6a9159e3859740d4b14bd081aa6df1dbeeed5f322a3aa3df5b8cb942884b068e713815d7284f71ffcad95339928c120661c0b7a85e7c168b27d3daf88251bd18 SHA512 a6cb074fe4fafb8a336872ce7c5761ac1fe3e3e84836949803c4a46e9bf783d38a4ced188830158493f64518418c46228bc4f79f669258de5ac6b2e1714f7a4b
DIST genpatches-6.1-44.base.tar.xz 2683644 BLAKE2B d0264b6d6456fb2e6a67c1240cd3fbb95eef61701bf953df6e25e37a12fb12702b57f66e30ac757f28d9d1bcd0f2fbc38775d5b73922504084ff95f9fda1d78f SHA512 e3777a612facad029782fe63abc702af06197521fcf90f4c80311fd7ad94739209573c7de910dfaeafd88948c2c3f3d29bb27f4fa1069475295b6f5b29e14116 DIST genpatches-6.1-44.base.tar.xz 2683644 BLAKE2B d0264b6d6456fb2e6a67c1240cd3fbb95eef61701bf953df6e25e37a12fb12702b57f66e30ac757f28d9d1bcd0f2fbc38775d5b73922504084ff95f9fda1d78f SHA512 e3777a612facad029782fe63abc702af06197521fcf90f4c80311fd7ad94739209573c7de910dfaeafd88948c2c3f3d29bb27f4fa1069475295b6f5b29e14116
DIST genpatches-6.1-44.extras.tar.xz 3812 BLAKE2B bd5605700d0b55036d186eca82031f1d38883fbb3e2e98f0b44269c914f5a2912c026bebfdfd3fdcd563b97d3167fb9908bd0e29422b02e9314392b3ad2281c5 SHA512 e274c0e50fc476bc071fc4d77623b75cdfdda51951f541f56bc4f8ab53da17e67f615c37d35c93290d20b51d3ab2eb923a8e147daec4c59d3d1c87d3e803beb0 DIST genpatches-6.1-44.extras.tar.xz 3812 BLAKE2B bd5605700d0b55036d186eca82031f1d38883fbb3e2e98f0b44269c914f5a2912c026bebfdfd3fdcd563b97d3167fb9908bd0e29422b02e9314392b3ad2281c5 SHA512 e274c0e50fc476bc071fc4d77623b75cdfdda51951f541f56bc4f8ab53da17e67f615c37d35c93290d20b51d3ab2eb923a8e147daec4c59d3d1c87d3e803beb0
DIST genpatches-6.1-45.base.tar.xz 2851860 BLAKE2B cd512077ba76f23b7109f30f9a981adbaafeafc3a2b69685620b0d67bf21b3d716cfd9c6328ed7c1d6cbeaef287876b7b63b112644546d2cdb63bdb85e4b082d SHA512 1c1fd3a35c6544a030856161d902895b90fb75ad315247204361cc151190828fbe99abc87979a9df24b3e8e02aae944a130cadee5fb059e2ef174b6bc9d1b037
DIST genpatches-6.1-45.extras.tar.xz 3812 BLAKE2B a3355cc91c618303f9490eb306639325e1b46a7ff9f6fc1f546ac1532d110d981ed316b9bc44abc624f70cb8e63ff512af2708b4cbc379a69df438c6792050db SHA512 e2413fc03401dd1dcaee49bdb2cf8cb7008451cf2fbc8635854da2148464ffe1bb49127d73e534c054e5e56514bf31f5ccca507f52845334133fe26846e244a9
DIST genpatches-6.3-13.base.tar.xz 754256 BLAKE2B ef146e227f2df785bb65d1cf8e50d786103aeed18a8f42e5584656f1999b943ac48db16d5cdc5917c03823364199284975837fabe9a777215373ae83e7206b99 SHA512 3df4532294febf47cb0291acdbf5ff137877186747ff7791f675686f2c08e14c0b8fd110e452c50172dc3d1b6a48bda604f6e577753380a4ab64502d0ec17724 DIST genpatches-6.3-13.base.tar.xz 754256 BLAKE2B ef146e227f2df785bb65d1cf8e50d786103aeed18a8f42e5584656f1999b943ac48db16d5cdc5917c03823364199284975837fabe9a777215373ae83e7206b99 SHA512 3df4532294febf47cb0291acdbf5ff137877186747ff7791f675686f2c08e14c0b8fd110e452c50172dc3d1b6a48bda604f6e577753380a4ab64502d0ec17724
DIST genpatches-6.3-13.extras.tar.xz 3808 BLAKE2B 87d56c9b4869ed1741878e8dc03adf97c77872a7eda00697b21a72584393eeb89d9124299aa14aac9f4790e2a90adb42038a226e08ef01a7d1906a381c7a7d2e SHA512 8e5ef88f45333e6afcd139b83698eb7a250c7db6882fe0409361d91a52fa6997fe57ef8ae1d3e5eb4b9306efab0d2fbbc96a4a3808925f15c305df6514159fd8 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.base.tar.xz 769112 BLAKE2B 5980cb83d7cc282d5fcca19385c3f4e3524a9a4a294b3e240391126de85f93f3f165ddedc4f70cee4da4f679eb84698e4f1925e7887f1622e6b935a27195f53c SHA512 31b8b2388476fde88c6128d82a394bca12baf550a8d64f9344831baef1d81b9649042ba4f7eff8dc33e68c02f8f73fc6a812de99bd940823f01c4a30348d16ee
@ -25,6 +27,7 @@ DIST linux-6.4.tar.xz 137794856 BLAKE2B b59eb04a8715af9f686978812e6d4a466172bb85
DIST patch-6.1.36-xanmod1.xz 2083812 BLAKE2B 357fdef2d7e3a0b77a795d5b970aa983e9a35971618a199c46dd440972fb4b27d2f3221534b2c96ef97b14e517175e6524964239c40ee243934bc41b48acd662 SHA512 63ff2037e55ac1678dc541f20b139e39e0753001db1591f5ddc07f5543695ba9e36ecee41db6a14e80610ac2a49f284ba3453bfeb4cc2645bab843f7b6780b2b DIST patch-6.1.36-xanmod1.xz 2083812 BLAKE2B 357fdef2d7e3a0b77a795d5b970aa983e9a35971618a199c46dd440972fb4b27d2f3221534b2c96ef97b14e517175e6524964239c40ee243934bc41b48acd662 SHA512 63ff2037e55ac1678dc541f20b139e39e0753001db1591f5ddc07f5543695ba9e36ecee41db6a14e80610ac2a49f284ba3453bfeb4cc2645bab843f7b6780b2b
DIST patch-6.1.37-xanmod1.xz 2097256 BLAKE2B 3af53937ee155beb913bc7a68d15e0486aae4e1e14a65dd3aa2043e76dc371a2166fcf81c1723555189e4940b01ab22081c33422b0f39676b50d753c16a0fddc SHA512 d5fe0291050f0132c9898fc4cb110d7888f6c02330e652b215b7a2d578d06192e36368a9fc2b1dd1b10a2de8ddd23d799f8efa14f01348f85a1245a11e0ea597 DIST patch-6.1.37-xanmod1.xz 2097256 BLAKE2B 3af53937ee155beb913bc7a68d15e0486aae4e1e14a65dd3aa2043e76dc371a2166fcf81c1723555189e4940b01ab22081c33422b0f39676b50d753c16a0fddc SHA512 d5fe0291050f0132c9898fc4cb110d7888f6c02330e652b215b7a2d578d06192e36368a9fc2b1dd1b10a2de8ddd23d799f8efa14f01348f85a1245a11e0ea597
DIST patch-6.1.38-xanmod1.xz 2099872 BLAKE2B 51aa659e40ecbd84fe68c3b280e7bf43462b160f029498a06a09d7fc838aecc61797b34553549e91d03b8a61340661b5d355249670b5d14acb7b45398aa1824b SHA512 7005c104e4648c33c9778ddbd7cc8b054546e205ac1fd4bfe36ad76a6a2013862f05f3246772c5d847fe571790f46521e55fcf90f86dc36c936ecb7b5f524d78 DIST patch-6.1.38-xanmod1.xz 2099872 BLAKE2B 51aa659e40ecbd84fe68c3b280e7bf43462b160f029498a06a09d7fc838aecc61797b34553549e91d03b8a61340661b5d355249670b5d14acb7b45398aa1824b SHA512 7005c104e4648c33c9778ddbd7cc8b054546e205ac1fd4bfe36ad76a6a2013862f05f3246772c5d847fe571790f46521e55fcf90f86dc36c936ecb7b5f524d78
DIST patch-6.1.39-xanmod1.xz 2236612 BLAKE2B c2941730002e6a46ef21d18a66395c3a994269483fe9d93eea93532e1408a237465981fa0375652c16536ab791e44cbe094b363eef056793596576b6ed6dbb8b SHA512 8f933298769dc398c92a08f2d35ffb67bfe4bf9ddcf26c731e8ad2887f9ca10342554caaaf2faaac4481a45c8fc3baf5a4bf11bea87b313c53316e18ed9fb3a1
DIST patch-6.3.10-xanmod1.xz 872104 BLAKE2B 3e57ec110b6df2e86eafc93bdc966d1291097d0b31b53ae0017315eca894e0648ed1ef22d9ae47958adac92d6c449b8139bf38b1c3d1607b0bbd98de424c2067 SHA512 e98094400590a3ef5828bab54e850a8a6cf4fa37e2d19b7251dd178298d050cc950fb29fedac2edcdd25b0bb48a913f3344bb252a964c5964b1e7a2f6b3d6119 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.11-xanmod1.xz 886088 BLAKE2B 9e182da8caf22ec1dfb5e11d21a1e730dfd014cd47bff762483139ed24d0ea44bec753ca397b651727f0d3e81d6e7aeb8afd2b43714e5a5c7a9309d634fefd28 SHA512 14cb2ff3e6f5ada1badb4aaa4c257f792bf08e6aeabe2827b285a1882a4bacf6ec098ba712bb8de29cdde1eaf1e7237bbb818fbe07c7eb632a80c6793c3d97bd
DIST patch-6.3.12-xanmod1.xz 888304 BLAKE2B 24f8d2f9b3100d518bb1b39ca03356a8948c948b3b56bbde9a649be2e66ca66bd4032e636d15b66028000c3294398e4da04c0089cd622c3a1f7b0df2aef43885 SHA512 21673000aef04e42325aa46a7100d96e0abed6f85e7e1a83340f89a7d38ae02a979653446feb8369916542e6cea4f66f3978967aec8ea6d6793d1def93377b25 DIST patch-6.3.12-xanmod1.xz 888304 BLAKE2B 24f8d2f9b3100d518bb1b39ca03356a8948c948b3b56bbde9a649be2e66ca66bd4032e636d15b66028000c3294398e4da04c0089cd622c3a1f7b0df2aef43885 SHA512 21673000aef04e42325aa46a7100d96e0abed6f85e7e1a83340f89a7d38ae02a979653446feb8369916542e6cea4f66f3978967aec8ea6d6793d1def93377b25

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##*.} + 6 ))
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
)
kernel-build_merge_configs "${merge_configs[@]}"
}

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