Increase settings migration speed under u-OS

This commit is contained in:
Albrecht Lohofener
2024-11-17 23:14:57 +01:00
parent 8a3f233dff
commit 1042810eca
+1 -2
View File
@@ -44,8 +44,7 @@ if [ -f /storage/old_version ]; then
# This is a workaround!
# Make a copy from the original OpenWrt image
cp /var/vm/squashfs-combined-${OPENWRT_VERSION}.img.gz /tmp/squashfs-combined-tmp.img.gz
gzip -d /tmp/squashfs-combined-tmp.img.gz
cp $SQUASHFS_COMBINED /tmp/squashfs-combined-tmp.img
# Boot a temporary OpenWrt
qemu-system-aarch64 -M virt -cpu host --enable-kvm -smp 2 -nographic -nodefaults -m 256 \