From 83787f9e406922f866f9678679c59c3eac328c23 Mon Sep 17 00:00:00 2001 From: Xulin Sun Date: Thu, 19 May 2016 15:47:04 +0800 Subject: cloud-init: fix installed-vs-shipped issue by creating a separate package 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 Signed-off-by: Bruce Ashfield --- meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.6.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-openstack/recipes-extended') 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" -- cgit v1.2.3-54-g00ecf