sys-kernel/xanmod-kernel: bump xanmod ver
https://gitlab.com/xanmod/linux/-/issues/405 Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
1b1379cf7c
commit
9fec0f27cc
@ -19,7 +19,9 @@ DIST linux-6.9.tar.xz 144034416 BLAKE2B 4cf86c3cfe6e6534745d42dfaeca59b17ea1168c
|
||||
DIST patch-6.10.2-xanmod1.xz 143344 BLAKE2B 90ccd2dfeb80d188c853f065412e2ec9b6571d66fce0a2bb3d7696b4d64453ca506f3e7b1ea1185df2292d4865e62f4e246b899bb603d33c393146009e2c5fa8 SHA512 3ceb4e0c4ecb28816f0803999076cc6c046d97c30831bb9391ff0bcec18c1ed926ad35e8b318b00a7d601847b8af78aeaaeec4f991f8e77d91480802670f426d
|
||||
DIST patch-6.10.3-xanmod1.xz 377416 BLAKE2B 2913211e39e5508747c2cd1ef110b353561897b88f0b5dcbc86bbbc6286775baab3268272448d1d9011da989e0149617b416c48f675d6c8dd51a3e5e38318e4f SHA512 00895fed74599a1e32ac774bf1df3b2da26a8f3ed36c8d9eb26ef49c6e6490198e371d8d4fb4be591a9884f7e98392c111599cf3d064a083e9f67bc9611ec46e
|
||||
DIST patch-6.10.4-xanmod1.xz 427644 BLAKE2B c72b6210c01c91a137c49ca8b83d36c31648e305ff6e3d6f57e355870e9808353882cf103b03a0e2c11e6ad5b3f5ed556b070ab451d914148cbc86e5eed5fbc3 SHA512 bb6afcdad2649f2382c0a4dbfc47adc9a0c0094735b7912a663ee611900564c59e5b5bc38f8e99513418b55d12c61b27251480cfa4e65e97c8fa36da604d5be8
|
||||
DIST patch-6.10.4-xanmod2.xz 427556 BLAKE2B a5a18a8039628f8c7329fef928a8b8dddf3e817e087e81c7952291bf059f82c35921fe8f69910ec7102910aff8d4aaff97591654aa360b435db417592911eb06 SHA512 40788ecee134edd7cea54c741d4f427cb3630f82dead516b6f2b4311b306d7f4c8cfe78e6aef2f548e43b42e289cafad981604364c859ec01773ccf861879774
|
||||
DIST patch-6.6.43-xanmod1.xz 2565432 BLAKE2B 912185fd5f37f7b30b941f71098da9b6b89c915404892327c656fc01b53da33fb50e0d57fbe4c4be47e2e686f8e3fa5a3c5e832a12a7a77316a6af64a8cffa12 SHA512 bc5a4058d0d21e18d022710b2e5ebf200aed91ba33c69c36252cfdfe89661b8c03bcd84f9d9c67d90c73c69428be317d70554a5ce43784ee4d09a8ec9f6028ee
|
||||
DIST patch-6.6.44-xanmod1.xz 2692656 BLAKE2B b68eb4b3aa6642c80963eede847dce9c91fab972f7f694e5a9ee12670b234dd83a00858561f0594e848088b56703a28f14090489d19fecee6185bdeaa1d74711 SHA512 62ba9a12495575989d152157c411a6fdbb4a656d99396ddd85cefb498782f2256d4420da50a526b8bc5c1f0b18efa4e0d5df4f9b453240238408336222b1a214
|
||||
DIST patch-6.6.45-xanmod1.xz 2721424 BLAKE2B 97ffd63c0e45b0a3e258262c736a00389e470d04e03954134a550da5b46b09e46087cb416cd661053fe0e21bbcb74cd3fbec20518e16c0d98d35d2ebf517a69c SHA512 4402862bbead0fb72563cdcbd20be259a397e31c5e62f430927b6ba9bde6bda623029a0bcf3a31cec1c79f7b98c974207548b30dbb1f7c753de78b1e697e3bd8
|
||||
DIST patch-6.6.45-xanmod2.xz 2721176 BLAKE2B 35d0d31c430feeb39f8e59485757b63e980b48a27951d99cca01988eae4670ec2b7ff4c547a6b6fb150915228754b1c53c7e4d637afa4f67d61b0fe1cafa9070 SHA512 98f53b2d6a1b61de64b644016c69d362fad318c46e5ecb4f4917e73c58f970f710ee83c713aa36f895b7212b2ebc62b8e9b32ba2a7b4f7e2e8356b211522957b
|
||||
DIST patch-6.9.12-xanmod1.xz 804592 BLAKE2B adb8fa52b9adc6d46c21b7854a1fe69e4702a2262c1f5eb88dcb1854252b24c5dd52431351494f4f841c8dfc0cf9f09633a7138b1f3369281e496b217c4618b9 SHA512 d2b344e056ac0fa582866dd8ee8a3adc98baf90c36fb1a80dbde9371b4ff2f261c28e1f6ea01ce84a5b4e26ec286ca4ec939f3b5655081307bbed6eb783b70b2
|
||||
|
88
sys-kernel/xanmod-kernel/xanmod-kernel-6.10.4-r1.ebuild
Normal file
88
sys-kernel/xanmod-kernel/xanmod-kernel-6.10.4-r1.ebuild
Normal file
@ -0,0 +1,88 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_GENERIC_UKI=1
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 3 ))
|
||||
GENTOO_CONFIG_VER=g13
|
||||
|
||||
XANMOD_VERSION="2"
|
||||
|
||||
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://downloads.sourceforge.net/xanmod/patch-${PV}-xanmod${XANMOD_VERSION}.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}-xanmod${XANMOD_VERSION}
|
||||
"${WORKDIR}"/*.patch
|
||||
)
|
||||
default
|
||||
|
||||
# prepare the default config
|
||||
case ${ARCH} in
|
||||
amd64)
|
||||
cp "${S}/CONFIGS/xanmod/gcc/config_x86-64-v2" .config || die
|
||||
;;
|
||||
*)
|
||||
die "Unsupported arch ${ARCH}"
|
||||
;;
|
||||
esac
|
||||
|
||||
rm "${S}/localversion" || die
|
||||
local myversion="-xanmod${XANMOD_VERSION}-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
|
||||
"${FILESDIR}"/x86-64-v1.config # keep v1 for simplicity, distribution kernels support user modification.
|
||||
)
|
||||
use debug || merge_configs+=(
|
||||
"${dist_conf_path}"/no-debug.config
|
||||
"${FILESDIR}"/no-debug-extra.config
|
||||
)
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
87
sys-kernel/xanmod-kernel/xanmod-kernel-6.6.45-r1.ebuild
Normal file
87
sys-kernel/xanmod-kernel/xanmod-kernel-6.6.45-r1.ebuild
Normal file
@ -0,0 +1,87 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
KERNEL_IUSE_GENERIC_UKI=1
|
||||
KERNEL_IUSE_MODULES_SIGN=1
|
||||
|
||||
inherit kernel-build
|
||||
|
||||
MY_P=linux-${PV%.*}
|
||||
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 7 ))
|
||||
GENTOO_CONFIG_VER=g13
|
||||
|
||||
XANMOD_VERSION="2"
|
||||
|
||||
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://downloads.sourceforge.net/xanmod/patch-${PV}-xanmod${XANMOD_VERSION}.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}-xanmod${XANMOD_VERSION}
|
||||
"${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="-xanmod${XANMOD_VERSION}-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
|
||||
)
|
||||
|
||||
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
Loading…
Reference in New Issue
Block a user