diff options
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/wic/imager/direct.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index 2ea7e4e04a..58a9e9d906 100644 --- a/scripts/lib/wic/imager/direct.py +++ b/scripts/lib/wic/imager/direct.py | |||
@@ -351,7 +351,7 @@ class DirectImageCreator(BaseImageCreator): | |||
351 | if p.mountpoint == '/': | 351 | if p.mountpoint == '/': |
352 | str = ':' | 352 | str = ':' |
353 | else: | 353 | else: |
354 | str = '["%s"]:' % p.label | 354 | str = '["%s"]:' % (p.mountpoint or p.label) |
355 | msg += ' ROOTFS_DIR%s%s\n' % (str.ljust(20), p.get_rootfs()) | 355 | msg += ' ROOTFS_DIR%s%s\n' % (str.ljust(20), p.get_rootfs()) |
356 | 356 | ||
357 | msg += ' BOOTIMG_DIR: %s\n' % self.bootimg_dir | 357 | msg += ' BOOTIMG_DIR: %s\n' % self.bootimg_dir |