summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/openstack-debian-images/files/openstack-debian-images-1.4-parted.patch')
-rw-r--r--dev-util/openstack-debian-images/files/openstack-debian-images-1.4-parted.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-util/openstack-debian-images/files/openstack-debian-images-1.4-parted.patch b/dev-util/openstack-debian-images/files/openstack-debian-images-1.4-parted.patch
new file mode 100644
index 0000000..2ad9953
--- /dev/null
+++ b/dev-util/openstack-debian-images/files/openstack-debian-images-1.4-parted.patch
@@ -0,0 +1,25 @@
+From 476a31938b2030ac2a3b7cf3806775fb22930e88 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Mon, 15 Jun 2015 21:50:13 +0200
+Subject: [PATCH] Fix parted location for Gentoo
+
+---
+ build-openstack-debian-image | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/build-openstack-debian-image b/build-openstack-debian-image
+index 0c3767c..031a4fe 100755
+--- a/build-openstack-debian-image
++++ b/build-openstack-debian-image
+@@ -187,7 +187,7 @@ set -x
+ ######################################
+ ### Prepare the HDD (format, ext.) ###
+ ######################################
+-PARTED=/sbin/parted
++PARTED=/usr/sbin/parted
+ rm -f $AMI_NAME
+ qemu-img create ${AMI_NAME} ${IMAGE_SIZE}G
+ #dd if=/dev/null bs=1M seek=1024 of=${AMI_NAME}
+--
+2.4.0
+