diff mbox series

[v2,1/4] package/genimage: bump version

Message ID 20190426151947.31836-2-thomas.petazzoni@bootlin.com
State Superseded
Headers show
Series Add defconfig for STM32MP157 Discovery Kit | expand

Commit Message

Thomas Petazzoni April 26, 2019, 3:19 p.m. UTC
This commit bumps the genimage version to a not yet released commit,
in order to benefit from the GPT support that was added in upstream
genimage.

Indeed, we are about to add a defconfig for the STM32MP157 Discovery
Kit platform and the STM32MP157 BootROM loads the first stage
bootloader from the GPT partitions named fsbl*, which requires a GPT
partition table.

We will of course be able to switch back to a released version once a
release that includes GPT support will have been done upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/genimage/genimage.hash | 2 +-
 package/genimage/genimage.mk   | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

Comments

Peter Korsgaard April 27, 2019, 12:23 p.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > This commit bumps the genimage version to a not yet released commit,
 > in order to benefit from the GPT support that was added in upstream
 > genimage.

 > Indeed, we are about to add a defconfig for the STM32MP157 Discovery
 > Kit platform and the STM32MP157 BootROM loads the first stage
 > bootloader from the GPT partitions named fsbl*, which requires a GPT
 > partition table.

 > We will of course be able to switch back to a released version once a
 > release that includes GPT support will have been done upstream.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Do you know when v11 is planned? genimage-10 was released more than 1
year ago by now (Mar 29 2018).
Thomas Petazzoni May 16, 2019, 5:45 p.m. UTC | #2
Hello Peter,

On Sat, 27 Apr 2019 14:23:36 +0200
Peter Korsgaard <peter@korsgaard.com> wrote:

> Do you know when v11 is planned? genimage-10 was released more than 1
> year ago by now (Mar 29 2018).

As discussed on IRC, I have filled in an issue in genimage tracker, and
the upstream developer said he would make a release in the near future:

  https://github.com/pengutronix/genimage/issues/63

Best regards,

Thomas
Romain Naour Aug. 2, 2019, 1:51 p.m. UTC | #3
Hi Thomas,

Le 16/05/2019 à 19:45, Thomas Petazzoni a écrit :
> Hello Peter,
> 
> On Sat, 27 Apr 2019 14:23:36 +0200
> Peter Korsgaard <peter@korsgaard.com> wrote:
> 
>> Do you know when v11 is planned? genimage-10 was released more than 1
>> year ago by now (Mar 29 2018).
> 
> As discussed on IRC, I have filled in an issue in genimage tracker, and
> the upstream developer said he would make a release in the near future:
> 
>   https://github.com/pengutronix/genimage/issues/63

The 2 first patches of this series are not needed anymore since genimage 11 was
merged

https://git.buildroot.net/buildroot/commit/?id=b9ac298a027f3c71a3aaae12e63eba7df8ce7a14

I'm marking theses two patches superseded in patchwork.

Best regards,
Romain

> 
> Best regards,
> 
> Thomas
>
diff mbox series

Patch

diff --git a/package/genimage/genimage.hash b/package/genimage/genimage.hash
index 095eb1413f..00af52486b 100644
--- a/package/genimage/genimage.hash
+++ b/package/genimage/genimage.hash
@@ -1,2 +1,2 @@ 
 # Locally calculated
-sha256	5a36b2c1387007c2d6535a722ee257a387d0913bddcf8a94d460e6acd4d01859	genimage-10.tar.xz
+sha256	fd19ef94a82a014178255e181af91b403be6bebf217bae4c2541dbeeb1d4e1c9  genimage-abc1c32378debaccdfb63c711de56f3a1becb84b.tar.gz
diff --git a/package/genimage/genimage.mk b/package/genimage/genimage.mk
index 393c3e9b94..35502532f9 100644
--- a/package/genimage/genimage.mk
+++ b/package/genimage/genimage.mk
@@ -4,10 +4,11 @@ 
 #
 ################################################################################
 
-GENIMAGE_VERSION = 10
-GENIMAGE_SOURCE = genimage-$(GENIMAGE_VERSION).tar.xz
-GENIMAGE_SITE = https://github.com/pengutronix/genimage/releases/download/v$(GENIMAGE_VERSION)
+GENIMAGE_VERSION = abc1c32378debaccdfb63c711de56f3a1becb84b
+GENIMAGE_SITE = $(call github,pengutronix,genimage,$(GENIMAGE_VERSION))
 HOST_GENIMAGE_DEPENDENCIES = host-pkgconf host-libconfuse
+# fetching from git
+GENIMAGE_AUTORECONF = YES
 GENIMAGE_LICENSE = GPL-2.0
 GENIMAGE_LICENSE_FILES = COPYING