diskimage-builder/tests/install_test_deps.sh
Matthew Thode d1b0fc16aa
Add test dependency installation on Gentoo
Here I add test deps for Gentoo, the main ones to call out are as follows.

* pyyaml: not installed by default and needed for the package element
* parted: not installed by default and needed for the VM element
* multipath-tools: not installed by default and provides kpartx

Change-Id: I07ce871fb3e684bfd9d06268d5c5bd118314f321
2016-04-30 20:56:01 -05:00

21 lines
424 B
Bash
Executable file

#!/bin/bash
set -eux
set -o pipefail
sudo apt-get update || true
sudo apt-get install -y \
debootstrap \
inetutils-ping \
kpartx \
qemu-utils \
uuid-runtime || \
sudo yum -y install \
debootstrap \
kpartx \
qemu-img || \
sudo emerge \
app-emulation/qemu \
dev-python/pyyaml \
sys-block/parted \
sys-fs/multipath-tools