mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
aa470a1fcd
commit
1cabf091fc
@@ -351,7 +351,7 @@ class DirectImageCreator(BaseImageCreator):
|
|||||||
if p.mountpoint == '/':
|
if p.mountpoint == '/':
|
||||||
str = ':'
|
str = ':'
|
||||||
else:
|
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 += ' ROOTFS_DIR%s%s\n' % (str.ljust(20), p.get_rootfs())
|
||||||
|
|
||||||
msg += ' BOOTIMG_DIR: %s\n' % self.bootimg_dir
|
msg += ' BOOTIMG_DIR: %s\n' % self.bootimg_dir
|
||||||
|
|||||||
Reference in New Issue
Block a user