From a227bfd67369e07e4b8546eaa09adc7d7238bcc1 Mon Sep 17 00:00:00 2001 From: rafael Date: Thu, 12 Sep 2024 08:40:27 +0200 Subject: [PATCH] fixes #7210 for extensions that modify rootdevice --- lib/functions/image/partitioning.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/image/partitioning.sh b/lib/functions/image/partitioning.sh index 2abf26c4ff1a..a638410af504 100644 --- a/lib/functions/image/partitioning.sh +++ b/lib/functions/image/partitioning.sh @@ -300,7 +300,7 @@ function prepare_partitions() { wait_for_disk_sync "after mkfs" # force writes to be really flushed # store in readonly global for usage in later hooks - root_part_uuid="$(blkid -s UUID -o value ${LOOP}p${rootpart})" + root_part_uuid="$(blkid -s UUID -o value ${rootdevice})" declare -g -r ROOT_PART_UUID="${root_part_uuid}" display_alert "Mounting rootfs" "$rootdevice (UUID=${ROOT_PART_UUID})"