On Tue, 2020-08-18 at 13:41 +0800, Li Zhou wrote:
> 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(+)
> 
> 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}"

How was this tested?

The autobuilder goes red with things like:

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

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#141616): 
https://lists.openembedded.org/g/openembedded-core/message/141616
Mute This Topic: https://lists.openembedded.org/mt/76259872/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to