Fix partitioning root UUID bug in /etc/crypttab.
This commit is contained in:
parent
cc704f49a6
commit
817519210b
@ -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 ${rootdevice})"
|
||||
root_part_uuid="$(blkid -s UUID -o value ${LOOP}p${rootpart})"
|
||||
declare -g -r ROOT_PART_UUID="${root_part_uuid}"
|
||||
|
||||
display_alert "Mounting rootfs" "$rootdevice (UUID=${ROOT_PART_UUID})"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user