mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
Bugfix/wsl build (#2681)
* explicitly declare squashfs as loop device * Update update-image.sh
This commit is contained in:
@@ -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
|
if mountpoint tmp/lower; then sudo umount tmp/lower; fi
|
||||||
sudo rm -rf tmp
|
sudo rm -rf tmp
|
||||||
mkdir -p tmp/lower tmp/upper tmp/work tmp/combined
|
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
|
sudo mount -t overlay -olowerdir=tmp/lower,upperdir=tmp/upper,workdir=tmp/work overlay tmp/combined
|
||||||
|
|
||||||
QEMU=
|
QEMU=
|
||||||
|
|||||||
Reference in New Issue
Block a user