2012-09-25 Milo Casagrande <email address hidden>
* linaro_image_tools/hwpack/hwpack_fields.py:
* linaro_image_tools/hwpack/tests/test_config_v3.py:
Merged fixes for bug 1054422.
2012-09-24 Milo Casagrande <email address hidden>
* linaro_image_tools/hwpack/tests/test_config_v3.py:
Added tests for Samsung fields.
2012-09-24 Milo Casagrande <email address hidden>
* linaro_image_tools/hwpack/hwpack_fields.py:
Fixed typo in v3 Samsung fields definition.
2012-09-20 Georgy Redkozubov <email address hidden>
* linaro_image_tools/media_create/android_boards.py:
* linaro_image_tools/media_create/tests/test_media_create.py:
[merge] Added support for device tree for Android on Snowball.
2012-09-20 Patrik Ryd <email address hidden>
* linaro_image_tools/media_create/tests/test_media_create.py:
Adapted tests for Snowball Android for device tree additions
2012-09-20 Patrik Ryd <email address hidden>
* linaro_image_tools/media_create/android_boards.py:
Added device tree support for AndroidSnowballEmmcConfig
2012-09-17 Patrik Ryd <email address hidden>
* linaro_image_tools/media_create/android_boards.py:
android_boards: Changed name of snowball dtb file to board.dtb
2012-09-14 Patrik Ryd <email address hidden>
* linaro_image_tools/media_create/android_boards.py:
DT support for Android Snowball
2012-09-12 James Tunnicliffe <email address hidden>
* linaro_image_tools/media_create/boards.py:
Fix V2 style hwpack layout with V3 config file
2012-09-12 James Tunnicliffe <email address hidden>
* linaro_image_tools/media_create/boards.py:
Fix V2 style directory layouts with a V3 config
2012-09-11 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/config.py:
* linaro_image_tools/hwpack/tests/test_builder.py:
* linaro_image_tools/media_create/boards.py:
* linaro_image_tools/media_create/tests/test_media_create.py:
Add support for copy_files field in metadata
2012-09-11 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/config.py:
* linaro_image_tools/hwpack/tests/test_builder.py:
Removed unused variable EXTRACT_FILES and associated imports.
Renamed call_for_all_boards_and_bootloaders to foreach_boards_and_bootloaders.
Fixed bug in foreach_boards_and_bootloaders (assumed board wasn't set).
Made some code less ugly.
Added more documentation to get_last_used_keys.
Restored part of test (had been removed during refactoring but became relevant again).
2012-09-10 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/config.py:
* linaro_image_tools/media_create/boards.py:
* linaro_image_tools/media_create/tests/test_media_create.py:
Fixed up so linaro-media-create, linaro-hwpack-create and unit tests all work.
2012-09-10 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/tests/test_builder.py:
Make sure that all packages referenced by a copy_files section are saved in the hardware pack.
2012-09-10 James Tunnicliffe <email address hidden>
* linaro_image_tools/media_create/boards.py:
* linaro_image_tools/media_create/tests/test_media_create.py:
Updated copy_file code to make missing directories and test rename file support.
2012-09-10 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/config.py:
* linaro_image_tools/hwpack/tests/test_builder.py:
* linaro_image_tools/media_create/boards.py:
* linaro_image_tools/media_create/tests/test_media_create.py:
Refactored copy_files support.
* Don't extract files into hwpack (leave in package)
* Extract files to target path.
TODO:
* Rename file support.
2012-09-05 James Tunnicliffe <email address hidden>
* linaro_image_tools/media_create/boards.py:
Fix incorrect variable name in get_file (bug introduced when refactoring code)
2012-09-05 James Tunnicliffe <email address hidden>
* linaro_image_tools/media_create/boards.py:
Fix incorrect variable name in get_file (bug introduced when refactoring code)
2012-09-04 Paul Sokolovsky <email address hidden>
* linaro_image_tools/media_create/boards.py:
* linaro_image_tools/media_create/tests/test_media_create.py:
[merge] Implement 'copy_files' field support in linaro-media-create.
2012-09-04 Paul Sokolovsky <email address hidden>
* linaro_image_tools/media_create/boards.py:
Remove TODO comment based on the review.
2012-09-04 Paul Sokolovsky <email address hidden>
* linaro_image_tools/media_create/boards.py:
For consistency, use isinstance() instead of classy type() idiom.
2012-09-04 Paul Sokolovsky <email address hidden>
* linaro_image_tools/media_create/tests/test_media_create.py:
Add test for proper copy_files fields processing while populating boot part.
2012-09-04 Paul Sokolovsky <email address hidden>
* linaro_image_tools/media_create/tests/test_media_create.py:
Add test for HardwarepackHandler.get_file() for v3 fields.
2012-09-04 Paul Sokolovsky <email address hidden>
* linaro_image_tools/media_create/boards.py:
Implement 'copy_files' fields support in linaro-media-create.
2012-09-04 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/hardwarepack.py:
* linaro_image_tools/hwpack/packages.py:
* linaro_image_tools/hwpack/tests/test_builder.py:
Added support for the V3 configuration keyword copy_files.
2012-09-04 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/tests/test_builder.py:
Made test clearer.
2012-09-03 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/packages.py:
* linaro_image_tools/hwpack/tests/test_builder.py:
Added refactored test for copy_files support in hardware pack create.
2012-09-03 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/tests/data:
* linaro_image_tools/hwpack/tests/data/pkgs:
* linaro_image_tools/hwpack/tests/data/pkgs/README:
* linaro_image_tools/hwpack/tests/data/pkgs/make-mock-debs.sh:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-base:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-base/mock-base.control:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-base_1.0_all.deb:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1/copyright:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1/mock-u-boot1.control:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1/u-boot.img:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1_1.0_all.deb:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2/copyright:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2/mock-u-boot2.control:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2/u-boot.img:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2_1.0_all.deb:
* linaro_image_tools/hwpack/tests/data/test.hwpack.conf:
* linaro_image_tools/hwpack/tests/test_linaro_hwpack_create.py:
Removed new test files
2012-09-03 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/tests/data:
* linaro_image_tools/hwpack/tests/data/pkgs:
* linaro_image_tools/hwpack/tests/data/pkgs/README:
* linaro_image_tools/hwpack/tests/data/pkgs/make-mock-debs.sh:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-base:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-base/mock-base.control:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-base_1.0_all.deb:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1/copyright:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1/mock-u-boot1.control:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1/u-boot.img:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1_1.0_all.deb:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2/copyright:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2/mock-u-boot2.control:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2/u-boot.img:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2_1.0_all.deb:
* linaro_image_tools/hwpack/tests/data/test.hwpack.conf:
* linaro_image_tools/hwpack/tests/test_linaro_hwpack_create.py:
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/hardwarepack.py:
* linaro_image_tools/hwpack/tests/test_builder.py:
Merged in changes from initial implementation branch
2012-08-29 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/builder.py:
Remove _set_new_values(), fully replaced by extract_files().
2012-08-29 Paul Sokolovsky <email address hidden>
* README:
* linaro_image_tools/media_create/boards.py:
[merge] Merge usptream branch.
2012-08-29 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/tests/data/test.hwpack.conf:
* linaro_image_tools/hwpack/tests/test_linaro_hwpack_create.py:
Add initial integration tests for linaro-hwpack-create tool.
These tests take hwpack config and predefined (mock) packages as input,
and themn analyze generated hwpack tarball for correctness.
2012-08-29 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/tests/data:
* linaro_image_tools/hwpack/tests/data/pkgs:
* linaro_image_tools/hwpack/tests/data/pkgs/README:
* linaro_image_tools/hwpack/tests/data/pkgs/make-mock-debs.sh:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-base:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-base/mock-base.control:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-base_1.0_all.deb:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1/copyright:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1/mock-u-boot1.control:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1/u-boot.img:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot1_1.0_all.deb:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2/copyright:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2/mock-u-boot2.control:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2/u-boot.img:
* linaro_image_tools/hwpack/tests/data/pkgs/mock-u-boot2_1.0_all.deb:
Add corpus of mock Debian packages to use in tests.
Generated from control files using equivs-build.
2012-08-29 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/tests/test_builder.py:
pep8 fix (2 blank lines).
2012-08-29 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/builder.py:
Wrap long lines to make pep8 happy.
2012-08-29 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/builder.py:
Revamp deletion of boot packages not included in rootfs.
Implement the same as _set_new_values() did.
2012-08-29 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/builder.py:
Allow to override hwpack output filename, mostly for tests.
2012-08-29 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/tests/test_builder.py:
Make sure that PackageUnpacker uses separate dir for each package.
We currently have the code which stores reference to a file extracted from
one package, them extracts another packages and store reference to its files,
etc. If separate dirs are not used for each package, it may turn out that
stored references point to quite different files than expected.
2012-08-29 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/hardwarepack.py:
Make sure that empty "sources" section is supported.
Useful at least for testing, when local packages are used (cuts a lot of time
on updating apt caches).
2012-08-28 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/builder.py:
Suffix bootloader path with board instead of prefix it, to make it sort nice.
2012-08-28 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/builder.py:
Elaborate global vs board-specific bootloader handling.
Config structure related to bootloader spec, now properly parsed. Hardcoded
directory names for bootloader files are gotten rid of, instead files put
in <bootloader_name> hwpack directory for global bootloaders and
<board>-<bootloader_name> for board-specific bootloaders
(this applies to all files - main bootloader file, spl, extra files specified with
copy_files - tehy all go in the same dir, as related to the same bootloader,
and distinct from what other included bootloaders may use).
2012-08-28 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/hardwarepack.py:
Reimplement extraction of bootloader-related files, with support for copy_files.
This uses more data-driven and generalized implementation supporting all of
bootloader:{package/file, spl_package/spl_file, copy_files) fields.
2012-09-04 Fathi Boudra <email address hidden>
* linaro_image_tools/media_create/boards.py:
Change the arguments of function _get_bootcmd() for fastmodels to match the overriden function.
2012-09-03 Riku Voipio <email address hidden>
* linaro_image_tools/media_create/boards.py:
fix fastmodel image build
2012-08-30 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/config.py:
Fix for multiple bootloaders in a hardware pack configuration (added missing comment)
2012-08-30 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/config.py:
* linaro_image_tools/hwpack/testing.py:
* linaro_image_tools/hwpack/tests/test_config.py:
* linaro_image_tools/hwpack/tests/test_config_v3.py:
* linaro_image_tools/hwpack/tests/test_script.py:
Fix for multiple bootloaders in a hardware pack configuration
2012-08-29 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/testing.py:
* linaro_image_tools/hwpack/tests/test_script.py:
* Added test for creating a hardware pack from V3 metadata containing more than one bootloader
* Worked around the logic in find_command that assumes that if you are running from a checkout, file paths will be relative. This isn't true when running in the PyCharm debugger.
* Tidied up IsHardwarePack and gave it the option to use a different format string to match in the FORMAT file.
2012-08-28 James Tunnicliffe <email address hidden>
* linaro_image_tools/hwpack/builder.py:
* linaro_image_tools/hwpack/config.py:
* linaro_image_tools/hwpack/tests/test_config.py:
* linaro_image_tools/hwpack/tests/test_config_v3.py:
Test for selecting parameters from multiple bootloaders.
Fixed bug where if a bootloader wasn't specified, linaro-hwpack-create would fail.
2012-08-29 Deepti B. Kalakeri <email address hidden>
* linaro_image_tools/media_create/boards.py:
Fixes problem where lmc fails to create images when the hwpack doesn't provide a valid dtbfile
2012-08-26 Ricardo Salveti de Araujo <email address hidden>
* linaro_image_tools/media_create/boards.py:
boards.py: checking for argument value before trying to use it
2012-08-28 Paul Sokolovsky <email address hidden>
* README:
[merge] Elaborate test dependencies in README.
2012-08-28 Paul Sokolovsky <email address hidden>
* README:
Using ppa:linaro-maintainers/tools is still required on 12.04.
Using pristine packages leads to weird testr errors, see
https://bugs.launchpad.net/linaro-image-tools/+bug/1042208
2012-08-28 Paul Sokolovsky <email address hidden>
* README:
Wrap in 79 chars.
2012-08-27 Paul Sokolovsky <email address hidden>
* README:
Elaborate test dependencies in README.
1. List more complete list of dependencies.
2. Add copy-paste ready apt-get command to install them.
2012-08-28 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/config.py:
* linaro_image_tools/hwpack/hwpack_fields.py:
Add basic definition and property accessor for "copy_files" field.
2012-08-28 Paul Sokolovsky <email address hidden>
* linaro_image_tools/hwpack/config.py:
* linaro_image_tools/hwpack/hwpack_fields.py:
Add basic definition and property accessor for "copy_files" field.
2012-08-23 Stevan Radakovic <email address hidden>
* linaro_image_tools/__version__.py:
Post-release version bump to 2012.08.1
2012-08-23 Stevan Radakovic <email address hidden>
* linaro_image_tools/__version__.py:
Release 2012.08