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>
This commit is contained in:
parent
e1548334aa
commit
486d2c0968
@ -255,7 +255,7 @@ start_qemu_x86() {
|
|||||||
local mach="${o_mach:-pc}"
|
local mach="${o_mach:-pc}"
|
||||||
|
|
||||||
[ -n "$rootfs" ] || {
|
[ -n "$rootfs" ] || {
|
||||||
rootfs="$o_bindir/openwrt-$o_target-${o_subtarget%-*}-combined-ext4.img"
|
rootfs="$o_bindir/openwrt-$o_target-${o_subtarget%-*}-combined-squashfs.img"
|
||||||
if [ ! -f "$rootfs" -a -s "$rootfs.gz" ]; then
|
if [ ! -f "$rootfs" -a -s "$rootfs.gz" ]; then
|
||||||
gunzip "$rootfs.gz"
|
gunzip "$rootfs.gz"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user