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:
psykose 2023-07-03 02:45:13 +00:00
parent cbca6d4f48
commit fc575e8361
1 changed files with 1 additions and 1 deletions

View File

@ -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,