Its probably better not to have overlays of tmp.

All overlays should be able to share the one /tmp anyway.
This commit is contained in:
Andrew Hamilton 2016-10-23 16:47:13 +02:00
parent 553bb440cd
commit bf856d87f0

View file

@ -55,7 +55,7 @@ def _parse_proc_mounts():
def _find_mounts(): def _find_mounts():
all_mounts = set(part[1] for part in _parse_proc_mounts()) all_mounts = set(part[1] for part in _parse_proc_mounts())
mount_points = {"/", "/usr", "/bin", "/etc", "/lib", "/dev", "/home", mount_points = {"/", "/usr", "/bin", "/etc", "/lib", "/dev", "/home",
"/boot", "/opt", "/run", "/root", "/var", "/tmp"} "/boot", "/opt", "/run", "/root", "/var"}
return all_mounts.intersection(mount_points) return all_mounts.intersection(mount_points)