connman-conf: make connman-conf only available for qemuall
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.
Signed-off-by Li Zhou <[email protected]>
--- meta/recipes-connectivity/connman/connman-conf.bb | 2 ++ 1 file changed, 2 insertions(+)
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}"
Signature · 1 line
1.9.1
Quoted 15 lines · Li Zhou
connman-conf is only for qemu machines, so use
COMPATIBLE_MACHINEto 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 ++ 1 file changed, 2 insertions(+)meta/recipes-connectivity/connman/connman-conf.bb +0
-0
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