diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-18 11:02:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-18 11:02:30 +0000 |
commit | ce89e807ecd2194613ad6e6bcee8cf95e982ad1a (patch) | |
tree | 5664e77b09dcdec8263e4a0ebbf87da3e1524e87 /eclass/dist-kernel-utils.eclass | |
parent | 7e6812aaf62d1be61aaa50252c7e868fc9eabf4c (diff) |
gentoo auto-resync : 18:11:2023 - 11:02:29
Diffstat (limited to 'eclass/dist-kernel-utils.eclass')
-rw-r--r-- | eclass/dist-kernel-utils.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
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" } |