From ce89e807ecd2194613ad6e6bcee8cf95e982ad1a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 18 Nov 2023 11:02:30 +0000 Subject: gentoo auto-resync : 18:11:2023 - 11:02:29 --- eclass/dist-kernel-utils.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'eclass/dist-kernel-utils.eclass') diff --git a/eclass/dist-kernel-utils.eclass b/eclass/dist-kernel-utils.eclass index d455c88ebee1..76a2f8d48cdf 100644 --- a/eclass/dist-kernel-utils.eclass +++ b/eclass/dist-kernel-utils.eclass @@ -33,6 +33,8 @@ case ${EAPI} in *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac +inherit toolchain-funcs + if [[ ${KERNEL_IUSE_SECUREBOOT} ]]; then inherit secureboot fi @@ -135,7 +137,7 @@ dist-kernel_install_kernel() { ebegin "Installing the kernel via installkernel" # note: .config is taken relatively to System.map; # initrd relatively to bzImage - installkernel "${version}" "${image}" "${map}" + ARCH=$(tc-arch-kernel) installkernel "${version}" "${image}" "${map}" eend ${?} || die -n "Installing the kernel failed" } -- cgit v1.2.3