diskimage-builder/tests/install_test_deps.sh

45 lines
924 B
Bash
Raw Normal View History

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