From e51f095569de77a74d459af2911aba3aed7da41e Mon Sep 17 00:00:00 2001 From: Keith Holman Date: Thu, 31 Jul 2014 11:48:50 -0400 Subject: 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 --- recipes-extended/libvirt/libvirt_1.2.4.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'recipes-extended/libvirt') 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() { >> ${D}${sysconfdir}/default/volatiles/99_libvirt echo "d root root 0755 ${localstatedir}/run/libvirt/qemu none" \ >> ${D}${sysconfdir}/default/volatiles/99_libvirt + + # Add hook support for libvirt + mkdir -p ${D}/etc/libvirt/hooks } EXTRA_OEMAKE = "BUILD_DIR=${B} DEST_DIR=${D}${PTEST_PATH} PTEST_DIR=${PTEST_PATH}" -- cgit v1.2.3-54-g00ecf