diff options
Diffstat (limited to 'recipes-extended/libvirt/libvirt_1.3.5.bb')
-rw-r--r-- | recipes-extended/libvirt/libvirt_1.3.5.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.3.5.bb b/recipes-extended/libvirt/libvirt_1.3.5.bb index 8ed2505e..e7a2b235 100644 --- a/recipes-extended/libvirt/libvirt_1.3.5.bb +++ b/recipes-extended/libvirt/libvirt_1.3.5.bb | |||
@@ -27,6 +27,7 @@ SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz;name=libvirt \ | |||
27 | file://tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch \ | 27 | file://tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch \ |
28 | file://libvirtd.sh \ | 28 | file://libvirtd.sh \ |
29 | file://libvirtd.conf \ | 29 | file://libvirtd.conf \ |
30 | file://dnsmasq.conf \ | ||
30 | file://runptest.patch \ | 31 | file://runptest.patch \ |
31 | file://run-ptest \ | 32 | file://run-ptest \ |
32 | file://tests-allow-separated-src-and-build-dirs.patch \ | 33 | file://tests-allow-separated-src-and-build-dirs.patch \ |
@@ -219,6 +220,7 @@ require libvirt-python.inc | |||
219 | do_install_append() { | 220 | do_install_append() { |
220 | install -d ${D}/etc/init.d | 221 | install -d ${D}/etc/init.d |
221 | install -d ${D}/etc/libvirt | 222 | install -d ${D}/etc/libvirt |
223 | install -d ${D}/etc/dnsmasq.d | ||
222 | 224 | ||
223 | install -m 0755 ${WORKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd | 225 | install -m 0755 ${WORKDIR}/libvirtd.sh ${D}/etc/init.d/libvirtd |
224 | install -m 0644 ${WORKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf | 226 | install -m 0644 ${WORKDIR}/libvirtd.conf ${D}/etc/libvirt/libvirtd.conf |
@@ -266,6 +268,10 @@ do_install_append() { | |||
266 | # Add hook support for libvirt | 268 | # Add hook support for libvirt |
267 | mkdir -p ${D}/etc/libvirt/hooks | 269 | mkdir -p ${D}/etc/libvirt/hooks |
268 | 270 | ||
271 | # Force the main dnsmasq instance to bind only to specified interfaces and | ||
272 | # to not bind to virbr0. Libvirt will run its own instance on this interface. | ||
273 | install -m 644 ${WORKDIR}/dnsmasq.conf ${D}/${sysconfdir}/dnsmasq.d/libvirt-daemon | ||
274 | |||
269 | # remove .la references to our working diretory | 275 | # remove .la references to our working diretory |
270 | for i in `find ${D}${libdir} -type f -name *.la`; do | 276 | for i in `find ${D}${libdir} -type f -name *.la`; do |
271 | sed -i -e 's#-L${B}/src/.libs##g' $i | 277 | sed -i -e 's#-L${B}/src/.libs##g' $i |