Merge lp:~james-w/linaro-image-tools/metadata-from-config into lp:linaro-image-tools/11.11
Proposed by
James Westby
Status: | Merged |
---|---|
Approved by: | Michael Hudson-Doyle |
Approved revision: | 110 |
Merged at revision: | 67 |
Proposed branch: | lp:~james-w/linaro-image-tools/metadata-from-config |
Merge into: | lp:linaro-image-tools/11.11 |
Prerequisite: | lp:~james-w/linaro-image-tools/architectures-from-config |
Diff against target: |
58 lines (+37/-0) 2 files modified
hwpack/hardwarepack.py (+22/-0) hwpack/tests/test_hardwarepack.py (+15/-0) |
To merge this branch: | bzr merge lp:~james-w/linaro-image-tools/metadata-from-config |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Hudson-Doyle (community) | Approve | ||
Review via email: mp+34468@code.launchpad.net |
Description of the change
Hi,
A tiny branch to add a second constructor for Metdadata objects that
allows them to be created from their cousin, the Config object,
with a couple of other items specified.
Version doesn't go in the config, so has to be specified externally.
While architectures are in the configuration, we want to select a
single one for the particular hardware pack that is being built.
Thanks,
James
To post a comment you must log in.
You could check that the supplied architecture is in the config. Otherwise fine.