commit: ce526252ebef969d030c12f485221dfe8f05dbb2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 20 10:58:37 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 20 18:21:20 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce526252
sys-kernel/vanilla-kernel: Bump to 6.14.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sys-kernel/vanilla-kernel/Manifest | 2 +
.../vanilla-kernel/vanilla-kernel-6.14.3.ebuild | 136 +++++++++++++++++++++
2 files changed, 138 insertions(+)
diff --git a/sys-kernel/vanilla-kernel/Manifest
b/sys-kernel/vanilla-kernel/Manifest
index a5cf2c10555e..fa66f8d36cb9 100644
--- a/sys-kernel/vanilla-kernel/Manifest
+++ b/sys-kernel/vanilla-kernel/Manifest
@@ -58,6 +58,8 @@ DIST linux-6.14.1.tar.sign 989 BLAKE2B
ace2caf28ed70adfea7e7d5a6832231fd89bffed3
DIST linux-6.14.1.tar.xz 149406320 BLAKE2B
1aa584824d71cf7ac25d3b848aa8c00f7f172dc2491972cb0b4eeebdd491f0f5dc000c55f825da656f3447c3a38eb8d480c5f98927339811247f2cc8c82e3c50
SHA512
97626b10117d3ce6b9c677d4a7ac903fca2e1e3bee387f494250484e7164ccebda644f6b0a0cf7c7df55804421897baff987264b43d414dc8ada1b07e958b261
DIST linux-6.14.2.tar.sign 989 BLAKE2B
a75737b7b15a82bbaf022d8888c678176b355f28c19502f3b8041fbb655312f6c93a16d9434a9f00a3371ee870ffa65318795afcef1c95cfb75eda2789b93f59
SHA512
03f857bb82341217dc215e76a08bed3ceb632974914929a33a8dedbe995ebfad931a844b5a92a242b263fb69815f6afd9910a4dda16e812974b6a6f1bad9adb6
DIST linux-6.14.2.tar.xz 149412128 BLAKE2B
ebba8a341d180887bbe125b23a3ac54ca7439eded877930f7b7df9a5ed3378701523e0cde972b520eaedf7f24d70d4d8db62db103e21943abeb35f9c1c91e4a7
SHA512
989d952d259729c2ec27a0548e5a287bc6d7c4a977a7751e09f2c018523bfb76cc1db3166965d8ba7f0ff996bcab29e4825066db4c2f94986b065f430e347cc2
+DIST linux-6.14.3.tar.sign 989 BLAKE2B
68f7dbd6f46e16d173f7055556c6e27f2485cda5a29c5ca71bcc5e3fada62b3de2c42f65831d3bec0150e1f7562c545b7de18ae43c68eae83a52c7b736159a4a
SHA512
ed7aac6548033716275f664ac41a6c078468a677228adfe900ee0ea01e8e1a1401b5cb25072ade9707024f118cc80f7db88faba56c1e22fd628c91143fa6a550
+DIST linux-6.14.3.tar.xz 149426584 BLAKE2B
ea23ad9a9ce34ce652f0c159215c1f6612b312f13eb802f77c2962af7397e21a3b8459c389b546c780886fba91e3932b1b17a2d1e103111379fdc97511067de6
SHA512
2b3125a157892676f2cc0a403cbb74d87cb7285d3baccd15460056a0e25b306eec7384a28a5831f6c2729baef08792aa7f83e60eb8bedddcdf6c17b5431b9d50
DIST linux-6.6.85.tar.sign 989 BLAKE2B
be3648381f20706eb74c49c3f43f3f01e0dd3cb44747eb95c93b33667382963834c355be913bb1b07cbd2e1fcd9e884bdd9e906b712ec014a25b2cf38f59b266
SHA512
ec47e8121e6fd23642f264f6b9d92faff3bba6209e2b993a22f7891fde0159ef11001a9018dac2a65da1858aaab0948bf775d6a73877dd8f0d6d3f10e5483550
DIST linux-6.6.85.tar.xz 140516972 BLAKE2B
7d0b37f2b49072c1a1ce4f6b9ffc4d54edfb928b0b77c2fe9dcc5be09547cd33eb1d592b7474cad72ac4781d57354aeea8bc72346520872e253744010cb0c4f2
SHA512
8b347a6c48aae2a7aa1c28586378d38083f672a68c8afb80431ba0e971fda90d1a8d6b839491a85320b6aab6522b9afe3f36c3963934139fcd50d70625e8de19
DIST linux-6.6.86.tar.sign 989 BLAKE2B
05ac913aa24453b4286e07db71bad7f52d92f72e1c4066789bc2fdd937ad61f2e62aef5cb5303548404dc89285a66517d81e75667a2a7210b007aaf3b278a301
SHA512
b1d53687b3cd6e27a1f1c84f382fb658c976a2f029035c82c67de3de6b0607da9fe06612e0627e5bedc143ba678d65e04ecf05a6d337c8e97ac3c8188b2aea7d
diff --git a/sys-kernel/vanilla-kernel/vanilla-kernel-6.14.3.ebuild
b/sys-kernel/vanilla-kernel/vanilla-kernel-6.14.3.ebuild
new file mode 100644
index 000000000000..fd6cdfded43f
--- /dev/null
+++ b/sys-kernel/vanilla-kernel/vanilla-kernel-6.14.3.ebuild
@@ -0,0 +1,136 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KERNEL_IUSE_MODULES_SIGN=1
+inherit kernel-build toolchain-funcs verify-sig
+
+MY_P=linux-${PV}
+# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
+# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
+CONFIG_VER=6.14.0-gentoo
+GENTOO_CONFIG_VER=g16
+
+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/${MY_P}.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/${MY_P}.tar.sign
+ )
+ 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}/${MY_P}
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~x86"
+IUSE="debug hardened"
+REQUIRED_USE="arm? ( savedconfig )"
+
+BDEPEND="
+ debug? ( dev-util/pahole )
+ verify-sig? ( sec-keys/openpgp-keys-kernel )
+"
+PDEPEND="
+ >=virtual/dist-kernel-${PV}
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/kernel.org.asc
+
+src_unpack() {
+ if use verify-sig; then
+ verify-sig_uncompress_verify_unpack \
+ "${DISTDIR}"/linux-${PV}.tar.{xz,sign}
+ unpack "gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz"
+ else
+ default
+ fi
+}
+
+src_prepare() {
+ default
+
+ local biendian=false
+
+ # prepare the default config
+ case ${ARCH} in
+ arm | hppa | loong)
+ > .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
+ ;;
+ 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
+ "${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[@]}"
+}