Allow passing target image name to ImageExtractor

When generating the delta payload, we use ImageExtractor to extract
the latest image and use the image as a base to generate the delta
payload. Because ImageExtractor always assumes that the image to
extract is a test image ('chromiumos_test_image.bin'), we are unable
to generate the delta payload for non-test images. This needs to be
changed because there are builders (e.g. beaglebone) which do not
produces test images. This CL passes the target image name to
ImageExtractor so that a correct type of image can be used.


Change-Id: Ibb347b4cccbf55079bc719200278dac74e0ab87f
Reviewed-by: Dan Shi <>
Reviewed-by: Yu-Ju Hong <>
Commit-Queue: Yu-Ju Hong <>
Tested-by: Yu-Ju Hong <>
2 files changed