Bugfix/wsl build (#2681)

* explicitly declare squashfs as loop device

* Update update-image.sh
This commit is contained in:
Aiden McClelland
2024-07-23 12:35:38 -06:00
committed by GitHub
parent 019142efc9
commit c6f19db1ec

View File

@@ -8,7 +8,7 @@ if mountpoint tmp/combined; then sudo umount -R tmp/combined; fi
if mountpoint tmp/lower; then sudo umount tmp/lower; fi
sudo rm -rf tmp
mkdir -p tmp/lower tmp/upper tmp/work tmp/combined
sudo mount debian.${ARCH}.squashfs tmp/lower
sudo mount -o loop -t squashfs debian.${ARCH}.squashfs tmp/lower
sudo mount -t overlay -olowerdir=tmp/lower,upperdir=tmp/upper,workdir=tmp/work overlay tmp/combined
QEMU=