diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2015-06-27 10:54:46 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-02 23:08:36 +0100 |
commit | 1cabf091fc64e1858fbc35bd498b82c349a7149b (patch) | |
tree | 391517ae80dc247be484ade79cc024ad351a3574 | |
parent | aa470a1fcd09abbc570d3d885aff460603ef9925 (diff) | |
download | poky-1cabf091fc64e1858fbc35bd498b82c349a7149b.tar.gz |
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>
-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 |