All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/1] synergy: fix resolving of Buildroot git revision
@ 2018-09-11 19:58 Pieterjan Camerlynck
  2018-10-10 13:26 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Pieterjan Camerlynck @ 2018-09-11 19:58 UTC (permalink / raw)
  To: buildroot

Starting version v1.10.0-stable, Synergy tries to resolve the git revision in
the build directory. This causes CMake to either detect the Buildroot commit
or fail when no git repo is found.

By manually setting SYNERGY_VERSION_STAGE to another value then snapshot, this
behavior is skipped.

Fixes:
  http://autobuild.buildroot.net/results/5bab942322357bd71901cfc13ed3cff0c17edcce

Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
---
Changes v1 -> v2:
  - change author email address
---
 package/synergy/synergy.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/synergy/synergy.mk b/package/synergy/synergy.mk
index 7f1dc79874..46c4fbb1ef 100644
--- a/package/synergy/synergy.mk
+++ b/package/synergy/synergy.mk
@@ -10,6 +10,10 @@ SYNERGY_LICENSE = GPL-2.0
 SYNERGY_LICENSE_FILES = LICENSE
 SYNERGY_DEPENDENCIES = xlib_libX11 xlib_libXtst
 
+# Avoid using buildroot commit hash inside cmake/Version.cmake
+# by setting SYNERGY_VERSION_STAGE != snapshot
+SYNERGY_CONF_ENV += SYNERGY_VERSION_STAGE="beta"
+
 ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y)
 SYNERGY_DEPENDENCIES += xlib_libXext
 endif
-- 
2.17.1

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

* [Buildroot] [PATCH v2 1/1] synergy: fix resolving of Buildroot git revision
  2018-09-11 19:58 [Buildroot] [PATCH v2 1/1] synergy: fix resolving of Buildroot git revision Pieterjan Camerlynck
@ 2018-10-10 13:26 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-10-10 13:26 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 11 Sep 2018 21:58:02 +0200, Pieterjan Camerlynck wrote:
> Starting version v1.10.0-stable, Synergy tries to resolve the git revision in
> the build directory. This causes CMake to either detect the Buildroot commit
> or fail when no git repo is found.
> 
> By manually setting SYNERGY_VERSION_STAGE to another value then snapshot, this
> behavior is skipped.
> 
> Fixes:
>   http://autobuild.buildroot.net/results/5bab942322357bd71901cfc13ed3cff0c17edcce
> 
> Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
> ---
> Changes v1 -> v2:
>   - change author email address
> ---
>  package/synergy/synergy.mk | 4 ++++
>  1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2018-10-10 13:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-11 19:58 [Buildroot] [PATCH v2 1/1] synergy: fix resolving of Buildroot git revision Pieterjan Camerlynck
2018-10-10 13:26 ` Thomas Petazzoni

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.