[oe-commits] Ed Bartosh : wic: Include mount point into image report
git at git.openembedded.org
git at git.openembedded.org
Thu Jul 2 22:08:56 UTC 2015
Module: openembedded-core.git
Branch: master
Commit: 36be9c1f7a6fded146a6f1c268455d826d78f97b
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=36be9c1f7a6fded146a6f1c268455d826d78f97b
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
Date: Sat Jun 27 10:54:46 2015 +0300
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 at linux.intel.com>
---
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 2ea7e4e..58a9e9d 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
More information about the Openembedded-commits
mailing list