mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-14 16:01:29 +00:00
Increase settings migration speed under u-OS
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user