From db73431a4e100b9535e6db8765381976b974d6ae Mon Sep 17 00:00:00 2001 From: Albrecht Lohofener Date: Sun, 17 Nov 2024 14:09:55 +0100 Subject: [PATCH] Fix ext4 migration in u-OS --- src/migrate_openwrt_rootfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/migrate_openwrt_rootfs.sh b/src/migrate_openwrt_rootfs.sh index b37325c..db5fa7f 100644 --- a/src/migrate_openwrt_rootfs.sh +++ b/src/migrate_openwrt_rootfs.sh @@ -68,7 +68,7 @@ if [ -f /storage/old_version ]; then if [[ $OLD_SQUASHFS_COMBINED == *"rootfs"* ]]; then warn "Using rootfs-.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"