mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-03 12:25:38 -04:00
Merge pull request #1570 from gportay/mount-skip-if-filesystem-is-unformatted
[mount] Ignore unformatted filesystems only
This commit is contained in:
commit
009b3b460b
2 changed files with 5 additions and 2 deletions
|
@ -56,7 +56,7 @@ def mount_partition(root_mount_point, partition, partitions):
|
||||||
raise
|
raise
|
||||||
|
|
||||||
fstype = partition.get("fs", "").lower()
|
fstype = partition.get("fs", "").lower()
|
||||||
if not fstype or fstype == "unformatted":
|
if fstype == "unformatted":
|
||||||
return
|
return
|
||||||
|
|
||||||
if fstype == "fat16" or fstype == "fat32":
|
if fstype == "fat16" or fstype == "fat32":
|
||||||
|
|
|
@ -12,10 +12,13 @@
|
||||||
# Extra filesystems to mount. The key's value is a list of entries; each
|
# Extra filesystems to mount. The key's value is a list of entries; each
|
||||||
# entry has four keys:
|
# entry has four keys:
|
||||||
# - device The device node to mount
|
# - device The device node to mount
|
||||||
# - fs The filesystem type to use
|
# - fs (optional) The filesystem type to use
|
||||||
# - mountPoint Where to mount the filesystem
|
# - mountPoint Where to mount the filesystem
|
||||||
# - options (optional) Extra options to pass to mount(8)
|
# - options (optional) Extra options to pass to mount(8)
|
||||||
#
|
#
|
||||||
|
# The device is not mounted if the mountPoint is unset or if the fs is
|
||||||
|
# set to unformatted.
|
||||||
|
#
|
||||||
extraMounts:
|
extraMounts:
|
||||||
- device: proc
|
- device: proc
|
||||||
fs: proc
|
fs: proc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue