sys-kernel/vanilla-kernel: Bump to 5.10.255

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-05-08 18:24:17 +02:00
parent a7f1d2922c
commit 76cf0b019d
2 changed files with 150 additions and 0 deletions
+1
View File
@@ -53,6 +53,7 @@ DIST linux-7.x-sha256sums-20260507.asc 2539 BLAKE2B 1f4bf11aaac21cc5219780f8033b
DIST linux-7.x-sha256sums-20260508.asc 2872 BLAKE2B f6bd251e543edaf6f8fc1c5f49cfbf4463893ec9ce3fc8763182bcf5c7705812f056010d6647e0b9068cd60f3c5b7f3df28ec89b971bc21f42d7c742c1a92870 SHA512 f22fc5633df2be72a5eae7c391b20786c0109e214f42709d47ff13311eddc22e31f953958211122ae786fee595d1f06915f16717aafaa7b2557ff88dd7a1e3fb
DIST patch-5.10.253.xz 7248732 BLAKE2B ea684b60dfb1c3b28f5f530d46e8933fa4ff3f4ea1a6498b9cfe8c995621f27d824fe8b40686494549981ac6e30c809cd626eef6a9536f44c929e91d28c5e2f1 SHA512 f195170a0e6f924aa114f66fb72fccf19bec43c4b69d15dd94052f6e00bcfd671a30d47cc1b86617d9bb6943e05df22d6df0a32dbfd5effb65b98f1c4fd99ae3
DIST patch-5.10.254.xz 7254948 BLAKE2B c409ba9cdc2f8280c8b947a1901980db9ed886f7aa2baad24524333a5bb855a60ae05747b745a830beaadc8500177b6b736dc0fd7266f556d9c141600a90e24e SHA512 1859322a2f1b7a40bafe6c8c386b44ec92801f7c42b4c917fa5e755b3ecee50e53a48ed004546369d0c6ce656e5a5802d6ad10fef86f47fa5881919abb176e40
DIST patch-5.10.255.xz 7255244 BLAKE2B 98334dc40a3176537c704eae6639e9b9a697857ea4911814d87d8ce92cce9a668ba166f27d850b8cf7325d15fe392ae56dab21ac62c7ceca1df46d36456858d8 SHA512 858cf5512d2e9e1217c98eea14be877c87aedee10db3304672719a83efc11839c1ea104b04b5e4bfedc4669707e5a2064e78d6ff293a21c527455dc0b90c8b33
DIST patch-5.15.203.xz 7676312 BLAKE2B 3a0e051b3c93864baab5c7f4757c6b147b17a75a1347e65f4c37bb83c268ab2d6f1c1258e7195b777f588f86b02e69416b96831d9284da8e9d3e52ccc153d5e5 SHA512 fb4dd6a04e408a3cd12963427e1b9acef6ecabb3feaf3e4721588c428d26e6c184b1c673b35f4ddda0d669a27d013c6c6e906289493546df82960d409581e903
DIST patch-5.15.204.xz 7681224 BLAKE2B 5f876404ff1acf25e2553dbb62658d1ab205207811296f0119fae04aca751484e93c0146d019199b406af7a9d79a589bec8b0290730cf2367fd3fa823d74226d SHA512 f0a9ad08dbfc324a8e063fa7c656557ad46dec323f986df01bb722259cfd325b39551c9c2c485ca3b1a2447bdc9c589384992742728a9523bf2aa152d988eeb5
DIST patch-5.15.205.xz 7681604 BLAKE2B f725a94358f57c05205d7d9c129d1611289ee313283117b52509fed61f9de71193711a16e4e5753ed9385759a6c0af1ee253e600d3021739407202c3fe98f86e SHA512 54f3005e068a0586955a326b2de6833ae17150590ecee5a5d926ef4b29664e8274d447b6a8950653e7f6af4a567d6f7a5801c9c65895dd882f889da4b255dc81
@@ -0,0 +1,149 @@
# Copyright 2020-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit kernel-build toolchain-funcs verify-sig
BASE_P=linux-${PV%.*}
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
CONFIG_VER=5.10.12
CONFIG_HASH=836165dd2dff34e4f2c47ca8f9c803002c1e6530
GENTOO_CONFIG_VER=g17
SHA256SUM_DATE=20260508
DESCRIPTION="Linux kernel built from vanilla upstream sources"
HOMEPAGE="
https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
https://www.kernel.org/
"
SRC_URI+="
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${BASE_P}.tar.xz
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/patch-${PV}.xz
https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
verify-sig? (
https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/sha256sums.asc
-> linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc
)
amd64? (
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-x86_64-fedora.config
-> kernel-x86_64-fedora.config.${CONFIG_VER}
)
arm64? (
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-aarch64-fedora.config
-> kernel-aarch64-fedora.config.${CONFIG_VER}
)
ppc64? (
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-ppc64le-fedora.config
-> kernel-ppc64le-fedora.config.${CONFIG_VER}
)
x86? (
https://src.fedoraproject.org/rpms/kernel/raw/${CONFIG_HASH}/f/kernel-i686-fedora.config
-> kernel-i686-fedora.config.${CONFIG_VER}
)
"
S=${WORKDIR}/${BASE_P}
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="debug hardened"
REQUIRED_USE="
arm? ( savedconfig )
hppa? ( savedconfig )
sparc? ( savedconfig )
"
BDEPEND="
debug? ( dev-util/pahole )
verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
"
PDEPEND="
>=virtual/dist-kernel-${PV}
"
QA_FLAGS_IGNORED="
usr/src/linux-.*/scripts/gcc-plugins/.*.so
usr/src/linux-.*/vmlinux
usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg
"
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
src_unpack() {
if use verify-sig; then
cd "${DISTDIR}" || die
verify-sig_verify_signed_checksums \
"linux-$(ver_cut 1).x-sha256sums-${SHA256SUM_DATE}.asc" \
sha256 "${BASE_P}.tar.xz patch-${PV}.xz"
cd "${WORKDIR}" || die
fi
default
}
src_prepare() {
eapply "${WORKDIR}/patch-${PV}"
default
local biendian=false
# prepare the default config
case ${ARCH} in
arm | hppa | sparc)
> .config || die
;;
amd64)
cp "${DISTDIR}/kernel-x86_64-fedora.config.${CONFIG_VER}" .config || die
;;
arm64)
cp "${DISTDIR}/kernel-aarch64-fedora.config.${CONFIG_VER}" .config || die
biendian=true
;;
ppc)
# assume powermac/powerbook defconfig
# we still package.use.force savedconfig
cp "${WORKDIR}/${BASE_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
;;
ppc64)
cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
biendian=true
;;
x86)
cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
local myversion="-dist"
use hardened && myversion+="-hardened"
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
)
if use hardened; then
merge_configs+=( "${dist_conf_path}"/hardened-base.config )
tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config )
if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then
merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" )
fi
fi
# this covers ppc64 and aarch64_be only for now
if [[ ${biendian} == true && $(tc-endian) == big ]]; then
merge_configs+=( "${dist_conf_path}/big-endian.config" )
fi
use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" )
kernel-build_merge_configs "${merge_configs[@]}"
}