From: Michael Tremer Date: Tue, 9 Jul 2024 20:16:41 +0000 (+0000) Subject: make.sh: Fix mounting the QEMU helper binary X-Git-Tag: v2.29-core188~10^2~276 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75493bbcb3ad6bd716b1f034d71e1e65d634d248;p=ipfire-2.x.git make.sh: Fix mounting the QEMU helper binary Signed-off-by: Michael Tremer --- diff --git a/make.sh b/make.sh index 907a039908..5d9f6ba223 100755 --- a/make.sh +++ b/make.sh @@ -974,11 +974,11 @@ qemu_install_helper() { mkdir -p "${dirname}" # Create the mountpoint - touch "${BUILD_DIR}${QEMU_TARGET_HELPER}" + touch "${BUILD_DIR}${file}" # Mount the helper - if ! mount --bind -o ro "${file}" "${BUILD_DIR}${qemu_build_helper}"; then - exiterror "Could not mount ${qemu_build_helper}" + if ! mount --bind -o ro "${file}" "${BUILD_DIR}${file}"; then + exiterror "Could not mount ${file}" fi # Set