From 9373e2d4b11b20e99b2cdad585a7b80970920a36 Mon Sep 17 00:00:00 2001 From: MichaIng Date: Fri, 23 Aug 2024 00:13:24 +0200 Subject: [PATCH] v9.7 - DietPi-Patches | Fix Ethernet port migration --- .update/patches | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/.update/patches b/.update/patches index dc9de133b3..925b41c759 100755 --- a/.update/patches +++ b/.update/patches @@ -1812,7 +1812,7 @@ Patch_9_7() G_DIETPI-NOTIFY 1 "Root filesystem is not located on partition 8 as intended, but \"$G_ROOTFS_DEV\" instead. Aborting, please report at: https://github.com/MichaIng/DietPi/issues" exit 1 - elif [[ $(lsblk -no START "$G_ROOTFS_DEV") != 286720 ]] + elif [[ $(partx -rgo START "$G_ROOTFS_DEV") != 286720 ]] then G_DIETPI-NOTIFY 1 "Root partition does not start at sector 286720 as intended, but \"$(lsblk -no START "$G_ROOTFS_DEV")\" instead. Aborting, please report at: https://github.com/MichaIng/DietPi/issues" exit 1 @@ -1853,15 +1853,16 @@ Patch_9_7() # LAN interface migration G_DIETPI-NOTIFY 2 'Migrating LAN interface configs' case $(