diff --git a/initcpio/script/miso_shutdown b/initcpio/script/miso_shutdown index 8cb05a2..c96acf8 100644 --- a/initcpio/script/miso_shutdown +++ b/initcpio/script/miso_shutdown @@ -5,7 +5,8 @@ mkdir /oldrun mount -n --move /oldroot/run /oldrun # Unmount all mounts now. -umount $(mount | awk '$3 ~/^\/oldroot/ {print $3}' | sort -r) +#umount $(mount | awk '$3 ~/^\/oldroot/ {print $3}' | sort -r) +umount $(mount | awk '$3 ~/^\/oldroot/ {if($3 != "/run/miso/bootmnt") print $3}' | sort -r) # Remove all dm-snapshot devices. dmsetup remove_all