mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-kernel/gentoo-kernel: Bump to 6.16.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -61,6 +61,7 @@ DIST linux-gentoo-patches-6.12.40.tar.xz 19240 BLAKE2B 2e5bdafcbe44cab520c86d7ab
|
||||
DIST linux-gentoo-patches-6.12.46.tar.xz 19724 BLAKE2B edf0bc009a30dcf5d22c517bdfbab4ab7e4df3510e2102071fd24788d5cfc610434da2e92092ca5424e12e1676149b510f2de7e937be1ed96d0db4e2260ad42f SHA512 dd9d7c48767f3db0a8a6a33e8ffa9ecad4345044586d76de65d42e8985ef794bf7ab547852a1653bc1d66dbf4accdfc06cd5e35265cd2d2cccb0aafde21d8950
|
||||
DIST linux-gentoo-patches-6.12.48.tar.xz 19224 BLAKE2B 9265bc0cc7be0ac7bc51677f750bfa642dbc7530979ad5a743f6e29ca4514b79dc0a906fcc324482a26f53111d7a7f660071857aab875b25ca3e1dd9086a6407 SHA512 63c4b64e5ca1857ab71e92633ca32941f9e4c2ca37f53897d5f257effb9452721be5606770cafaae6ce238cc9cf3a5054c56a519111713c0d462b79549aea669
|
||||
DIST linux-gentoo-patches-6.16.10.tar.xz 86452 BLAKE2B c38938afd6493812dfe89b9212fe8aaf8617397468406ec97b7604848847b0cc9ede75ec55d1072d92d811a80edba8dd3aac796013ae981cb459ea50f5f57074 SHA512 092b77273757bbc713471834d076e0aeab489e34b371cf708ad978cc2f9d1a3eb8470d8d8b2d2276240ddf54f518aa0a20f2cca55ed5e209761ac87d0a446404
|
||||
DIST linux-gentoo-patches-6.16.12.tar.xz 88116 BLAKE2B df60dd2678e852f25d7c1f5c2f75351b2100c1034095f20c1895e56f81a7fe155c6ef35103e7074c34900c48677972e93a4fca862e91a8022c7023af240fb96c SHA512 40fda7e21d467c06ddcc4e9010d7bdfbe44bf64d6086571e2c61e27ecb2b3968ba3be520c73600eec95fd602b5009d7beb6681d8abf1e10dbbee1cd1b5819329
|
||||
DIST linux-gentoo-patches-6.16.6.tar.xz 86164 BLAKE2B a8d0590281c9e10008558979d3018fa5582ce052b8fbeda56b11115ae38ad3a8b3e5059513da86e89b2e8c1b4ac7525b3ce0260e3a25fbd0ac825b80edf697fa SHA512 799014df1f30fb9ccffcb6620611e6e11a94d9917d9ae7905e3647b0f1cb6699276c29d37efcf258465ca05819c3a457f334ef339761a2543c494f148b50eca0
|
||||
DIST linux-gentoo-patches-6.16.8.tar.xz 85692 BLAKE2B 21676e3d6e11913705c5aec2f6c23db0dca875487323c7b72ff9d367e9c52daca4b9676b91f44a3f51b45f2f110dad6902c3b99d500f54ba5a3266d839af2a4f SHA512 daa71cabd4d36bbc8cbdcb880ed4d76c6c995239d2a0c9c86749d86766ae362f896fb4e7da263b53dc3d81043eae8cc3351476cba62dea73b1529e4d661a9269
|
||||
DIST linux-gentoo-patches-6.16.9_p1.tar.xz 87740 BLAKE2B 1c4461ee590ac5a918be8141a9941cd372cd24580fbf9daddd9e58e6fa355d6d2b5b98bf3670cf036f4ee574b4ce5573fb0544461655e1389e648a1a84828baf SHA512 cd7c454247562610974249c199ca7650990bffb51a31a298e34e921741c7aed4427257fecbe97acb2dd7ec0ab273bd41edabee420c00cad1ed7d8a9f5f5cfea8
|
||||
@@ -88,6 +89,7 @@ DIST patch-6.12.50.xz 2972204 BLAKE2B 589b11a26af4f14181e12f156a4d34e884e7b83108
|
||||
DIST patch-6.12.51.xz 2974844 BLAKE2B cfb7242811febee3e506aa8775189f90cb1501341ca7aea7153aca28553cb5e953902f1c7bc23b2872f3f4617ee76641888c0cc0ae7a4611399a892030832b58 SHA512 5e04752b3432809212315b24c8fc18764b367e9e3282325d3d52b75190b4e0eeca48a10dc3baf09abfde3a633a7b14e03b4224251ae4e0b6206085683cce5dd2
|
||||
DIST patch-6.16.10.xz 796140 BLAKE2B fb1868512d250eded50e32cbe9233e8a89e63d9004d0ca6cb1c5f156c128358bc294da6e0e7fe011cfbcac1358b1ef6b860d82628e34e15ac141a45465109c53 SHA512 0a2c34c2f64cd87f7079388295d120c81ad6bf3797873bac5bdaf4baeb0ae419f1beccb4f5415ed4a6b14f583f671073f7db2b7de92930ccf5bf59169a714e8f
|
||||
DIST patch-6.16.11.xz 799032 BLAKE2B 5e0a522494c81839a9a0c06825ebdbdce4c7a802ce62c337dd819cfe04012ecfed7bab3d93574aa6a3e66477971d687d0ef1971dff409ff49d0d18e09d68df21 SHA512 46423abc9bd8aaf0611f285947726dba54c24c73966cbfd03203314a6c235e98b110681335c2a1d0528c43abd13f285edec73a43f4df872c0cc7221677fd318c
|
||||
DIST patch-6.16.12.xz 808544 BLAKE2B 0fbd9b63869a73e5f4f1ba4dab26167faaeb9c178ef7ab0b0b9e158f493929eba9b70ca8681e05cb4b2d8e8983ee8ffa4b1845ad90cbef93671868fc9fa4c989 SHA512 64079698b0ad170b99f59db0ed119eb9920e2df7887c1738434583128cec578901e31f7f6002a7f397670d4d51ff2c2ac3f414c9896de9c7ba4f55e694364c11
|
||||
DIST patch-6.16.7.xz 650544 BLAKE2B 5ceb5a463cf7c9df15a894103913e7f872af9b879a6a8751b2cd4208c687e477654a2b23f468a44d6af66a987f55e76da55c0080de5025dcc286ddf1d1be9e4b SHA512 9351c2d01a914854831cd5db71aec3ebf9887161871ba7a00fdd234849121764b0af9ce4b08c5f275d9278268fc960e4aa4232edec15220e75113fc9610ca59e
|
||||
DIST patch-6.16.8.xz 719144 BLAKE2B bc4342eda12987323d7b5cb04307fc5454940e71d9c153e5e74876375798f95af6084c23245cfdc9551f6dbe478884d1fcbdea8e1a2d9bc27ab95a2cb30db280 SHA512 ce466430fae6ff8501cca3798d1c3e72b3defc997175f7f1ea78c774c207b97579c1dac5f5eee8b56e3569ca23fabaeaba9186125b5fdce617414a9abd6dda82
|
||||
DIST patch-6.16.9.xz 759708 BLAKE2B 740b6400b05631c7a0a5ff3ddeb812a5e570d2c834a194c848ad5cf87049b9d45666b0a8b3c83d386eb382a84b4f34290f16766df32b3002ea3172165aa2beae SHA512 58f3e476392a081648471fc5d8222981c7ebfa7896b6adfb267d93c2fe5227096a4e850ca3ba0914d243078ab1f6a3248bb1ff26fde1eef354e6fc579e419f52
|
||||
|
||||
185
sys-kernel/gentoo-kernel/gentoo-kernel-6.16.12.ebuild
Normal file
185
sys-kernel/gentoo-kernel/gentoo-kernel-6.16.12.ebuild
Normal file
@@ -0,0 +1,185 @@
|
||||
# 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 verify-sig
|
||||
|
||||
BASE_P=linux-${PV%.*}
|
||||
PATCH_PV=${PV%_p*}
|
||||
PATCHSET=linux-gentoo-patches-6.16.12
|
||||
# https://koji.fedoraproject.org/koji/packageinfo?packageID=8
|
||||
# forked to https://github.com/projg2/fedora-kernel-config-for-gentoo
|
||||
CONFIG_VER=6.16.9-gentoo
|
||||
GENTOO_CONFIG_VER=g17
|
||||
SHA256SUM_DATE=20251012
|
||||
|
||||
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}
|
||||
)
|
||||
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}/${BASE_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 )
|
||||
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 | 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
|
||||
;;
|
||||
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"
|
||||
"${dist_conf_path}/zboot.config"
|
||||
)
|
||||
|
||||
kernel-build_merge_configs "${merge_configs[@]}"
|
||||
}
|
||||
Reference in New Issue
Block a user