CSIT-155: Create empty Nested VM build directory if needed 09/1509/2
authorCarsten Koester <ckoester@cisco.com>
Sat, 11 Jun 2016 20:21:10 +0000 (16:21 -0400)
committerDave Wallace <dwallacelf@gmail.com>
Sun, 19 Jun 2016 02:08:11 +0000 (02:08 +0000)
Change-Id: I760fee3ce1c86ae443930b7763727328fecd8250
Signed-off-by: Carsten Koester <ckoester@cisco.com>
resources/tools/disk-image-builder/nested/build.sh
resources/tools/disk-image-builder/nested/requirements.sh

index 7eddd64..88b444b 100755 (executable)
@@ -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
index 80a76fc..c646506 100644 (file)
@@ -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

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.