diskimage-builder/tests/install_test_deps.sh
Gregory Haynes 152975d258 Add install_test_deps script
This is useful for users and for CI so we do not have to chase infra for
changes when dependency issues arise.

Change-Id: I7c8bdaddfe316ae171b34164f99bc3d568eafd92
2015-05-01 21:33:55 +00:00

9 lines
154 B
Bash
Executable File

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