mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
fixes #7210 for extensions that modify rootdevice
This commit is contained in:
@@ -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})"
|
||||
|
||||
Reference in New Issue
Block a user