From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8C7B61580EB for ; Thu, 29 May 2025 20:23:33 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 77FD83430F6 for ; Thu, 29 May 2025 20:23:33 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5D1611104BD; Thu, 29 May 2025 20:22:57 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 4EC281104BD for ; Thu, 29 May 2025 20:22:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3B19343105 for ; Thu, 29 May 2025 20:22:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C02228EE for ; Thu, 29 May 2025 20:22:54 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1748550164.9a984d33cdab1922873e3accefcb5514c8525a1a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/gentoo-kernel/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/gentoo-kernel/Manifest sys-kernel/gentoo-kernel/gentoo-kernel-6.14.9.ebuild X-VCS-Directories: sys-kernel/gentoo-kernel/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9a984d33cdab1922873e3accefcb5514c8525a1a X-VCS-Branch: master Date: Thu, 29 May 2025 20:22:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 49353f12-7247-4abe-b97b-a30dc63a2731 X-Archives-Hash: c842e055ff2a3e706336c273608da545 commit: 9a984d33cdab1922873e3accefcb5514c8525a1a Author: Michał Górny gentoo org> AuthorDate: Thu May 29 17:56:21 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu May 29 20:22:44 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a984d33 sys-kernel/gentoo-kernel: Bump to 6.14.9 Signed-off-by: Michał Górny gentoo.org> sys-kernel/gentoo-kernel/Manifest | 3 + .../gentoo-kernel/gentoo-kernel-6.14.9.ebuild | 151 +++++++++++++++++++++ 2 files changed, 154 insertions(+) diff --git a/sys-kernel/gentoo-kernel/Manifest b/sys-kernel/gentoo-kernel/Manifest index 01c1d45c9580..116e0abce011 100644 --- a/sys-kernel/gentoo-kernel/Manifest +++ b/sys-kernel/gentoo-kernel/Manifest @@ -22,6 +22,9 @@ DIST genpatches-6.12-35.extras.tar.xz 4056 BLAKE2B 5918c54d7e26e3e2520ff92279da6 DIST genpatches-6.12-36.base.tar.xz 2240564 BLAKE2B cd68b5d7fff73f5fe0c67a8eb47c2094a0ae57f304b5a4798ccca7410c5f514fc1f9b2fccb65e639886e48950ed24d04ed44ddcdff3d5223e336f573f25a501f SHA512 61796173e1e286c352d3d683be007e4336e646cc1efcde0528b12b38e484d104c9686440aa90d096cb1ebadc715e46899e5bda0f8bd070190ed73e0291401f19 DIST genpatches-6.12-36.experimental.tar.xz 6048 BLAKE2B fac20aa6031bd73641bc89ee2ed863c1fd1232935451626ff1f3c5e5e800cba20f76101ee607dec04efebf08310e880c45e9561a44ec3afcbd745a998667933e SHA512 8a98ee5736f57e5b9ada6bcbe39aba99393f6d76f4cfcb1deabff6e9d802895c18c8daa477fe422b87841bf3b815e43ab7fcdbe0bac8290d9962aecd602d63d0 DIST genpatches-6.12-36.extras.tar.xz 4060 BLAKE2B 034e0d065982369815db90efd84209bf88c73d19a1f4fa41b6c4586b0197e1e502df00b63f8d99c7c1eb0e32fbf99c0187b8c304adaa0f2f624a722e50a31b21 SHA512 cfbb8e69bf254088ddee442c6ee1d293406eac106b0c8fb7d926ea2778260664991ca05c5efe6547b4740ada1010057001856c5d6ee864cd73f55cd8ef78d5fa +DIST genpatches-6.14-11.base.tar.xz 1058528 BLAKE2B 276bbd42629f6a305f3170e8560736b6ac25c2afae0f8cb9aa50bb101303308bc3bf7729c95f42fb112cf77318a57aa0df9f2af4d726772d167eaccf78774eae SHA512 a3ce8ff9e14e443df9dbdf0ff081c7e642d9a660583fce303eb76cb1fbd486a3fb61fb9eaabc4e0a5e48514ae224958628e80f88464ef55c09969fc3e4544894 +DIST genpatches-6.14-11.experimental.tar.xz 79808 BLAKE2B cb647aaa0716ddcef79ec77134fcb267d03f886ac62c456d656ea676478c66af4579677a17012b0a95df3c394e2f4da7ee0e189e97ee22be33e606e18bbfacb9 SHA512 591d12d52d36c21fd2813223ade37f072676ef885a69f636fd3acb3ed757fb061668014ef3513fc516ba977d77ecab5e71ec5396b73f12be24c7bc9ca563bcca +DIST genpatches-6.14-11.extras.tar.xz 4052 BLAKE2B 808ddfabf47e276fb302c4a61230d9e42e0a00d52676137537b440b533f1cc4cf76248cfe4dfb31b589b1f45b22c56a8cacc29d59f33c31f8d50239902e82d92 SHA512 be2b1261fafee96e99375968b43ab33500622864a6133d773ef88cccab8800d409f783388195ba8993488cfc4259f276c3c9b7c0b7ad432fd1caa69db3a6de03 DIST genpatches-6.14-7.base.tar.xz 632760 BLAKE2B 12a26d7a4cd6b24ae3dc36648b0e890ce3ef20b3eba0583cd920ca200ecb92a6405dc79e2a58700e125f7ea2385db8ffa0f7a829e45f1204d19ef41a91a6fc99 SHA512 a0a0df6ae8f6c7c26594a55f6b071522b59a5537501ae78b569418a8cbacee5ad02fef705be7eb22468bb288a56de89b51273f1d32e52727de6046d878b28e1d DIST genpatches-6.14-7.experimental.tar.xz 79808 BLAKE2B 913985f9276088dd965e6bde50b83088a298dba576c728b8254b86964ca5126d39f2a39ce8fc4441171acf4d6d686f81ee1012c3ba532f20e99494dfa36a3c3d SHA512 035c4ffdc033e4565be7c3701ed505efd780c1d061f13db77ff7b75a34d8d36ba01ec0aabaeb10ecf8e574149ab4e7a8292cd7b48fe34afc65eda8506fa4d615 DIST genpatches-6.14-7.extras.tar.xz 4052 BLAKE2B 1089c810902b96b2d17ebaec90ed484e9500fca9a813058815c7e951119e903fb544db3295ee47a2ae08e23319c03239261803fcb76d3ef42bcf626abb5ca6dc SHA512 6d1dfdf3632ced4e7202d4f93a5ae1e65fd80379fdeb466f95d1f1bda9b005a00dc28963c25b0dd07a48fc06e189b4f42bb648bab9507a116c555eb68a02ca4e diff --git a/sys-kernel/gentoo-kernel/gentoo-kernel-6.14.9.ebuild b/sys-kernel/gentoo-kernel/gentoo-kernel-6.14.9.ebuild new file mode 100644 index 000000000000..7225b1580a65 --- /dev/null +++ b/sys-kernel/gentoo-kernel/gentoo-kernel-6.14.9.ebuild @@ -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.5-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[@]}" +}