[meta-virtualization] [PATCH] libvirt: kill update-rc.d when not using sysvinit

Bruce Ashfield bruce.ashfield at gmail.com
Mon Aug 10 06:54:55 PDT 2015


On Mon, Aug 10, 2015 at 7:35 AM, Noor, Ahsan <noor_ahsan at mentor.com> wrote:
> From: Noor <noor_ahsan at mentor.com>
>
> * Fixes a dependency on a nonexistent initscripts-functions package.

Your meta-virt repository is out of date, we are on 1.2.17 in master. Can you
do a quick rebase and resend ?

Bruce

>
> Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
> ---
>  recipes-extended/libvirt/libvirt_1.2.15.bb |    5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/recipes-extended/libvirt/libvirt_1.2.15.bb b/recipes-extended/libvirt/libvirt_1.2.15.bb
> index 8abd41e..6a5b67e 100644
> --- a/recipes-extended/libvirt/libvirt_1.2.15.bb
> +++ b/recipes-extended/libvirt/libvirt_1.2.15.bb
> @@ -238,3 +238,8 @@ pkg_postinst_libvirt() {
>                  /etc/init.d/populate-volatile.sh update
>          fi
>  }
> +
> +python () {
> +    if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
> +        d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
> +}
> --
> 1.7.9.5
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


More information about the meta-virtualization mailing list