Skip to contentSkip to conversation

cloud-init: package nonarch_libdir

PATCH In review Dan McGregor 2 participants 3 messages Sep 29, 2022 – Oct 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 cloud-init: package nonarch_libdir

From: Dan McGregor <[email protected]>

cloud-init installs its data in nonarch_libdir, not libdir, so package that. On non-multilib builds this wouldn't be noticed.

---
 recipes-extended/cloud-init/cloud-init_21.4.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-extended/cloud-init/cloud-init_21.4.bb +2 -1
index 5cb62272c23..9c9b56f18e3 100644
@@ -40,7 +40,8 @@ inherit python3native
 PACKAGES += "${PN}-systemd"
 
 FILES:${PN} += "${sysconfdir}/* \
-                ${datadir}/*"
+                ${datadir}/* \
+                ${nonarch_libdir}/${BPN}/*"
 
 FILES:${PN}-systemd += "${systemd_unitdir}/*"
 RDEPENDS:${PN}-systemd += " ${PN}"
Signature · 1 line
2.37.3
#1 lore raw

PATCH 2/2 cloud-init: add Apache-2.0 as a LICENSE option

From: Dan McGregor <[email protected]>

cloud-init has been dual licensed for a while. According to the LICENSE file this package is dual-licensed Apache 2 and GPL 3. This has been the case since commit b2a9f3361 in 2016. This has applied to every release since 17.1.

---
 recipes-extended/cloud-init/cloud-init_21.4.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
recipes-extended/cloud-init/cloud-init_21.4.bb +5 -2
index 9c9b56f18e3..e5f5b79e52e 100644
@@ -1,8 +1,11 @@
 DESCRIPTION = "Init scripts for use on cloud images"
 HOMEPAGE = "https://github.com/canonical/cloud-init"
 SECTION = "devel/python"
-LICENSE = "GPL-3.0-only"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c6dd79b6ec2130a3364f6fa9d6380408"
+LICENSE = "GPL-3.0-only | Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c6dd79b6ec2130a3364f6fa9d6380408 \
+    file://LICENSE-GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
+    file://LICENSE-Apache2.0;md5=3b83ef96387f14655fc854ddc3c6bd57 \
+"
 
 SRCREV = "a97fd062f7dbd4b824fd006edd08927ef9dbf24a"
 SRC_URI = "git://github.com/canonical/cloud-init;branch=main;protocol=https \
Signature · 1 line
2.37.3
#2 lore raw
In reply to Dan McGregor

both cloud-init patches are merged.

Bruce

In message: [meta-virtualization][PATCH 1/2] cloud-init: package nonarch_libdir

Quoted 37 lines · on 29/09/2022 Dan McGregor wrote:

From: Dan McGregor <[email protected]>

cloud-init installs its data in nonarch_libdir, not libdir, so package that. On non-multilib builds this wouldn't be noticed.

---
 recipes-extended/cloud-init/cloud-init_21.4.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-extended/cloud-init/cloud-init_21.4.bb +2 -1
index 5cb62272c23..9c9b56f18e3 100644
@@ -40,7 +40,8 @@ inherit python3native
 PACKAGES += "${PN}-systemd"
 
 FILES:${PN} += "${sysconfdir}/* \
-                ${datadir}/*"
+                ${datadir}/* \
+                ${nonarch_libdir}/${BPN}/*"
 
 FILES:${PN}-systemd += "${systemd_unitdir}/*"
 RDEPENDS:${PN}-systemd += " ${PN}"
Signature · 11 lines
2.37.3



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7634): https://lists.yoctoproject.org/g/meta-virtualization/message/7634
Mute This Topic: https://lists.yoctoproject.org/mt/94005025/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-