Merge pull request #1078 from a-wai/rawfs-allow-use-of-symlinks

[rawfs] Allow use of symlinks in configuration
main
Adriaan de Groot 6 years ago committed by GitHub
commit dc03ced4bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save