mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-13 19:27:51 +00:00
Unack to rootfs
This keeps things neutral and leaves the door open for multipart support
This commit is contained in:
parent
034eca3bb0
commit
865021beff
@ -840,7 +840,7 @@ def unpack_image(opts, args):
|
||||
raise Exception('Unrecognized image format')
|
||||
mkdirp(scratchdir)
|
||||
os.chdir(scratchdir)
|
||||
subprocess.check_call(['unsquashfs', indir])
|
||||
subprocess.check_call(['unsquashfs', '-d', 'rootfs', indir])
|
||||
finally:
|
||||
if cleandmtable:
|
||||
subprocess.check_call(['dmsetup', 'remove', cleandmtable])
|
||||
|
Loading…
x
Reference in New Issue
Block a user