Bug 10943 - buildinfohelper does not consider IMAGE_EXTENSION while saving build artifacts
Summary: buildinfohelper does not consider IMAGE_EXTENSION while saving build artifacts
Status: NEW
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 x86_64
: Medium normal
Target Milestone: 5.99
Assignee: David Reyna
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-01-19 09:45 UTC by Awais
Modified: 2025-06-11 08:56 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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