diff options
author | Carsten Koester <ckoester@cisco.com> | 2016-06-11 16:21:10 -0400 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2016-06-19 02:08:11 +0000 |
commit | d60c62fdcf6d088b7a2769ebfc25d42154864878 (patch) | |
tree | 8adf24d3a2099934ffd615b128873562adf8d7a9 /resources/tools | |
parent | f08e8cf324861a754388a063fbaaf4e33f10d480 (diff) |
CSIT-155: Create empty Nested VM build directory if needed
Change-Id: I760fee3ce1c86ae443930b7763727328fecd8250
Signed-off-by: Carsten Koester <ckoester@cisco.com>
Diffstat (limited to 'resources/tools')
-rwxr-xr-x | resources/tools/disk-image-builder/nested/build.sh | 2 | ||||
-rw-r--r-- | resources/tools/disk-image-builder/nested/requirements.sh | 2 |
2 files changed, 3 insertions, 1 deletions
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 |