mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 17:05:36 -04:00
[mount] Ignore empty mountpoints
This commit is contained in:
parent
54fd1f4b26
commit
c6feedf923
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ def mount_partition(root_mount_point, partition, partitions):
|
|||
# Create mount point with `+` rather than `os.path.join()` because
|
||||
# `partition["mountPoint"]` starts with a '/'.
|
||||
raw_mount_point = partition["mountPoint"]
|
||||
if not raw_mount_point:
|
||||
return
|
||||
|
||||
mount_point = root_mount_point + raw_mount_point
|
||||
|
||||
# Ensure that the created directory has the correct SELinux context on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue