summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-04-09 14:39:09 (GMT)
committerBaserock Gerrit <gerrit@baserock.org>2015-04-09 16:32:15 (GMT)
commitdf5dcd55aa0e0691dfb9cb8793a13298e6157474 (patch)
treea32ea28af62cbae3ae9f91b862516e877640b891
parentafe4056e2683d55a9ef0bddaec6bad89139be0ee (diff)
downloaddefinitions-df5dcd55aa0e0691dfb9cb8793a13298e6157474.tar.gz
Add parted to tools
It is required for Ironic. Change-Id: Ie5297598201479f7dff182de3a1d39bcd61bd6cb
-rw-r--r--strata/tools.morph5
-rw-r--r--strata/tools/parted.morph10
2 files changed, 15 insertions, 0 deletions
diff --git a/strata/tools.morph b/strata/tools.morph
index 63ef39c..e644963 100644
--- a/strata/tools.morph
+++ b/strata/tools.morph
@@ -85,3 +85,8 @@ chunks:
unpetrify-ref: tcpdump-4.7
build-depends:
- libpcap
+- name: parted
+ morph: strata/tools/parted.morph
+ repo: upstream:parted
+ ref: 0477d5ac971681b36cb2d2a97d1de8afd2a696d3
+ unpetrify-ref: baserock/v3.2
diff --git a/strata/tools/parted.morph b/strata/tools/parted.morph
new file mode 100644
index 0000000..d99c73c
--- /dev/null
+++ b/strata/tools/parted.morph
@@ -0,0 +1,10 @@
+name: parted
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- ./bootstrap --skip-po --no-git --gnulib-srcdir=gnulib
+configure-commands:
+# Disable device-mapper as it is not installed on Baserock
+- ./configure --prefix="$PREFIX" --disable-device-mapper
+build-commands:
+- make WERROR_CFLAGS=""