diskimage-builder/tests/install_test_deps.sh
Gregory Haynes 9a6cf7ee6f Add debian build test case
Weve had some regressions recently with the changes in the debian
element. Lets tests that we can build debian images.

Change-Id: I048e7a32ecb4088ec1b1e3b1efdf146187b093db
2015-05-19 19:23:53 +00:00

9 lines
178 B
Bash
Executable File

#!/bin/bash
set -eux
set -o pipefail
sudo apt-get update || true
sudo apt-get install -y qemu-utils kpartx debootstrap || \
sudo yum -y install qemu-img kpartx debootstrap