From d60c62fdcf6d088b7a2769ebfc25d42154864878 Mon Sep 17 00:00:00 2001 From: Carsten Koester Date: Sat, 11 Jun 2016 16:21:10 -0400 Subject: CSIT-155: Create empty Nested VM build directory if needed Change-Id: I760fee3ce1c86ae443930b7763727328fecd8250 Signed-off-by: Carsten Koester --- resources/tools/disk-image-builder/nested/build.sh | 2 ++ resources/tools/disk-image-builder/nested/requirements.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/tools/disk-image-builder/nested/build.sh b/resources/tools/disk-image-builder/nested/build.sh index 7eddd64052..88b444b67d 100755 --- a/resources/tools/disk-image-builder/nested/build.sh +++ b/resources/tools/disk-image-builder/nested/build.sh @@ -46,6 +46,8 @@ then exit 1 fi +mkdir -p ${BUILD_DIR} + echo Building version: ${VERSION} echo $VERSION > ${BUILD_DIR}/VERSION echo "NESTED_VERSION=${VERSION}" > ${BUILD_DIR}/VERSION_HIDDEN diff --git a/resources/tools/disk-image-builder/nested/requirements.sh b/resources/tools/disk-image-builder/nested/requirements.sh index 80a76fc2e1..c646506c0f 100644 --- a/resources/tools/disk-image-builder/nested/requirements.sh +++ b/resources/tools/disk-image-builder/nested/requirements.sh @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -sudo apt-get install -y gcc-multilib +sudo apt-get install -y gcc-multilib bc unzip -- cgit 1.2.3-korg