]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
make.sh: Fix mounting the QEMU helper binary
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Jul 2024 20:16:41 +0000 (20:16 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 9 Jul 2024 20:16:41 +0000 (20:16 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index 907a039908591d8a1c56ba2308cfa50d9eba59e8..5d9f6ba2237248da21831948f3501af0aedaac97 100755 (executable)
--- 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