fix the file permissions on executables,

also, install kpartx for fedora images
This commit is contained in:
Robert Pothier
2013-10-22 21:56:04 -04:00
parent 4128c51158
commit 2bbe5bf9d3
3 changed files with 5 additions and 0 deletions

View File

View File

5
image-builder/build-image.sh Normal file → Executable file
View File

@@ -6,6 +6,11 @@ if ! [ type qemu-img 2>/dev/null ]; then
apt-get install -y qemu-utils apt-get install -y qemu-utils
fi fi
#need kpartx for Fedora
if ! [ type kpartx 2>/dev/null ]; then
apt-get install -y kpartx
fi
if ! [ -f diskimage-builder ]; then if ! [ -f diskimage-builder ]; then
git clone https://github.com/openstack/diskimage-builder.git git clone https://github.com/openstack/diskimage-builder.git
fi fi