Merge lp://qastaging/~dooferlad/linaro-image-tools/copy-files-new-syntax into lp://qastaging/linaro-image-tools/11.11
Proposed by
James Tunnicliffe
Status: | Merged |
---|---|
Approved by: | James Tunnicliffe |
Approved revision: | 564 |
Merged at revision: | 560 |
Proposed branch: | lp://qastaging/~dooferlad/linaro-image-tools/copy-files-new-syntax |
Merge into: | lp://qastaging/linaro-image-tools/11.11 |
Diff against target: |
913 lines (+484/-139) 5 files modified
linaro_image_tools/hwpack/builder.py (+70/-74) linaro_image_tools/hwpack/config.py (+67/-3) linaro_image_tools/hwpack/tests/test_builder.py (+22/-16) linaro_image_tools/media_create/boards.py (+171/-11) linaro_image_tools/media_create/tests/test_media_create.py (+154/-35) |
To merge this branch: | bzr merge lp://qastaging/~dooferlad/linaro-image-tools/copy-files-new-syntax |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Sokolovsky | Approve | ||
Review via email: mp+123761@code.qastaging.launchpad.net |
This proposal supersedes a proposal from 2012-09-10.
Description of the change
Have addressed Paul's review.
Tests run:
testr run
Built image using 12.06 release Nano image (V2 hwpack). Booted on Pandaboard.
Built V3 hwpack with copy_files entry and two bootloaders defined. Combined with 12.06 Nano image. Booted on Pandaboard.
----
Adds support for copy_files as specified in https:/
Unfortunately had to roll back some previous changes to make this work in a nice way.
To post a comment you must log in.
Just for the record, I don't think such extreme refactoring was required, and it being started, is not complete - instead of moving entire file processing to be package based and happen on the level of linaro- media-create, this still leaves bootloader.file, bootloader.spl_file as it was, just flips copy_files handling - instead of being done consistent with how bootloader. file/bootloader .spl_file works, it is now package based, but that means we have file-extraction code spread around both linaro- hwpack- create and linaro- media-create.
But for the purpose of having it done, it's ok.
(more comments to come.)