From f6064d52e8cff2f9a8bf0cecc70402999c9fb055 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Wed, 2 Dec 2015 12:31:01 -0800 Subject: [PATCH] build_image: fix generation of version.txt The generation of version.txt was the only thing depending on sourcing the deprecated BUILD, BRANCH, and PATCH values from version.txt which common.sh no longer does since 0b6acf86. Derive them instead. --- build_image | 7 ++++--- common.sh | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/build_image b/build_image index ccbea76496..d51791d2cc 100755 --- a/build_image +++ b/build_image @@ -182,10 +182,11 @@ then fi # Write out a version.txt file, this will be used by image_to_vm.sh +split_ver "${COREOS_VERSION_ID}" SPLIT tee "${BUILD_DIR}/version.txt" <