From: Ed Bartosh Date: Sat, 27 Jun 2015 07:54:46 +0000 (+0300) Subject: wic: Include mount point into image report X-Git-Tag: 2015-10~1395 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=36be9c1f7a6fded146a6f1c268455d826d78f97b;p=openembedded-core.git 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. Signed-off-by: Ed Bartosh --- 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): 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