Skip to contentSkip to conversation

connman-conf: make connman-conf only available for qemuall

PATCH Superseded Li Zhou 2 participants 2 messages Aug 18, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Li Zhou

author
#0 lore raw

PATCH 1/1 connman-conf: make connman-conf only available for qemuall

connman-conf is only for qemu machines, so use COMPATIBLE_MACHINE to limit that it is only available for qemuall, or else it can be built successfully without the package connman-conf generated.

---
 meta/recipes-connectivity/connman/connman-conf.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-connectivity/connman/connman-conf.bb +2 -0
index 9a519ec..3a6c525 100644
@@ -34,3 +34,5 @@ do_install() {
 }
 
 SYSTEMD_SERVICE_${PN}_qemuall = "wired-connection.service"
+COMPATIBLE_MACHINE = "null"
+COMPATIBLE_MACHINE_qemuall = "${MACHINE}"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 15 lines · Li Zhou

connman-conf is only for qemu machines, so use COMPATIBLE_MACHINE to limit that it is only available for qemuall, or else it can be built successfully without the package connman-conf generated.

---
 meta/recipes-connectivity/connman/connman-conf.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-connectivity/connman/connman-conf.bb +0 -0
index 9a519ec..3a6c525 100644

meta/recipes-connectivity/connman/connman-conf.bb do_install() { · line 38

Quoted 5 lines
meta/recipes-connectivity/connman/connman-conf.bb +2 -0
@@ -34,3 +34,5 @@ do_install() {
 }
 
 SYSTEMD_SERVICE_${PN}_qemuall = "wired-connection.service"
+COMPATIBLE_MACHINE = "null"
+COMPATIBLE_MACHINE_qemuall = "${MACHINE}"

How was this tested?

The autobuilder goes red with things like:

https://autobuilder.yoctoproject.org/typhoon/#/builders/65/builds/2345

Cheers,

Richard