summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-06-27 10:54:46 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-02 23:01:20 +0100
commit36be9c1f7a6fded146a6f1c268455d826d78f97b (patch)
treeb57dbf5d02c41de2e88defe0760ca1e9fcdfcc92
parent3abe23bd217315246ec2d98dc9c390b85cfe6a92 (diff)
downloadopenembedded-core-contrib-36be9c1f7a6fded146a6f1c268455d826d78f97b.tar.gz
openembedded-core-contrib-36be9c1f7a6fded146a6f1c268455d826d78f97b.tar.bz2
openembedded-core-contrib-36be9c1f7a6fded146a6f1c268455d826d78f97b.zip
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 <ed.bartosh@linux.intel.com>
-rw-r--r--scripts/lib/wic/imager/direct.py2
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):
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