summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Holman <Keith.Holman@windriver.com>2014-07-31 11:48:50 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-07-31 15:36:03 -0400
commite51f095569de77a74d459af2911aba3aed7da41e (patch)
treeabc0ec1a911417a16daea392b80fb35c893970e3
parent7605c820e49b4312f593095c17c5466845b7d9f4 (diff)
downloadmeta-virtualization-e51f095569de77a74d459af2911aba3aed7da41e.tar.gz
libvirt: add hooks directory
Libvirt contains the functionality to run hooks when before and after it performs specific operations. Hooks are useful in order to perform actions on the host that occur outside of the VM. In order to enable the hooks scripts must exist in a specific directory. This fix adds the required directory to the file system. Signed-off-by: Keith Holman <Keith.Holman@windriver.com>
-rw-r--r--recipes-extended/libvirt/libvirt_1.2.4.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.2.4.bb b/recipes-extended/libvirt/libvirt_1.2.4.bb
index 80ccbbb8..100d4f2a 100644
--- a/recipes-extended/libvirt/libvirt_1.2.4.bb
+++ b/recipes-extended/libvirt/libvirt_1.2.4.bb
@@ -200,6 +200,9 @@ do_install_append() {
200 >> ${D}${sysconfdir}/default/volatiles/99_libvirt 200 >> ${D}${sysconfdir}/default/volatiles/99_libvirt
201 echo "d root root 0755 ${localstatedir}/run/libvirt/qemu none" \ 201 echo "d root root 0755 ${localstatedir}/run/libvirt/qemu none" \
202 >> ${D}${sysconfdir}/default/volatiles/99_libvirt 202 >> ${D}${sysconfdir}/default/volatiles/99_libvirt
203
204 # Add hook support for libvirt
205 mkdir -p ${D}/etc/libvirt/hooks
203} 206}
204 207
205EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH} PTEST_DIR=${PTEST_PATH}" 208EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH} PTEST_DIR=${PTEST_PATH}"