Skip to content

Commit

Permalink
acrn-libvirt: drop hook python script
Browse files Browse the repository at this point in the history
Drop hook_support.py script due to security concerns.
User manually can create hook directories and place the desired scripts inside.
So Let user create and add hook scripts.

For more information regarding hooks can be found here:
https://libvirt.org/hooks.html

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
  • Loading branch information
saininav committed Jul 15, 2020
1 parent 52bdc40 commit 2551609
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 63 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ SRC_URI = "git://github.com/projectacrn/acrn-libvirt.git;branch=${SRCBRANCH};des
file://0001-ptest-Remove-Windows-1252-check-from-esxutilstest.patch \
file://configure.ac-search-for-rpc-rpc.h-in-the-sysroot.patch \
file://0001-build-drop-unnecessary-libgnu.la-reference.patch \
file://hook_support.py \
file://gnutls-helper.py \
"

Expand Down Expand Up @@ -338,13 +337,6 @@ do_install_append() {
${D}${sysconfdir}/libvirt/qemu.conf
fi

# Add hook support for libvirt
mkdir -p ${D}/etc/libvirt/hooks
for hook in "daemon" "lxc" "network" "qemu"
do
install -m 0755 ${WORKDIR}/hook_support.py ${D}/etc/libvirt/hooks/${hook}
done

# Force the main dnsmasq instance to bind only to specified interfaces and
# to not bind to virbr0. Libvirt will run its own instance on this interface.
install -m 644 ${WORKDIR}/dnsmasq.conf ${D}/${sysconfdir}/dnsmasq.d/libvirt-daemon
Expand Down

0 comments on commit 2551609

Please sign in to comment.