Bug 10943

Summary: buildinfohelper does not consider IMAGE_EXTENSION while saving build artifacts
Product: [Build System, Metadata & Runtime] Toaster Reporter: Awais <awais_belal>
Component: toasterAssignee: David Reyna <david.reyna>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, stanciux.mihail
Version: unspecified   
Target Milestone: 5.99   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Awais 2017-01-19 09:45:34 UTC
The buildinfohelper function scan_image_artifacts() does not consider IMAGE_EXTENSION when it populates the image_file_extensions_unique set.

In case a BSP inherits from x86 it gets
IMAGE_FSTYPES += "live"
from x86-base.inc.
The "live" image then gets mapped to "hddimg iso" in image_types.bbclass so hddimg and iso are generated in the deploy dir. In the mentioned Toaster function/class Toaster still tries to find an image file with .live suffix which is not available obviously so in turn it does not even display the build artifacts after build completion.

A workaround would be to simply add "hddimg iso" in the IMAGE_FSTYPES for this particular BSP but that would be a "workaround".
Comment 1 David Reyna 2017-04-11 23:24:45 UTC
This will be fixed as part of the 10283 transition.
Comment 2 Randy MacLeod 2023-10-24 14:24:17 UTC
Bulk move from 4.99 or 0.00 to 5.99