Implemented uuid seeding for boot partition

This commit is contained in:
2020-10-04 12:41:37 +02:00
parent a1fe7356b4
commit 8d87c49a91
2 changed files with 6 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ make_working_folder(){
set_root_variables(){
info "Setting root variables..." &&
root_partition_uuid=$(blkid "$root_partition_path" -s UUID -o value) &&
boot_partition_uuid=$(blkid "$boot_partition_uuid" -s UUID -o value) &&
root_mapper_name="arch-root-$root_partition_uuid" &&
root_mapper_path="/dev/mapper/$root_mapper_name" || error
}