mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-13 01:54:29 -04:00
[unpackfs] Be more resilient to globalStorage weirdness
- If no extraMount is defined, just don't mount anything
This commit is contained in:
parent
823b5e480e
commit
2d684bb385
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ def list_excludes(destination):
|
||||||
"""
|
"""
|
||||||
lst = []
|
lst = []
|
||||||
extra_mounts = globalstorage.value("extraMounts")
|
extra_mounts = globalstorage.value("extraMounts")
|
||||||
|
if extra_mounts is None:
|
||||||
|
extra_mounts = []
|
||||||
|
|
||||||
for extra_mount in extra_mounts:
|
for extra_mount in extra_mounts:
|
||||||
mount_point = extra_mount["mountPoint"]
|
mount_point = extra_mount["mountPoint"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue