[openwrt/openwrt] scripts/qemustart: use squashfs instead of ext4

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 1 22:49:18 EST 2021


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1b002434f0516d682bc8fbefc59b396435205621

commit 1b002434f0516d682bc8fbefc59b396435205621
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Tue Dec 29 13:11:04 2020 -1000

    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 at aparcar.org>
---
 scripts/qemustart | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the lede-commits mailing list