Skip to content

Commit

Permalink
fixes armbian#7210 for extensions that modify rootdevice
Browse files Browse the repository at this point in the history
  • Loading branch information
rafael committed Sep 12, 2024
1 parent eb3578a commit 6e00917
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 6e00917

Please sign in to comment.