Skip to content

Commit

Permalink
crypt: tidy up unmounts
Browse files Browse the repository at this point in the history
  • Loading branch information
sysrich committed Jun 15, 2024
1 parent 9177d8b commit 148b67f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion usr/lib/tik/modules/post/10-encrypt
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ encrypt_disk() {
done
prun /usr/bin/chroot ${mig_dir}/mnt <<EOT
sdbootutil mkinitrd
umount /etc
EOT
for i in proc dev sys run tmp boot/efi etc var .snapshots; do
for i in proc dev sys run tmp 'boot/efi' etc var '.snapshots'; do
prun /usr/bin/umount "${mig_dir}/mnt/$i"
done
prun /usr/bin/umount ${mig_dir}/mnt
Expand Down

0 comments on commit 148b67f

Please sign in to comment.