Merge "Add script to install image build dependencies"
This commit is contained in:
commit
b8b35e46ee
|
@ -0,0 +1,21 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# This script installs all needed dependencies to generate
|
||||||
|
# images using diskimage-builder. Please not it only has been
|
||||||
|
# tested on Ubuntu Trusty
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
|
sudo apt-get update || true
|
||||||
|
sudo apt-get install -y \
|
||||||
|
debootstrap \
|
||||||
|
kpartx \
|
||||||
|
qemu-utils \
|
||||||
|
python-dev \
|
||||||
|
build-essential \
|
||||||
|
python-pip \
|
||||||
|
python-lzma \
|
||||||
|
yum \
|
||||||
|
yum-utils \
|
||||||
|
python-yaml
|
Loading…
Reference in New Issue