From a656195e732b0f519a14ef62dbb0d6d63e30c227 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 9 Jul 2024 20:16:41 +0000 Subject: [PATCH] make.sh: Fix mounting the QEMU helper binary Signed-off-by: Michael Tremer --- make.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5