diskimage-builder/tests/install_test_deps.sh
Gregory Haynes a1bfca6022 Add tests for building *-minimal images
Lets make sure these images can be built.

Change-Id: Idbd07b98c0181738d002a53373425e056390beea
2016-08-22 16:53:32 +00:00

31 lines
620 B
Bash
Executable File

#!/bin/bash
set -eux
set -o pipefail
sudo apt-get update || true
sudo apt-get install -y --force-yes \
apt-transport-https \
debootstrap \
docker.io \
inetutils-ping \
lsb-release \
kpartx \
python-lzma \
qemu-utils \
rpm \
uuid-runtime \
yum-utils || \
sudo yum -y install \
debootstrap \
docker \
kpartx \
qemu-img || \
sudo emerge \
app-emulation/qemu \
dev-python/pyyaml \
sys-block/parted \
sys-fs/multipath-tools \
qemu-img \
yum-utils