Skip to contentSkip to conversation

cloud-init: fix installed-vs-shipped issue by creating a separate package

PATCH Applied Xulin Sun 2 participants 2 messages May 19, 2016 – May 20, 2016

lore
Share & tools
lore

Xulin Sun

author
#0 lore raw

PATCH 1/1 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

---
 meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.6.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.6.bb +4 -0
index ea6752c..457ff93 100644
@@ -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"
 
Signature · 1 line
2.8.1
#1 lore raw

merged to master.

Bruce

Quoted 48 lines · Xulin Sun

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

---
 meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.6.bb | 4 ++++
 1 file changed, 4 insertions(+)
(quoted diff) +0 -0

cloud-init_0.7.6.bb b/meta-openstack/recipes-extended/cloud-init/ cloud-init_0.7.6.bb
index ea6752c..457ff93 100644

meta-openstack/recipes-extended/cloud-init/cloud-init_0.7.6.bb +4 -1
@@ -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

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"