Skip to content

Commit

Permalink
fixes #7210 for extensions that modify rootdevice
Browse files Browse the repository at this point in the history
  • Loading branch information
rafael authored and igorpecovnik committed Sep 14, 2024
1 parent 7745d2e commit dcff6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions/image/partitioning.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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})"
Expand Down

0 comments on commit dcff6cf

Please sign in to comment.