summaryrefslogtreecommitdiffstats
path: root/scripts
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:08:36 +0100
commit1cabf091fc64e1858fbc35bd498b82c349a7149b (patch)
tree391517ae80dc247be484ade79cc024ad351a3574 /scripts
parentaa470a1fcd09abbc570d3d885aff460603ef9925 (diff)
downloadpoky-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>
Diffstat (limited to 'scripts')
-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):
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