[meta-virtualization] [PATCH] cloud-init: fix installed-vs-shipped issue by creating a separate package

Bruce Ashfield bruce.ashfield at gmail.com
Fri May 20 09:32:05 PDT 2016


merged to master.

Bruce

On Thu, May 19, 2016 at 3:47 AM, Xulin Sun <xulin.sun at windriver.com> wrote:

> This solves the following issue by creating a separate package to put the
> below files:
>
> QA Issue: cloud-init: Files/directories were installed but not shipped
> in any package:
>  /lib
>  /lib/systemd
>  /lib/systemd/system
>  /lib/systemd/system/cloud-init.service
>  /lib/systemd/system/cloud-config.target
>  /lib/systemd/system/cloud-config.service
>  /lib/systemd/system/cloud-init-local.service
>  /lib/systemd/system/cloud-final.service
>
> Signed-off-by: Xulin Sun <xulin.sun at windriver.com>
> ---
>  meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.6.bb | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/meta-openstack/recipes-extended/cloud-init/
> cloud-init_0.7.6.bb b/meta-openstack/recipes-extended/cloud-init/
> cloud-init_0.7.6.bb
> index ea6752c..457ff93 100644
> --- a/meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.6.bb
> +++ b/meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.6.bb
> @@ -42,9 +42,13 @@ CHEF_SERVICES_CONF_FILES := " \
>      ${sysconfdir}/cloud/cloud.cfg \
>      "
>
> +PACKAGES += "${PN}-systemd"
> +
>  FILES_${PN} += "${sysconfdir}/* \
>                  ${datadir}/*"
>
> +FILES_${PN}-systemd += "${systemd_unitdir}/*"
> +
>  INITSCRIPT_PACKAGES = "${PN}"
>  INITSCRIPT_NAME_${BPN} = "cloud-init"
>
> --
> 2.8.1
>
> --
> _______________________________________________
> 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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20160520/f132797a/attachment.html>


More information about the meta-virtualization mailing list