344b1bc5d3
On SUSE family distros the squash-tools are simply part of the main package called "squashfs", so install that one instead. Without this change bindep on SUSE hosts fails with: ERROR: These requested packages were not installed: squashfs-tools Also adjust install_test_deps.sh to install required packages on an openSUSE host. Change-Id: I61dcd5314e78dbb1fb31e723799374edd456da99
43 lines
891 B
Bash
Executable file
43 lines
891 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 \
|
|
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 || \
|
|
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
|