mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
Merge pull request #1226 from a-wai/fix-unpackfs-for-rootfs
[unpackfs] Enable to use "/" as a source
This commit is contained in:
commit
b685583060
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class UnpackOperation:
|
||||||
imgbasename = os.path.splitext(
|
imgbasename = os.path.splitext(
|
||||||
os.path.basename(entry.source))[0]
|
os.path.basename(entry.source))[0]
|
||||||
imgmountdir = os.path.join(source_mount_path, imgbasename)
|
imgmountdir = os.path.join(source_mount_path, imgbasename)
|
||||||
os.mkdir(imgmountdir)
|
os.makedirs(imgmountdir, exist_ok=True)
|
||||||
|
|
||||||
self.mount_image(entry, imgmountdir)
|
self.mount_image(entry, imgmountdir)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue