Bug 9221 - [meta-swupd] Should support empty, unset, SWUPD_BUNDLES
Summary: [meta-swupd] Should support empty, unset, SWUPD_BUNDLES
Status: RESOLVED FIXED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: layers (show other bugs)
Version: 2.1
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.1 M4
Assignee: Joshua Lock
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-03-07 14:42 UTC by Joshua Lock
Modified: 2016-03-10 23:12 UTC (History)
3 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 Joshua Lock 2016-03-07 14:42:19 UTC
It should be possible to use swupd-image.bbclass with an image without requiring that the image also have additional bundles (on top of the os-core/base image) defined.
Comment 1 Joshua Lock 2016-03-10 23:12:59 UTC
Fixed building images when SWUPD_BUNDLES is empty with:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-swupd/commit/?id=8bfd5adc5ce48cf80f4d2369cd843841dcc11dd8

and added some logic to prevent mega images being needlessly created in this scenario:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-swupd/commit/?id=b45ff4ff8389431f80c744cb17a9019bae512d44