From 36be9c1f7a6fded146a6f1c268455d826d78f97b Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Sat, 27 Jun 2015 10:54:46 +0300 Subject: 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 --- scripts/lib/wic/imager/direct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg