2
0
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:
Jarrod Johnson 2021-08-11 16:14:46 -04:00
parent 034eca3bb0
commit 865021beff

View File

@ -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])