Skip to content

Commit c453d68

Browse files
committed
Add declare of detach_all_loopback
1 parent dc4862c commit c453d68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/qemu_boot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if [ ! -f "${BASE_IMG_PATH}" ]; then
1919
BASE_MOUNT_PATH=${DEST}/mount
2020
mkdir -p "${BASE_MOUNT_PATH}"
2121

22-
sudo bash -c "$(declare -f mount_image); mount_image $BASE_IMG_PATH $BASE_ROOT_PARTITION $BASE_MOUNT_PATH"
22+
sudo bash -c "$(declare -f mount_image); $(declare -f detach_all_loopback); mount_image $BASE_IMG_PATH $BASE_ROOT_PARTITION $BASE_MOUNT_PATH"
2323

2424
pushd "${BASE_MOUNT_PATH}"
2525
sudo bash -c "$(declare -f fixLd); fixLd"

0 commit comments

Comments
 (0)