commit: a26f628593974b7c6b4bb25f95b4bd15d80dfefb
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 6 16:23:47 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 6 21:23:28 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a26f6285
sys-kernel/gentoo-kernel: Bump to 6.6.123
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sys-kernel/gentoo-kernel/Manifest | 2 +
.../gentoo-kernel/gentoo-kernel-6.6.123.ebuild | 177 +++++++++++++++++++++
2 files changed, 179 insertions(+)
diff --git a/sys-kernel/gentoo-kernel/Manifest
b/sys-kernel/gentoo-kernel/Manifest
index a120eb25576c..2ea521d30675 100644
--- a/sys-kernel/gentoo-kernel/Manifest
+++ b/sys-kernel/gentoo-kernel/Manifest
@@ -38,6 +38,7 @@ DIST linux-6.x-sha256sums-20260118.asc 193071 BLAKE2B
7705ec74114923142587c59371
DIST linux-6.x-sha256sums-20260120.asc 193071 BLAKE2B
7705ec74114923142587c593711533eb2a4c38356fa1a6e47a0a824d8c8f5cdf6e41b4c9e6f48fcd579cc9149597c85be997d5f09532e0f350626542cd1fa66a
SHA512
2a22041d1977810b2aa9898369a120b3462ad0c9ec647d1ffffd9f7c85c01ff61b5bf9cf059dc9826499f79121c94ed2bb8a7a8e1a5e5ca2a9186c9a35642b28
DIST linux-6.x-sha256sums-20260123.asc 193749 BLAKE2B
bbd570175243eceb414200255e80b4c28e4be1963e5fbe5b7fa2d6e943afa18697f26ba760a0e122219583827745e57f803f9b9c70f0f9a425d6f4f71dff60a1
SHA512
b0d33e8996e1b12e600c52874ae1e8ebff6c2fae1b986c7fb851087fb70c3b9299b59e5101cf2e6ca3646fb15877960f7d8ce818455e930ae95fb9a4863067ab
DIST linux-6.x-sha256sums-20260130.asc 194768 BLAKE2B
1ea7a154e1135c5829578094716d395200df525af95fe937a959c8aaa07c63446092ac9b4b17773e575541cfe44cd00fc9bf0dbd19b414f3a6a52bc419f6dcd5
SHA512
60098f21738551350bf6c7e1db671ae0301f9845d5ca7bcf2a65ddb3252ddf0b11211128813a1e3ddaa089071c18bd0c5f0fedd37e87ed075bad024b26a69ab4
+DIST linux-6.x-sha256sums-20260206.asc 196128 BLAKE2B
2151f609e99f6511193b26ed5ae15aa49b945a41b9d6138fca318124250faa819d49ca03d2ef905b806b3793472c79839c7d4019c32f417c16fc37480b209cd8
SHA512
fe839c86c0ae64620995845a97c9908f0780d75b873c6d0f9db99f90f7fa2318a12553eb907451118ac2eb5bbbc0d08468798750ec104999c1d0ccef498cdca2
DIST linux-gentoo-patches-5.10.246.tar.xz 23580 BLAKE2B
1184fd10a1321cfde67d276426103c73993fbe93e81047b494d358c433daa10a3c141349d01daa7147a05eeaccaa0eb87256b4f523e66f2f7f7022385982776b
SHA512
31dd105101372b569c98bc72d6d8fd15fe95ece08ec9f48de10f91112f1526ccfbb349a67913ef1f8c798dd3dceeecc6312eeefc097d9ccd3b55edc70d3dcf10
DIST linux-gentoo-patches-5.10.248.tar.xz 24128 BLAKE2B
ee1ac9dab33c96fe5020ad8bc9c657bb72a0171aeaf3ed4fe479f4b923f92be514c55144dc80753b5df2db82c75209280f7a2867b19fd76a55ea67e9809516ec
SHA512
26e5521954929c8ac396ffaf786edea7118435347e2b43ae7b7cc5abccb0f26eca0277b6914dc709687c5fdc9247735e8419b491c11ff80e8ec7d519ee6edccb
DIST linux-gentoo-patches-5.15.195.tar.xz 12876 BLAKE2B
d675d4150c8292c4f4b9846a26c53099910905e04e3015cfb3cb60e53dea99028b2e6fcbc345255246103699910aecf916054a09598e931d110b31db59a0b517
SHA512
e86691215cdab56a1a4fbe9aa3de44bda93db5659c39b04bfce53ed6ad8ed6923853431abb9444471b227421619c40e8841dab582b8007216e3c22e2b348a549
@@ -69,3 +70,4 @@ DIST patch-6.6.119.xz 5306132 BLAKE2B
36172254639820d8853be83c2f98cf1e9923087b07
DIST patch-6.6.120.xz 5455104 BLAKE2B
0c6395ff0a859101789bd2d02d9ea5e29611c38bec75f575fc656248980b622f365fe1b48e90b2d3bbea27c584bcfc4dff4eba7a6a65666f600e324511790602
SHA512
ce62624edc873023769d23bf02b015aee84d9eb38830956b3738bbabeff3c741f2d046c2a5254674e57e10614a4209ba4f3586a995180951923798634bacb2b0
DIST patch-6.6.121.xz 5473968 BLAKE2B
85ff76a7141a541b09b247ab5c2a9fbc6649aec36d32a6bc8895f92485beb776d6067782e02e83cc9184d804c28d1b2bcabda29bba43c88c6e68cd86f09879da
SHA512
d0be05b21ac82d52557cc6925416a33889bf8524f31a713cb48bf1283d2b4fb212cf018dd92238acaf14ace9bcbd1d857efb8798337b659fe140ba37b002be2f
DIST patch-6.6.122.xz 5522356 BLAKE2B
80dc69fa15ee6746a26c864fe4b3d6db3f1c185799eca54ed1e7869b422050cbb500ce457d43711f1e5ea6e7b4de40a3edd9202a69d29337b9a1ff09ac318057
SHA512
2b4bdb199b6986cfb0beb4f53ff923812b7dc549227d7b50e69d811983b4c4e9374741e59f7acc3dc452b17a142392a1ac42c78230f0d22f01f6c8b277b4b32e
+DIST patch-6.6.123.xz 5532320 BLAKE2B
83b41dbd943b2f869b7fd920098ff86259d13caa118ed09edd61d32a1bd983a4231e36cebf54e694a81a81aca1e24545cbf0507364bf75455d80afe04d14cb79
SHA512
f1f7ef9dedf4342f3616fa8a8b3bf33db68c112bd0c119892f8042e20e030bd9547c00311f69b9b14f14fadb39f32cb4999f4c42114fb90b4268dfbe5e9c8384
diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.123.ebuild
b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.123.ebuild
new file mode 100644
index 000000000000..a76f6eff3ea3
--- /dev/null
+++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.6.123.ebuild
@@ -0,0 +1,177 @@
+# Copyright 2020-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KERNEL_IUSE_GENERIC_UKI=1
+
+inherit kernel-build toolchain-funcs verify-sig
+
+BASE_P=linux-${PV%.*}
+PATCH_PV=${PV%_p*}
+PATCHSET=linux-gentoo-patches-6.6.111
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
+CONFIG_VER=6.6.12-gentoo
+GENTOO_CONFIG_VER=g17
+SHA256SUM_DATE=20260206
+
+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/${BASE_P}.tar.xz
+ https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut
1).x/patch-${PATCH_PV}.xz
+ https://dev.gentoo.org/~mgorny/dist/linux/${PATCHSET}.tar.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://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}
+ )
+ 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}/${BASE_P}
+
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="debug experimental hardened"
+REQUIRED_USE="
+ arm? ( savedconfig )
+ hppa? ( savedconfig )
+ riscv? ( savedconfig )
+ sparc? ( savedconfig )
+"
+
+RDEPEND="
+ !sys-kernel/gentoo-kernel-bin:${SLOT}
+"
+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-${PATCH_PV}.xz"
+ cd "${WORKDIR}" || die
+ fi
+
+ default
+}
+
+src_prepare() {
+ local patch
+ eapply "${WORKDIR}/patch-${PATCH_PV}"
+ for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do
+ eapply "${patch}"
+ # non-experimental patches always finish with Gentoo Kconfig
+ # when ! use experimental, stop applying after it
+ if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]]
&&
+ ! use experimental
+ then
+ break
+ fi
+ done
+
+ default
+
+ # add Gentoo patchset version
+ local extraversion=${PV#${PATCH_PV}}
+ sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile ||
die
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ arm | hppa | loong | riscv | 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="-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
+ )
+ 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"
+ "${dist_conf_path}/zboot.config"
+ )
+
+ kernel-build_merge_configs "${merge_configs[@]}"
+}