summaryrefslogtreecommitdiffstats
path: root/scripts/lib/mic/imager/direct.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/mic/imager/direct.py')
-rw-r--r--scripts/lib/mic/imager/direct.py18
1 files changed, 14 insertions, 4 deletions
diff --git a/scripts/lib/mic/imager/direct.py b/scripts/lib/mic/imager/direct.py
index 1f2f8fcf9c..ac63c38903 100644
--- a/scripts/lib/mic/imager/direct.py
+++ b/scripts/lib/mic/imager/direct.py
@@ -321,15 +321,25 @@ class DirectImageCreator(BaseImageCreator):
321 """ 321 """
322 msg = "The new image(s) can be found here:\n" 322 msg = "The new image(s) can be found here:\n"
323 323
324 parts = self._get_parts()
325
324 for disk_name, disk in self.__instimage.disks.items(): 326 for disk_name, disk in self.__instimage.disks.items():
325 full_path = self._full_path(self.__imgdir, disk_name, "direct") 327 full_path = self._full_path(self.__imgdir, disk_name, "direct")
326 msg += ' %s\n\n' % full_path 328 msg += ' %s\n\n' % full_path
327 329
328 msg += 'The following build artifacts were used to create the image(s):\n' 330 msg += 'The following build artifacts were used to create the image(s):\n'
329 msg += ' ROOTFS_DIR: %s\n' % self.rootfs_dir 331 for p in parts:
330 msg += ' BOOTIMG_DIR: %s\n' % self.bootimg_dir 332 if p.get_rootfs() is None:
331 msg += ' KERNEL_DIR: %s\n' % self.kernel_dir 333 continue
332 msg += ' NATIVE_SYSROOT: %s\n' % self.native_sysroot 334 if p.mountpoint == '/':
335 str = ':'
336 else:
337 str = '["%s"]:' % p.label
338 msg += ' ROOTFS_DIR%s%s\n' % (str.ljust(20), p.get_rootfs())
339
340 msg += ' BOOTIMG_DIR: %s\n' % self.bootimg_dir
341 msg += ' KERNEL_DIR: %s\n' % self.kernel_dir
342 msg += ' NATIVE_SYSROOT: %s\n' % self.native_sysroot
333 343
334 msger.info(msg) 344 msger.info(msg)
335 345