All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH/Master: 1/1] package/mender: the dbus plugin requires libglib2
@ 2021-05-20 20:34 Adam Duskett
  2021-05-21  8:56 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Duskett @ 2021-05-20 20:34 UTC (permalink / raw)
  To: buildroot

If libglib2 is not build before building the dbus plugin, mender fails to
compile with the following error:
Package 'gio-2.0', required by 'virtual:world', not found

 - Add a check for libglib2 in addition to dbus when enabling the dbus plugin.
 - Depend on libglib2 if both packages are selected.

Fixes:
http://autobuild.buildroot.org/results/1bc5893b88db08612059ad899c2bc3b2abb291fb

Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
 package/mender/mender.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/mender/mender.mk b/package/mender/mender.mk
index b4c5761151..a110caf551 100644
--- a/package/mender/mender.mk
+++ b/package/mender/mender.mk
@@ -87,7 +87,8 @@ else
 MENDER_TAGS += nolzma
 endif
 
-ifeq ($(BR2_PACKAGE_DBUS),y)
+ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBGLIB2),yy)
+MENDER_DEPENDENCIES += libglib2
 define MENDER_INSTALL_DBUS_AUTHENTICATION_MANAGER_CONF
 	$(INSTALL) -D -m 0755 $(@D)/support/dbus/io.mender.AuthenticationManager.conf \
 		      $(TARGET_DIR)/etc/dbus-1/system.d/io.mender.AuthenticationManager.conf
-- 
2.31.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH/Master: 1/1] package/mender: the dbus plugin requires libglib2
  2021-05-20 20:34 [Buildroot] [PATCH/Master: 1/1] package/mender: the dbus plugin requires libglib2 Adam Duskett
@ 2021-05-21  8:56 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2021-05-21  8:56 UTC (permalink / raw)
  To: buildroot



On 20/05/2021 22:34, Adam Duskett wrote:
> If libglib2 is not build before building the dbus plugin, mender fails to
> compile with the following error:
> Package 'gio-2.0', required by 'virtual:world', not found
> 
>  - Add a check for libglib2 in addition to dbus when enabling the dbus plugin.
>  - Depend on libglib2 if both packages are selected.
> 
> Fixes:
> http://autobuild.buildroot.org/results/1bc5893b88db08612059ad899c2bc3b2abb291fb
> 
> Signed-off-by: Adam Duskett <aduskett@gmail.com>

 Applied to master, thanks.

 Regards,
 Arnout

> ---
>  package/mender/mender.mk | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/package/mender/mender.mk b/package/mender/mender.mk
> index b4c5761151..a110caf551 100644
> --- a/package/mender/mender.mk
> +++ b/package/mender/mender.mk
> @@ -87,7 +87,8 @@ else
>  MENDER_TAGS += nolzma
>  endif
>  
> -ifeq ($(BR2_PACKAGE_DBUS),y)
> +ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBGLIB2),yy)
> +MENDER_DEPENDENCIES += libglib2
>  define MENDER_INSTALL_DBUS_AUTHENTICATION_MANAGER_CONF
>  	$(INSTALL) -D -m 0755 $(@D)/support/dbus/io.mender.AuthenticationManager.conf \
>  		      $(TARGET_DIR)/etc/dbus-1/system.d/io.mender.AuthenticationManager.conf
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-21  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 20:34 [Buildroot] [PATCH/Master: 1/1] package/mender: the dbus plugin requires libglib2 Adam Duskett
2021-05-21  8:56 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.