abuild: fix a mistake in 0e333003df
the prefix was dropped from the check so it always says it's unregistered no actual breakage happened as this just prints a warning
This commit is contained in:
parent
cbca6d4f48
commit
fc575e8361
|
@ -2514,7 +2514,7 @@ rootbld() {
|
|||
if ! [ $CBUILD_ARCH = "$(apk --print-arch)" ]; then
|
||||
# cross-building, so check for binfmt registration
|
||||
local qarch="$(rootbld_qemu_arch)"
|
||||
if ! [ -f "/proc/sys/fs/binfmt_misc/$qarch" ]; then
|
||||
if ! [ -f "/proc/sys/fs/binfmt_misc/qemu-$qarch" ]; then
|
||||
warning "rootbld: binfmt registration missing for $qarch binaries"
|
||||
fi
|
||||
# TODO: it's not safe to mix a cache dir between architectures,
|
||||
|
|
Loading…
Reference in New Issue