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 <[email protected]> --- 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 [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
