From: Michael Tremer Date: Tue, 9 Jul 2024 20:16:41 +0000 (+0000) Subject: make.sh: Fix mounting the QEMU helper binary X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a656195e732b0f519a14ef62dbb0d6d63e30c227;p=people%2Fms%2Fipfire-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 907a03990..5d9f6ba22 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