wic: Include mount point into image report

Wic doesn't show any information for the partition if label is not set.
Fixed this by adding mount point to the report.

(From OE-Core rev: 36be9c1f7a6fded146a6f1c268455d826d78f97b)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ed Bartosh
2015-06-27 10:54:46 +03:00
committed by Richard Purdie
parent aa470a1fcd
commit 1cabf091fc

View File

@@ -351,7 +351,7 @@ class DirectImageCreator(BaseImageCreator):
if p.mountpoint == '/':
str = ':'
else:
str = '["%s"]:' % p.label
str = '["%s"]:' % (p.mountpoint or p.label)
msg += ' ROOTFS_DIR%s%s\n' % (str.ljust(20), p.get_rootfs())
msg += ' BOOTIMG_DIR: %s\n' % self.bootimg_dir