summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui
diff options
context:
space:
mode:
authorAlexandru Damian <alexandru.damian@intel.com>2015-01-23 11:15:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-29 22:11:35 +0000
commitfefef50e5474da740f926ef635676c4d5f24b9b7 (patch)
treeba6528dbf6c0af39d3c7d37e6ce3eddfad02e8f2 /bitbake/lib/bb/ui
parent32b396b8e150ceb2e00222253463fd6fe4293b14 (diff)
downloadpoky-fefef50e5474da740f926ef635676c4d5f24b9b7.tar.gz
bitbake: toasterui: do not filter images by extension
ToasterUI filters build artifacts by extension in order to determine if a build artifact is an image or not. Using IMAGE_FSTYPES for this purpose is not correct as the varible value holding image extensions is just a coincidence. So we just look if the filename contains the "rootfs" magic string, which is a pretty good approximation. [YOCTO #7213] (Bitbake rev: b11e8bd626e0212ee72914529c3d92d1dd718674) Signed-off-by: Alexandru Damian <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui')
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index be0de6b17c..4e2d4a7dec 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -770,7 +770,7 @@ class BuildInfoHelper(object):
770 if t.is_image == True: 770 if t.is_image == True:
771 output_files = list(evdata.viewkeys()) 771 output_files = list(evdata.viewkeys())
772 for output in output_files: 772 for output in output_files:
773 if t.target in output and output.split('.rootfs.')[1] in image_fstypes: 773 if t.target in output and 'rootfs' in output and not output.endswith(".manifest"):
774 self.orm_wrapper.save_target_image_file_information(t, output, evdata[output]) 774 self.orm_wrapper.save_target_image_file_information(t, output, evdata[output])
775 775
776 def update_artifact_image_file(self, event): 776 def update_artifact_image_file(self, event):