merged

Bruce

On Wed, Jun 13, 2018 at 7:32 PM, Jeremy Puhlman <[email protected]> wrote:

> Signed-off-by: Jeremy Puhlman <[email protected]>
> ---
>  recipes-extended/libvirt/libvirt_4.3.0.bb | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-extended/libvirt/libvirt_4.3.0.bb
> b/recipes-extended/libvirt/libvirt_4.3.0.bb
> index ef51b9e..edd5261 100644
> --- a/recipes-extended/libvirt/libvirt_4.3.0.bb
> +++ b/recipes-extended/libvirt/libvirt_4.3.0.bb
> @@ -266,8 +266,10 @@ do_install_append() {
>         fi
>
>         # disable seccomp_sandbox
> -       sed -i '/^#seccomp_sandbox = 1/aseccomp_sandbox = 0' \
> -           ${D}${sysconfdir}/libvirt/qemu.conf
> +        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
> --
> 2.11.1
>
> --
> _______________________________________________
> meta-virtualization mailing list
> [email protected]
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-- 
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Reply via email to