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

Bruce Ashfield bruce.ashfield at gmail.com
Thu Aug 13 20:42:13 PDT 2015


merged.

Bruce

On Mon, Aug 10, 2015 at 10:50 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.
>
> Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
> ---
>  recipes-extended/libvirt/libvirt_1.2.17.bb |    5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/recipes-extended/libvirt/libvirt_1.2.17.bb b/recipes-extended/libvirt/libvirt_1.2.17.bb
> index 9f8c3af..a945792 100644
> --- a/recipes-extended/libvirt/libvirt_1.2.17.bb
> +++ b/recipes-extended/libvirt/libvirt_1.2.17.bb
> @@ -239,3 +239,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