aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qemustart
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2020-12-29 13:11:04 -1000
committerPaul Spooren <mail@aparcar.org>2021-01-01 17:49:05 -1000
commit1b002434f0516d682bc8fbefc59b396435205621 (patch)
treed7210f4913ce8fad442e71de9542d51eec787c4e /scripts/qemustart
parent01653fe3c765c88af23de650aebff2768dbecc32 (diff)
downloadupstream-1b002434f0516d682bc8fbefc59b396435205621.tar.gz
upstream-1b002434f0516d682bc8fbefc59b396435205621.tar.bz2
upstream-1b002434f0516d682bc8fbefc59b396435205621.zip
scripts/qemustart: use squashfs instead of ext4
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>
Diffstat (limited to 'scripts/qemustart')
-rwxr-xr-xscripts/qemustart2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemustart b/scripts/qemustart
index 7a2878ea70..f0ddefb839 100755
--- a/scripts/qemustart
+++ b/scripts/qemustart
@@ -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