mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
libvirt: Check for qemu.conf before modifying
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
b0acd19777
commit
8af86bc72d
|
@ -266,8 +266,10 @@ do_install_append() {
|
|||
fi
|
||||
|
||||
# disable seccomp_sandbox
|
||||
if [ -e ${D}${sysconfdir}/libvirt/qemu.conf ] ; then
|
||||
sed -i '/^#seccomp_sandbox = 1/aseccomp_sandbox = 0' \
|
||||
${D}${sysconfdir}/libvirt/qemu.conf
|
||||
fi
|
||||
|
||||
# Add hook support for libvirt
|
||||
mkdir -p ${D}/etc/libvirt/hooks
|
||||
|
|
Loading…
Reference in New Issue
Block a user