Merge pull request #1078 from a-wai/rawfs-allow-use-of-symlinks
[rawfs] Allow use of symlinks in configuration
This commit is contained in:
commit
dc03ced4bb
@ -131,7 +131,7 @@ class RawFSItem:
|
||||
def __init__(self, config, device, fs):
|
||||
libcalamares.utils.debug("Adding an entry for raw copy of {} to {}".format(
|
||||
config["source"], device))
|
||||
self.source = config["source"]
|
||||
self.source = os.path.realpath(config["source"])
|
||||
# If source is a mount point, look for the actual device mounted on it
|
||||
if os.path.ismount(self.source):
|
||||
procmounts = open("/proc/mounts", "r")
|
||||
|
Loading…
Reference in New Issue
Block a user