diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2014-03-18 18:27:17 +0200 |
---|---|---|
committer | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-03-24 18:32:19 +0000 |
commit | 017771ed0508b247edaf875789260906f44381f4 (patch) | |
tree | fffe6018adef37f572e5936e12bdabbf44f85ade /lib | |
parent | 50e7f8f3bcfdd5b3e1b7778bfaaa93a563aba45d (diff) | |
download | bitbake-017771ed0508b247edaf875789260906f44381f4.tar.gz |
bitbake toaster: check the file_name with the content of the IMAGE_FSTYPES variable
File_name information of Target_image_file is being collected for a
.rootfs.manifest file. We would like not to collect this. The solution is
to cross check the information gathered for file_name with the content
of the IMAGE_FSTYPES variable. If any of the file_name entries does not
match the content of IMAGE_FSTYPES, we do not store it.
[YOCTO #5189]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/ui/buildinfohelper.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/ui/buildinfohelper.py b/lib/bb/ui/buildinfohelper.py index 08d9fcf8b..30c9b9239 100644 --- a/lib/bb/ui/buildinfohelper.py +++ b/lib/bb/ui/buildinfohelper.py @@ -615,11 +615,12 @@ class BuildInfoHelper(object): self.orm_wrapper.save_build_variables(build_obj, self.server.runCommand(["getAllKeysWithFlags", ["doc", "func"]])[0]) def update_target_image_file(self, event): + image_fstypes = self.server.runCommand(["getVariable", "IMAGE_FSTYPES"])[0] for t in self.internal_state['targets']: if t.is_image == True: output_files = list(event.data.viewkeys()) for output in output_files: - if t.target in output: + if t.target in output and output.split('.rootfs.')[1] in image_fstypes: self.orm_wrapper.save_target_image_file_information(t, output, event.data[output]) def update_build_information(self, event, errors, warnings, taskfailures): |