mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-25 00:21:03 +01:00
Solved bug
This commit is contained in:
parent
34b491e2ed
commit
421789f04a
@ -47,6 +47,7 @@ make_working_folder(){
|
|||||||
decrypt_root(){
|
decrypt_root(){
|
||||||
if [ "$(blkid "$root_partition_path" -s TYPE -o value)" == "crypto_LUKS" ]
|
if [ "$(blkid "$root_partition_path" -s TYPE -o value)" == "crypto_LUKS" ]
|
||||||
then
|
then
|
||||||
|
root_partition_uuid=$(blkid "$root_partition_path" -s UUID -o value) &&
|
||||||
root_mapper_name="arch-root-$root_partition_uuid" &&
|
root_mapper_name="arch-root-$root_partition_uuid" &&
|
||||||
root_mapper_path="/dev/mapper/$root_mapper_name" &&
|
root_mapper_path="/dev/mapper/$root_mapper_name" &&
|
||||||
info "Decrypting of $root_partition_path is neccessary..." &&
|
info "Decrypting of $root_partition_path is neccessary..." &&
|
||||||
|
Loading…
Reference in New Issue
Block a user