From 51c78a4685ce4e0c021b23f6904ea0e7d8531da6 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Tue, 24 Jun 2014 14:01:09 -0700 Subject: [PATCH] build_image: generate update tools zip by default Missed this in 7231b95a, the update zip should still be built when the usr partition is extracted for generating updates but build_image itself is not generating and signing the update. --- build_image | 6 ++++++ build_library/build_image_util.sh | 19 +++++++++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/build_image b/build_image index e308099253..a67bc3163d 100755 --- a/build_image +++ b/build_image @@ -171,6 +171,12 @@ if [[ "${PROD_IMAGE}" -eq 1 ]]; then fi fi +if [[ ${FLAGS_generate_update} -eq ${FLAGS_TRUE} ]] || \ + [[ ${FLAGS_extract_update} -eq ${FLAGS_TRUE} ]] +then + zip_update_tools +fi + # Write out a version.txt file, this will be used by image_to_vm.sh tee "${BUILD_DIR}/version.txt" <