Skip to content

Commit

Permalink
scripts/qemustart: use squashfs instead of ext4
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
aparcar committed Jan 2, 2021
1 parent 01653fe commit 1b00243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/qemustart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b00243

Please sign in to comment.