diskimage-builder/tests/install_test_deps.sh
SamYaple 0c32784663 Revert "Zerofree the image if possible"
This reverts commit 5184d02a7c.

The decision was made to go with fstrim because it is faster and more
universal that zerofree. The related-id has the patchset that implements
fstrim.

Related-Id: I269b4416be450369616f9b8e030f84c30e329804
Change-Id: If40cf2fc0ecd8686768cbfeac9ecee90907674e7
2016-03-10 20:38:01 +00:00

16 lines
263 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 || \
sudo yum -y install \
debootstrap \
kpartx \
qemu-img