Last commit made on 2017-11-15
Get this branch:
git clone -b fix_none_output_dir https://git.launchpad.net/~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image
Only Gary.Wang can upload to this branch. If you are Gary.Wang please log in for upload directions.

Branch merges

Branch information


Recent commits

11d50a5... by Gary.Wang on 2017-11-15

Deal with a nitpicking and change "move" to "copy" in the comment.

ba044bd... by Gary.Wang on 2017-11-15

Better writing for the comment.

a765434... by Gary.Wang on 2017-11-15

Address the review comments.

b5e3f9a... by Gary.Wang on 2017-11-15

A tiny cleanup.

18447db... by Gary.Wang on 2017-11-14

Make sure the final image file path is valid before invoking hooks.

If output_dir is not given in the command line, an exception is thrown out
in ImageAssembler, we need to know exact output dir before customBuilder is
instantiated so that the actual image file path can be exported to
pre-custom-raw hooks.
The argument(image_spec_file) is not updated in main.py which causes the
some current unit tests to fail.
This MP fixes the above issues.

e4bb316... by System Enablement CI Bot <email address hidden> on 2017-11-14

Merge remote tracking branch support-hooks

Merge-Proposal: https://code.launchpad.net/~alfonsosanchezbeato/snappy-hwe-snaps/+git/ubuntu-custom-image/+merge/333268

Author: Alfonso Sanchez-Beato <email address hidden>

Add support for pre-customize-raw/pre-customize/post-customize/post-customize-raw hooks.

950cbcd... by Alfonso Sanchez-Beato on 2017-11-14

builder: add hook manager when creating

13efba3... by Alfonso Sanchez-Beato on 2017-11-10

Address review comments

0ad5648... by System Enablement CI Bot <email address hidden> on 2017-11-10

Merge remote tracking branch import_correct_pkg

Merge-Proposal: https://code.launchpad.net/~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image/+merge/333441

Author: Gary.Wang <email address hidden>

Import the correct package and remove unused imports.

When writing test cases, I found we're importing old packages(ubuntu_image)
wrongly in some files. It blocked us to use classes or functions defined from
these files when importing them in other source files, e.g. LogCapture
Also we didn't copy all source files of ubuntu_image into this repo since
they're not needed for image customizations, hence we remove some deprecated
Builders(i.e XXXClassicBuilder, XXXModelAssertionBuilder) which are intended to
facilitate writing test cases for ubuntu-image instead of ubuntu-custom-image.

7cf75e7... by Alfonso Sanchez-Beato on 2017-11-10

Merge branch 'master' into support-hooks