From: Carsten Koester Date: Sat, 11 Jun 2016 20:21:10 +0000 (-0400) Subject: CSIT-155: Create empty Nested VM build directory if needed X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=d60c62fdcf6d088b7a2769ebfc25d42154864878 CSIT-155: Create empty Nested VM build directory if needed Change-Id: I760fee3ce1c86ae443930b7763727328fecd8250 Signed-off-by: Carsten Koester --- 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