brillo_update_payload: Parse minor version from the metadata.

META/update_engine_config.txt contains KEY=value config options with
the supported version. This patch uses the supported minor version from
the source image to generate the right delta payload.

BUG=b:24406755
TEST=brillo_update_payload with old/new taget_files including and not including the update_engine_config.txt file.

Change-Id: I3dacaeeeda9bbde3991a95fbf7834542af0b5780
Reviewed-on: https://chromium-review.googlesource.com/302624
Commit-Ready: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Jason Kusuma <jkusuma@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed