scripts/qemustart: use squashfs instead of ext4
authorPaul Spooren <mail@aparcar.org>
Tue, 29 Dec 2020 23:11:04 +0000 (13:11 -1000)
committerPaul Spooren <mail@aparcar.org>
Sat, 2 Jan 2021 03:49:05 +0000 (17:49 -1000)
The qemustart script currently picks the ext4 filesystem rather than
squashfs, while the latter is default for nearly all OpenWrt targets.

Change the default behaviour of qemustart to be in line with the rest.

Signed-off-by: Paul Spooren <mail@aparcar.org>
scripts/qemustart

index 7a2878ea70ee8c4bb0d1654afb73f0378a525704..f0ddefb839941a1406018ba5f9c4cd77e72c8e9f 100755 (executable)
@@ -257,7 +257,7 @@ start_qemu_x86() {
        local mach="${o_mach:-pc}"
 
        [ -n "$rootfs" ] || {
-               rootfs="$o_bindir/openwrt-$o_target-${o_subtarget%-*}-generic-ext4-combined.img"
+               rootfs="$o_bindir/openwrt-$o_target-${o_subtarget%-*}-generic-squashfs-combined.img"
                if [ ! -f "$rootfs" -a -s "$rootfs.gz" ]; then
                        gunzip "$rootfs.gz"
                fi