Umount root_mapper

This commit is contained in:
Kevin Veen-Birkenbach 2020-06-16 19:59:09 +02:00
parent 5de37db883
commit 0943cab754

View File

@ -453,6 +453,7 @@ if [ "$encrypt_system" == "y" ]
echo "sed -i 's/$boot_txt_setenv_origin/$boot_txt_setenv_replace/g' $boot_txt_path" #@todo doesn't work yet echo "sed -i 's/$boot_txt_setenv_origin/$boot_txt_setenv_replace/g' $boot_txt_path" #@todo doesn't work yet
echo "echo \"$boot_txt_path:\" && cat \"$boot_txt_path\"" echo "echo \"$boot_txt_path:\" && cat \"$boot_txt_path\""
echo "cd /boot/ && ./mkscr" echo "cd /boot/ && ./mkscr"
echo "umount $root_mapper_path"
echo "exit" echo "exit"
) | chroot "$root_mount_path" /bin/bash || error ) | chroot "$root_mount_path" /bin/bash || error
fi fi