mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 19:55:52 +02:00
make.sh: Fix mounting the QEMU helper binary
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
6
make.sh
6
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
|
||||
|
||||
Reference in New Issue
Block a user