mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-14 16:01:29 +00:00
Fix ext4 migration in u-OS
This commit is contained in:
@@ -68,7 +68,7 @@ if [ -f /storage/old_version ]; then
|
||||
|
||||
if [[ $OLD_SQUASHFS_COMBINED == *"rootfs"* ]]; then
|
||||
warn "Using rootfs-<UUID>.img images is deprecated!"
|
||||
ssh root@localhost -p 1022 "mount /dev/vdb2 /mnt"
|
||||
ssh root@localhost -p 1022 "mount /dev/vdb /mnt"
|
||||
ssh root@localhost -p 1022 "chroot /mnt/ mkdir -p /var/lock"
|
||||
ssh root@localhost -p 1022 "chroot /mnt /sbin/sysupgrade -k -b /tmp/openwrt_config.tar.gz"
|
||||
ssh root@localhost -p 1022 "cp /mnt/tmp/openwrt_config.tar.gz /tmp"
|
||||
|
||||
Reference in New Issue
Block a user