From 0943cab7548d34c37158a778b0257ee0a9e4a3e8 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Tue, 16 Jun 2020 19:59:09 +0200 Subject: [PATCH] Umount root_mapper --- scripts/image/setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/image/setup.sh b/scripts/image/setup.sh index c95487d..47a2253 100644 --- a/scripts/image/setup.sh +++ b/scripts/image/setup.sh @@ -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 "echo \"$boot_txt_path:\" && cat \"$boot_txt_path\"" echo "cd /boot/ && ./mkscr" + echo "umount $root_mapper_path" echo "exit" ) | chroot "$root_mount_path" /bin/bash || error fi