summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-10 18:09:12 (GMT)
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-02-10 18:21:18 (GMT)
commit93e1de66a13b0e8a0b87fced75fe269c56b06fc0 (patch)
treee9d1787b2625f1e4b2527807b5aa838943c1ef6e
parent28b9acf5b5ff39b132feb4e04dff0aaf77dfef9a (diff)
downloaddefinitions-baserock/pedroalvarez/dnsmasq-install-utils.tar.gz
dnsmasq.morph: Install also dhcp_release and dhcp_lease_timebaserock/pedroalvarez/dnsmasq-install-utils
These binaries are needed to run Openstack in baserock: The DHCP agent of neutron tries to run the following command: $ ip netns exec qdhcp-63399d35-f830-4972-86b5-fafaf4eca392 dhcp_release tap adbb6630-f5 192.168.1.4 fa:16:3e:5c:86:14 Resulting in the following error: exec of "dhcp_release" failed: No such file or directory
-rw-r--r--strata/virtualization/dnsmasq.morph8
1 files changed, 6 insertions, 2 deletions
diff --git a/strata/virtualization/dnsmasq.morph b/strata/virtualization/dnsmasq.morph
index 4db0bf0..3f4c6c5 100644
--- a/strata/virtualization/dnsmasq.morph
+++ b/strata/virtualization/dnsmasq.morph
@@ -1,6 +1,10 @@
name: dnsmasq
kind: chunk
-build-system: autotools
-configure-commands: []
+build-system: manual
+build-commands:
+- make
+- make -C contrib/wrt
install-commands:
- make install PREFIX="$PREFIX" DESTDIR="$DESTDIR"
+- install -D -m 755 contrib/wrt/dhcp_release "$DESTDIR$PREFIX"/bin/dhcp_release
+- install -D -m 755 contrib/wrt/dhcp_lease_time "$DESTDIR$PREFIX"/bin/dhcp_lease_time