[Buildroot] [PATCH] genimage: change upstream URL

Vivien Didelot vivien.didelot at savoirfairelinux.com
Tue Nov 14 17:46:51 UTC 2017


Pengutronix moved the official genimage repository to Github.

This patch updates the official URL from the package description. The
sources from Github do not include the configure script so update the
sha256 hash and set GENIMAGE_AUTORECONF to execute ./autogen.sh first.

Signed-off-by: Vivien Didelot <vivien.didelot at savoirfairelinux.com>
---
 package/genimage/Config.in.host | 2 +-
 package/genimage/genimage.hash  | 2 +-
 package/genimage/genimage.mk    | 6 +++---
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/package/genimage/Config.in.host b/package/genimage/Config.in.host
index 5c5a8a8a2c..cf831a143c 100644
--- a/package/genimage/Config.in.host
+++ b/package/genimage/Config.in.host
@@ -10,4 +10,4 @@ config BR2_PACKAGE_HOST_GENIMAGE
 	  environment variables, the config file or commandline
 	  switches.
 
-	  http://www.pengutronix.de/software/genimage/
+	  https://github.com/pengutronix/genimage
diff --git a/package/genimage/genimage.hash b/package/genimage/genimage.hash
index 4be2fca873..0c304629c7 100644
--- a/package/genimage/genimage.hash
+++ b/package/genimage/genimage.hash
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256	69f35af7edf6f4dbdac7a18ddc69dcf38c501e43d8b50c524555754c51479078	genimage-9.tar.xz
+sha256 c5f6063cab834cd9a6d484c5773430f68cb61aa7203c8270c9e42dac2a0461f0        genimage-v9.tar.gz
diff --git a/package/genimage/genimage.mk b/package/genimage/genimage.mk
index 2e7aad20c6..913d745cec 100644
--- a/package/genimage/genimage.mk
+++ b/package/genimage/genimage.mk
@@ -4,11 +4,11 @@
 #
 ################################################################################
 
-GENIMAGE_VERSION = 9
-GENIMAGE_SOURCE = genimage-$(GENIMAGE_VERSION).tar.xz
-GENIMAGE_SITE = http://www.pengutronix.de/software/genimage/download
+GENIMAGE_VERSION = v9
+GENIMAGE_SITE = $(call github,pengutronix,genimage,$(GENIMAGE_VERSION))
 HOST_GENIMAGE_DEPENDENCIES = host-pkgconf host-libconfuse
 GENIMAGE_LICENSE = GPL-2.0
 GENIMAGE_LICENSE_FILES = COPYING
+GENIMAGE_AUTORECONF = YES
 
 $(eval $(host-autotools-package))
-- 
2.15.0



More information about the buildroot mailing list