diff --git a/postplug.d/10filesystems b/postplug.d/10filesystems index 90269c0..a18d678 100644 --- a/postplug.d/10filesystems +++ b/postplug.d/10filesystems @@ -164,6 +164,9 @@ let "swapon = 0" # scan for new devices using the searching mask `$devs2scan' [[ "$FS_PARTS_MOUNT" = "yes" ]] && AUTO_ADD="" || AUTO_ADD="noauto," +# disable automounting of swap partition if live to fix Calamares installation +[ -e /run/overlayfs ] && FS_SWAP_UPDATE="no" + [[ "$FS_PARTS_UPDATE" != "yes" && "$FS_SWAP_UPDATE" != "yes" ]] || blkid | while read line; do unset dev uuid devline devfstype TYPE UUID LABEL