helpers/envkernel.sh: Fix "Unable to deduce build architecture" (MR 1921)
After an abuild update in Alpine envkernel.sh now throws an error when activating envkernel: ash: to: not found Run 'pmbootstrap log' for details. This happens because functions.sh fails with: Unable to deduce build architecture. Install apk-tools, or set CBUILD. For now it seems to be enough to set CBUILD appropriately to make it work again.
This commit is contained in:
parent
77a6ad03cb
commit
be805653bb
|
@ -189,7 +189,7 @@ create_output_folder() {
|
|||
set_alias_make() {
|
||||
# Cross compiler prefix
|
||||
# shellcheck disable=SC1090
|
||||
prefix="$(. "$chroot/usr/share/abuild/functions.sh";
|
||||
prefix="$(CBUILD="$deviceinfo_arch" . "$chroot/usr/share/abuild/functions.sh";
|
||||
arch_to_hostspec "$deviceinfo_arch")"
|
||||
|
||||
if [ "$gcc6_arg" = "1" ]; then
|
||||
|
|
Loading…
Reference in New Issue