If a build includes an image recipe between its targets, we need to collect the full path to the output rootfs files. I can't find this information anywhere at the moment.
webhob-poky/master:aa7bec2e9dffd6901ebe3accf748ce458d1481a3
I think this is the file_name in the targets API
Please check the event MetadataEvent("ImageFileSize") that contains all the needed infos.
Belen, can you please tell me where should I place this info in UI? Also for the size, because it is related. Thanks!
In the simple interface, this information lives in /simple/builds/. It is used to generate the information in the "output" column (which should show only the file extension, as it does now). In the 'real' interface, it will show in a similar manner in the builds table: http://www.yoctoproject.org/toaster/index.html and in the build dashboard: http://www.yoctoproject.org/toaster/build-dashboard.html
I implemented this using MetadataEvent("ImageFileSize"), but the issue is that if rootfs task is not executed (because it is in cache), this event is not triggered. This is issue exposed in bug #5269, for do_package. Is there any other way to find output files? Thanks, Cristiana
patch sent on the toaster ml
patch merged to master http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=839f30486e82710b54deaa979bf69390013ec8b6
file_name and file_size information is being collected for a .rootfs.manifest file that is created in /build/tmp/deploy/images/ for each image recipe built. We would like not to collect this. After talking to Alex, his suggested 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.
patch sent to toaster ml
patch merged to master http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=9e376dbed292410df2188d58ea5bc1f4cfaafa4e
verified in master:478f1b7afe46c0d6328d4b8db1d32e22aef6759d