mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sys-kernel/gentoo-kernel-bin: Bump to 6.6.110
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -110,6 +110,10 @@ DIST gentoo-kernel-6.6.109-1.amd64.gpkg.tar 274708480 BLAKE2B bec77256b0fce8e340
|
||||
DIST gentoo-kernel-6.6.109-1.arm64.gpkg.tar 247623680 BLAKE2B 72d6541f6676e50169c8a909a67e7b5d6668cfbb35159ecc1d413df3139e78402512021bcd0aa5c93a5c6595218900ab5fcd6d2a3d037a54009959188e73cd10 SHA512 730d05e0abf82cb917d18c6a4e402f91d558c751db6a066b0b4c195c38a22bd4f7095baa2b9abfb48507ea18cad6b961d94d89c5d1fe6b49ecb9895329796940
|
||||
DIST gentoo-kernel-6.6.109-1.ppc64le.gpkg.tar 64471040 BLAKE2B bffec7401535107c7c124dc46d9a25e7f5871950e0d18a8377c20af8917b27eb100fc00a447033f802294f4afc0a5dca08a712db03b2990c555bca9c93f3279b SHA512 7775d9469625d4ee6e11188847b41d7ddce84ff5e4c625915c9cb693c15e06b879e5c96fa059c2151576e0464f3f790a5152b4d1e7d6e835842ee7d76a5fe5c2
|
||||
DIST gentoo-kernel-6.6.109-1.x86.gpkg.tar 68700160 BLAKE2B 3bf02bdc6c0ca2ee6776bcb07c27056e87958c827151cff23000185a005a1d8d25e23e8d3733a18f7fd6897e23513b2a2d6619c4c80a42d2e0c675645e793844 SHA512 81d514b00f05e2b2429f5ecd8d0523fa5a6c641b15ad18a4ba76b4c7bf863bb408ec9fb522abf38dd210b47de3513375c460139e7701eca203eaf115a744ca7e
|
||||
DIST gentoo-kernel-6.6.110-1.amd64.gpkg.tar 274698240 BLAKE2B 282ea32bf23dd917288107d58cd466a5dc8dad24b112caee2e167029ffbe2f6570710a4cc2ed60df154a935cf21b89471a4cc95e49ee6c0240aa6835361c0b18 SHA512 67f9e17ff383c809078910d73b2aea8e53035ed09b2e8a47babd6a161b18b4349c0985a7b4ac378cc5e1a1ef3eeaea6c674585dcb93f6689afcdd96a93a2c87f
|
||||
DIST gentoo-kernel-6.6.110-1.arm64.gpkg.tar 247623680 BLAKE2B 3c783753c07af9d7c4b59a8ceebe2876bcbf7a2d9f3fc348f928875211d8c85c79901813b731b99d36b9d14b5747a1f473fa57761f5ff53fc617e50d607489e8 SHA512 df6bb3db7e095efb9e5b41d0a2c5d7a3a395a7e167d3dcfd7780771cc4a9fa0fa9f9a506aefb5629c33c3f32e8ce8701631946311d86f85cf1e9f76f3e096fcd
|
||||
DIST gentoo-kernel-6.6.110-1.ppc64le.gpkg.tar 64460800 BLAKE2B 0670d2f3fdf482be286a2623941c27ff2b7449f0742285eeabfd064e97a8859a18837bc8870e2138a2c1ee35dde891bd61e249b8e3686bcd203fd8764e176c92 SHA512 8451ce0f426e1e421cf8b0093aa71d9331404096bea0d5077ea9d22843e9070c5d19f3335515e4757c616cc9e82dec6866a936938457a5df7ad5ca7f800b330b
|
||||
DIST gentoo-kernel-6.6.110-1.x86.gpkg.tar 68710400 BLAKE2B d85b9c2724926dad17c0bdeef1fa62351ca91cb6a4b84ba037ce54c77e6c80c05465d651b23d36e632fe60892e8dce0ea8999ef599f7fafe40572c6d3b513bd3 SHA512 9fe6457589017a5f23ac04107d2aa4ff353172dc65581ac7dcda70858ce013656136d8eb27203950e5d6f5f58a96c145750360476a0c4a20f7cb8839fe6e5547
|
||||
DIST linux-5.10.tar.xz 116606704 BLAKE2B b923d7b66309224f42f35f8a5fa219421b0a9362d2adacdadd8d96251f61f7230878ea297a269a7f3b3c56830f0b177e068691e1d7f88501a05653b0a13274d1 SHA512 95bc137d0cf9148da6a9d1f1a878698dc27b40f68e22c597544010a6c591ce1b256f083489d3ff45ff77753289b535135590194d88ef9f007d0ddab3d74de70e
|
||||
DIST linux-5.15.tar.xz 121913744 BLAKE2B 3921274b23f7938abdf3ed9334534b4581e13d7484303d3a5280eddb038999aaa8b836666a487472d9c4a219af0f06b9fecccaf348fb5510ab8762f4ef4b7e83 SHA512 d25ad40b5bcd6a4c6042fd0fd84e196e7a58024734c3e9a484fd0d5d54a0c1d87db8a3c784eff55e43b6f021709dc685eb0efa18d2aec327e4f88a79f405705a
|
||||
DIST linux-5.x-sha256sums-20250717.asc 364595 BLAKE2B 75abc4c666dede398ee54a7323380496f75cecb9439261305a60200169430544eaec7bc9e6ee3d4b1beb667d51cb6c858ebe109e3a9446667e9b1793298aef08 SHA512 1d52b1dfc0da4d287f4d1d02bb05a38c24f5505002c567bedc48b4bfd523a2135bdaa8e103c75e7bf521d356b66e7b36009054a792d8eaf3034ae1ef09fe3ff2
|
||||
@@ -170,3 +174,4 @@ DIST patch-6.6.106.xz 4880660 BLAKE2B 3205119e8c10be006eb9f5c455a6fd2cec6b98f351
|
||||
DIST patch-6.6.107.xz 4898532 BLAKE2B 5be64e27df6d78bd192913d6196a75530fc21fd9863426e08fc09e968679921eb706703bc159ddf57bc4c6aa4240a77b9b4eb626569c84c7a97ab834df76ada4 SHA512 84c59a8d255e91f0ba1356ea16e16e9a29e078ecdd7ef368fcd501679e2edb17e8b41ef42feb7f28a32b7b02fc63427d7f96594ca22e0ee0306d02054e173fcb
|
||||
DIST patch-6.6.108.xz 4910552 BLAKE2B 6d482fe76be8b11fc931087537872b2a5b2ef862c8654be312d8531cc6bb4508a85fbd3a91c67f17190a42f0c6e0a540f27391aec3b4b81308c2ead7c43e2ab7 SHA512 fa31c0f6c378d80723c8acecf2e7dcd49028136d21be0596679d4797efcdc257a0c8994b91ab428934678626d14a01a27648aba48e643ad179cf2ac0b4220335
|
||||
DIST patch-6.6.109.xz 4925652 BLAKE2B 1eea77c0d6966963fa61546aa5a2e4deff3145a61e0b3ddc2a179222aa736f7f65d8581ce4e549bf2d0a76b679dda6c0a2970e49036b8a6be8c9104a390d9fd6 SHA512 a3c9fadf8d6c55c569fc388c3585ef571a958eee3736cddc900beaec14c3b59e78ad3e38493177d35322f3f840f6f372c231bdf5272243e6d831590499d8c6bc
|
||||
DIST patch-6.6.110.xz 4926864 BLAKE2B 062eded9bbb18836209b7b07bd5803602212f4bd1d0c9d87252eddbe9cbbce216f78618d3b797c8d3768ec4a1b71081c3aaf1ebf7cdbe4c59ddfcd77595bb658 SHA512 927f002bf2ec227c19d115589337e4189c8320aa30d54325923078e87f74e2b7ffa5f6dd9cec515c3266dcff3d74ddab2cae6cdfd63c120fa34923ed7d455ec3
|
||||
|
||||
237
sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.110.ebuild
Normal file
237
sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-6.6.110.ebuild
Normal file
@@ -0,0 +1,237 @@
|
||||
# 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-install toolchain-funcs unpacker verify-sig
|
||||
|
||||
BASE_P=linux-${PV%.*}
|
||||
PATCH_PV=${PV%_p*}
|
||||
PATCHSET=linux-gentoo-patches-6.6.107
|
||||
BINPKG=${P/-bin}-1
|
||||
SHA256SUM_DATE=20251006
|
||||
|
||||
DESCRIPTION="Pre-built Linux kernel 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
|
||||
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://dev.gentoo.org/~mgorny/binpkg/amd64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
|
||||
-> ${BINPKG}.amd64.gpkg.tar
|
||||
)
|
||||
arm64? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/arm64/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
|
||||
-> ${BINPKG}.arm64.gpkg.tar
|
||||
)
|
||||
ppc64? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/ppc64le/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
|
||||
-> ${BINPKG}.ppc64le.gpkg.tar
|
||||
)
|
||||
x86? (
|
||||
https://dev.gentoo.org/~mgorny/binpkg/x86/kernel/sys-kernel/gentoo-kernel/${BINPKG}.gpkg.tar
|
||||
-> ${BINPKG}.x86.gpkg.tar
|
||||
)
|
||||
"
|
||||
S=${WORKDIR}
|
||||
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="
|
||||
!sys-kernel/gentoo-kernel:${SLOT}
|
||||
"
|
||||
PDEPEND="
|
||||
>=virtual/dist-kernel-${PV}
|
||||
"
|
||||
BDEPEND="
|
||||
app-alternatives/bc
|
||||
app-alternatives/lex
|
||||
dev-util/pahole
|
||||
virtual/libelf
|
||||
app-alternatives/yacc
|
||||
amd64? ( app-crypt/sbsigntools )
|
||||
arm64? ( app-crypt/sbsigntools )
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-kernel-20250702 )
|
||||
"
|
||||
|
||||
KV_LOCALVERSION='-gentoo-dist'
|
||||
KV_FULL=${PV/_p/-p}${KV_LOCALVERSION}
|
||||
|
||||
QA_PREBUILT='*'
|
||||
|
||||
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
|
||||
|
||||
unpacker
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local patch
|
||||
cd "${BASE_P}" || die
|
||||
eapply "${WORKDIR}/patch-${PATCH_PV}"
|
||||
for patch in "${WORKDIR}/${PATCHSET}"/*.patch; do
|
||||
eapply "${patch}"
|
||||
# non-experimental patches always finish with Gentoo Kconfig
|
||||
# we built -bins without them
|
||||
if [[ ${patch} == *Add-Gentoo-Linux-support-config-settings* ]]
|
||||
then
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
default
|
||||
|
||||
# add Gentoo patchset version
|
||||
local extraversion=${PV#${PATCH_PV}}
|
||||
sed -i -e "s:^\(EXTRAVERSION =\).*:\1 ${extraversion/_/-}:" Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# force ld.bfd if we can find it easily
|
||||
local HOSTLD="$(tc-getBUILD_LD)"
|
||||
if type -P "${HOSTLD}.bfd" &>/dev/null; then
|
||||
HOSTLD+=.bfd
|
||||
fi
|
||||
local LD="$(tc-getLD)"
|
||||
if type -P "${LD}.bfd" &>/dev/null; then
|
||||
LD+=.bfd
|
||||
fi
|
||||
tc-export_build_env
|
||||
local makeargs=(
|
||||
V=1
|
||||
WERROR=0
|
||||
|
||||
HOSTCC="$(tc-getBUILD_CC)"
|
||||
HOSTCXX="$(tc-getBUILD_CXX)"
|
||||
HOSTLD="${HOSTLD}"
|
||||
HOSTAR="$(tc-getBUILD_AR)"
|
||||
HOSTCFLAGS="${BUILD_CFLAGS}"
|
||||
HOSTLDFLAGS="${BUILD_LDFLAGS}"
|
||||
|
||||
CROSS_COMPILE=${CHOST}-
|
||||
AS="$(tc-getAS)"
|
||||
CC="$(tc-getCC)"
|
||||
LD="${LD}"
|
||||
AR="$(tc-getAR)"
|
||||
NM="$(tc-getNM)"
|
||||
STRIP="$(tc-getSTRIP)"
|
||||
OBJCOPY="$(tc-getOBJCOPY)"
|
||||
OBJDUMP="$(tc-getOBJDUMP)"
|
||||
READELF="$(tc-getREADELF)"
|
||||
|
||||
# we need to pass it to override colliding Gentoo envvar
|
||||
ARCH="$(tc-arch-kernel)"
|
||||
|
||||
O="${WORKDIR}"/modprep
|
||||
)
|
||||
|
||||
local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
|
||||
|
||||
# If this is set it will have an effect on the name of the output
|
||||
# image. Set this variable to track this setting.
|
||||
if grep -q "CONFIG_EFI_ZBOOT=y" "${kernel_dir}/.config"; then
|
||||
KERNEL_EFI_ZBOOT=1
|
||||
elif use arm64 && use generic-uki; then
|
||||
die "USE=generic-uki requires a CONFIG_EFI_ZBOOT enabled build"
|
||||
fi
|
||||
|
||||
local image="${kernel_dir}/$(dist-kernel_get_image_path)"
|
||||
local uki="${image%/*}/uki.efi"
|
||||
|
||||
# Override user variable with the cert used during build
|
||||
openssl x509 \
|
||||
-inform DER -in "${kernel_dir}/certs/signing_key.x509" \
|
||||
-outform PEM -out "${T}/cert.pem" ||
|
||||
die "Failed to convert pcrpkey to PEM format"
|
||||
export SECUREBOOT_SIGN_CERT=${T}/cert.pem
|
||||
|
||||
if [[ -s ${uki} ]]; then
|
||||
# We need to extract the plain image for the test phase
|
||||
# and USE=-generic-uki.
|
||||
kernel-install_extract_from_uki linux "${uki}" "${image}"
|
||||
fi
|
||||
|
||||
mkdir modprep || die
|
||||
cp "${kernel_dir}/.config" modprep/ || die
|
||||
emake -C "${BASE_P}" "${makeargs[@]}" modules_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local kernel_dir="${BINPKG}/image/usr/src/linux-${KV_FULL}"
|
||||
kernel-install_test "${KV_FULL}" \
|
||||
"${WORKDIR}/${kernel_dir}/$(dist-kernel_get_image_path)" \
|
||||
"${BINPKG}/image/lib/modules/${KV_FULL}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local rel_kernel_dir=/usr/src/linux-${KV_FULL}
|
||||
local kernel_dir="${BINPKG}/image${rel_kernel_dir}"
|
||||
local image="${kernel_dir}/$(dist-kernel_get_image_path)"
|
||||
local uki="${image%/*}/uki.efi"
|
||||
if [[ -s ${uki} ]]; then
|
||||
# Keep the kernel image type we don't want out of install tree
|
||||
# Replace back with placeholder
|
||||
if use generic-uki; then
|
||||
> "${image}" || die
|
||||
else
|
||||
> "${uki}" || die
|
||||
fi
|
||||
fi
|
||||
|
||||
# Overwrite the identifier in the prebuilt package
|
||||
echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die
|
||||
|
||||
mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die
|
||||
|
||||
# FIXME: requires proper mount-boot
|
||||
if [[ -d ${BINPKG}/image/boot/dtbs ]]; then
|
||||
mv "${BINPKG}"/image/boot "${ED}"/ || die
|
||||
fi
|
||||
|
||||
# strip out-of-source build stuffs from modprep
|
||||
# and then copy built files
|
||||
find modprep -type f '(' \
|
||||
-name Makefile -o \
|
||||
-name '*.[ao]' -o \
|
||||
'(' -name '.*' -a -not -name '.config' ')' \
|
||||
')' -delete || die
|
||||
rm modprep/source || die
|
||||
cp -p -R modprep/. "${ED}${rel_kernel_dir}"/ || die
|
||||
|
||||
# Update timestamps on all modules to ensure cleanup works correctly
|
||||
# when switching USE=modules-compress.
|
||||
find "${ED}/lib" -name '*.ko' -exec touch {} + || die
|
||||
|
||||
# Modules were already stripped before signing
|
||||
dostrip -x /lib/modules
|
||||
kernel-install_compress_modules
|
||||
|
||||
# Mirror the logic from kernel-build_src_install, for architectures
|
||||
# where USE=debug is used.
|
||||
if use ppc64; then
|
||||
dostrip -x "${rel_kernel_dir}/$(dist-kernel_get_image_path)"
|
||||
elif use debug && { use amd64 || use arm64; }; then
|
||||
dostrip -x "${rel_kernel_dir}/vmlinux"
|
||||
dostrip -x "${rel_kernel_dir}/vmlinux.ctfa"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user