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.
Signed-off-by: Li Zhou <[email protected]> --- meta/recipes-connectivity/connman/connman-conf.bb | 2 ++ meta/recipes-connectivity/connman/connman_1.38.bb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/connman/connman-conf.bb b/meta/recipes-connectivity/connman/connman-conf.bb index 9a519ec..3a6c525 100644 --- a/meta/recipes-connectivity/connman/connman-conf.bb +++ b/meta/recipes-connectivity/connman/connman-conf.bb @@ -34,3 +34,5 @@ do_install() { } SYSTEMD_SERVICE_${PN}_qemuall = "wired-connection.service" +COMPATIBLE_MACHINE = "null" +COMPATIBLE_MACHINE_qemuall = "${MACHINE}" diff --git a/meta/recipes-connectivity/connman/connman_1.38.bb b/meta/recipes-connectivity/connman/connman_1.38.bb index 027c41e..734b8ae 100644 --- a/meta/recipes-connectivity/connman/connman_1.38.bb +++ b/meta/recipes-connectivity/connman/connman_1.38.bb @@ -12,5 +12,5 @@ SRC_URI_append_libc-musl = " file://0002-resolve-musl-does-not-implement-res_nin SRC_URI[md5sum] = "1ed8745354c7254bdfd4def54833ee94" SRC_URI[sha256sum] = "cb30aca97c2f79ccaed8802aa2909ac5100a3969de74c0af8a9d73b85fc4932b" -RRECOMMENDS_${PN} = "connman-conf" +RRECOMMENDS_${PN}_qemuall = "connman-conf" RCONFLICTS_${PN} = "networkmanager" -- 1.9.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#141683): https://lists.openembedded.org/g/openembedded-core/message/141683 Mute This Topic: https://lists.openembedded.org/mt/76322525/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
