sys-kernel/gentoo-kernel: Bump to 6.14.11

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-06-10 15:15:40 +02:00
parent 46a763e1b2
commit 12822f6f9c
2 changed files with 154 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ DIST genpatches-6.14-11.extras.tar.xz 4052 BLAKE2B 808ddfabf47e276fb302c4a61230d
DIST genpatches-6.14-12.base.tar.xz 1074176 BLAKE2B 0079cfe4b65b5642db14c4de52ad136b749613f423f32352d8ed9a4b6b40b07cca3aecc87aa30b06ba464c01b4ccd50761f15b2374b8c61a043243a6385154cb SHA512 f4a6eb437d0b57ce2447749e6d1b3e9d09b424f67675aa4b0e33c36809b3c21629849988df095f54b2b20555cf56350e5d60be7808189001992fcc4e718f40d8
DIST genpatches-6.14-12.experimental.tar.xz 79812 BLAKE2B 7b67e02e6857d507c3dbdb06532af273b9107f84751c84d8061501825f97cce13c21e41a5b7dbc0cb7640441b435e37204b303b3bae5abe966938f549fa9d9a0 SHA512 e658226cfa5ba6339eb55fd81a0c05a644dc0c5d47cede75674b4a51d8915fa0eaf977e720a9fa1e26ef208c6ee884147e60de6110ced6d6c5e36684640482be
DIST genpatches-6.14-12.extras.tar.xz 4052 BLAKE2B 23e2cb9474397568265fd0c41edf34734b3194c26d25c2138e328596591057dc8d23f90be9e133a1d14c23df37663578c0117458ebe8c13e4ee0dbd4097b735a SHA512 535280d8e987b99291f188c98caac417a9b76a185ff3c721cc429336c779b11d426b71dd9205046787f19ff016a4cdf1ada8d06ea8d282632a4b97c1f1ef3d9f
DIST genpatches-6.14-13.base.tar.xz 1078940 BLAKE2B f72a720249e1af5c22857137f3723a7ba9b333d92270411906f7b05fb08acded1df888e71a009d342f0c9d4a0c14f6cecd5e0bdf267b6a5c956a7537bb05f6ec SHA512 3c26a84d2a04dbf0dd0765df2c9d7731f9d9a8eed919fbf3a6e55ffde40254d758ae2ad38e51c5edb2856e37c6bf1ed6f4be234cfb31615828fcfa998e7fd17c
DIST genpatches-6.14-13.experimental.tar.xz 79816 BLAKE2B 6bc9d11e6e286c7dc26176a20eae0374e8797fab6014060d0244ae17cc0827888fb4ce4f222fe89e22671654920a6ed5a24da3e5e5fd08fce09c4606e98b64f0 SHA512 8010772548d3000ea6f03c973219a798d29963867bf1be68e3077d772b81cbe4600ae853cae5f85c0a1a2fb7939510d7144a41a29cc0a3dd15c3e3c78792c2cc
DIST genpatches-6.14-13.extras.tar.xz 4052 BLAKE2B 54aa7ccfa296c21e1d058f364b5ad492cdc150f17d2a7d274b47d79ddea2aa64d955a3a8ca64e7ee4e641d1cd0d49fe1c3b83a5fc6dbba177ed679f269dd744e SHA512 07dc4bf9a76b88157465fce38bf66c20906d03e55d00f41ed62dc9bf56efd3d69a1791c1b0b192842365808e063d3042680146ec638f18641cfb0d117584dff8
DIST genpatches-6.6-101.base.tar.xz 5077712 BLAKE2B 42eb11265006d12e5f67d25d58dcd1188ce6c8b7fe5cec8b176030f36910ff77da5a362e1bc41d3e52790c5e77a2a71adc57f5e107a5818651226ed98a27828f SHA512 759cf775322ec77c85c6b4f5441c8a962cb75e13ccc8d73d366cebcfe75d97b688deed9c9c4e47257db349f950f33f5aa2a718fb2bc6a7a7cb7d75afe5b70d12
DIST genpatches-6.6-101.experimental.tar.xz 6052 BLAKE2B a09a12087a756637a6db92e8ce464e7f875f96ce72f860ccb79ed212c1100c675decc2eef84da9c85c62dbdbe6c513969a8412626acd5c92a6432bc6a5fb0d70 SHA512 2e597b4aa49af109adc04642fe76d26e2083c36d0cbed4e518b76515cafdc0bbc98c307e6addca7edbdf666313657e9ce718c42f6d02d647d018c65626a21003
DIST genpatches-6.6-101.extras.tar.xz 4056 BLAKE2B d83b765a55f25c4470ab6e5b3e8d2a00ed0a7dde2c5a29f2d68b18e6ae3f084cb653eecc47a9bb372b1ea9a65b727e6d9227f359547ca4a5fd70cc75aec41598 SHA512 516c38a41a9a3116b71729c44b3cdbe3183afb8f061e1b860d11bafa37415663807d470e8a9b4a35366b297a2946143d1393e46c6a2f755de82ef8f769121d1e

View File

@@ -0,0 +1,151 @@
# Copyright 2020-2025 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 toolchain-funcs
MY_P=linux-${PV%.*}
GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 ))
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
CONFIG_VER=6.14.10-gentoo
GENTOO_CONFIG_VER=g16
DESCRIPTION="Linux kernel built with Gentoo patches"
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/${MY_P}.tar.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
experimental? (
https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.experimental.tar.xz
)
https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz
-> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz
amd64? (
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-x86_64-fedora.config
-> kernel-x86_64-fedora.config.${CONFIG_VER}
)
arm64? (
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-aarch64-fedora.config
-> kernel-aarch64-fedora.config.${CONFIG_VER}
)
ppc64? (
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-ppc64le-fedora.config
-> kernel-ppc64le-fedora.config.${CONFIG_VER}
)
riscv? (
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-riscv64-fedora.config
-> kernel-riscv64-fedora.config.${CONFIG_VER}
)
x86? (
https://raw.githubusercontent.com/projg2/fedora-kernel-config-for-gentoo/${CONFIG_VER}/kernel-i686-fedora.config
-> kernel-i686-fedora.config.${CONFIG_VER}
)
"
S=${WORKDIR}/${MY_P}
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="debug experimental hardened"
REQUIRED_USE="
arm? ( savedconfig )
hppa? ( savedconfig )
sparc? ( savedconfig )
"
RDEPEND="
!sys-kernel/gentoo-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
usr/src/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg
"
src_prepare() {
local PATCHES=(
# meh, genpatches have no directory
"${WORKDIR}"/*.patch
)
default
local biendian=false
# prepare the default config
case ${ARCH} in
arm | hppa | loong | 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}/${MY_P}/arch/powerpc/configs/pmac32_defconfig" .config || die
;;
ppc64)
cp "${DISTDIR}/kernel-ppc64le-fedora.config.${CONFIG_VER}" .config || die
biendian=true
;;
riscv)
cp "${DISTDIR}/kernel-riscv64-fedora.config.${CONFIG_VER}" .config || die
;;
x86)
cp "${DISTDIR}/kernel-i686-fedora.config.${CONFIG_VER}" .config || die
;;
*)
die "Unsupported arch ${ARCH}"
;;
esac
local myversion="-gentoo-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
"${dist_conf_path}"/6.12+.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[@]}"
}