aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/disk-image-builder
diff options
context:
space:
mode:
Diffstat (limited to 'resources/tools/disk-image-builder')
-rwxr-xr-xresources/tools/disk-image-builder/nested/build.sh2
-rw-r--r--resources/tools/disk-image-builder/nested/requirements.sh2
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