diff mbox series

[3/3] barebox: move version checksum to common .inc

Message ID 20241125102227.1216656-3-ejo@pengutronix.de
State New
Headers show
Series [1/3] barebox-tools: upgrade 2024.09.0 -> 2024.10.0 | expand

Commit Message

Enrico Jörns Nov. 25, 2024, 10:22 a.m. UTC
This makes it more obvious to update barebox and barebox-tools together
and should help the AUH to update both.

Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
---
 meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb | 3 ++-
 meta/recipes-bsp/barebox/barebox_2024.10.0.bb       | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

Comments

Alexander Kanavin Nov. 25, 2024, 10:39 a.m. UTC | #1
The actual .inc isn't in the commit.

Alex

On Mon, 25 Nov 2024 at 11:23, Enrico Jörns <ejo@pengutronix.de> wrote:
>
> This makes it more obvious to update barebox and barebox-tools together
> and should help the AUH to update both.
>
> Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
> Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
> ---
>  meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb | 3 ++-
>  meta/recipes-bsp/barebox/barebox_2024.10.0.bb       | 3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb b/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
> index 386656f7ad..25d6a5c062 100644
> --- a/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
> +++ b/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
> @@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192"
>  DEPENDS = "bison-native flex-native libusb1"
>
>  SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2"
> -SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
> +
> +require barebox-version.inc
>
>  S = "${WORKDIR}/barebox-${PV}"
>  B = "${WORKDIR}/build"
> diff --git a/meta/recipes-bsp/barebox/barebox_2024.10.0.bb b/meta/recipes-bsp/barebox/barebox_2024.10.0.bb
> index c886fcfba3..aa63be4080 100644
> --- a/meta/recipes-bsp/barebox/barebox_2024.10.0.bb
> +++ b/meta/recipes-bsp/barebox/barebox_2024.10.0.bb
> @@ -14,4 +14,5 @@ inherit barebox
>  SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2 \
>             file://0001-lib-lz4-use-lz4-instead-of-lz4c.patch \
>             "
> -SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
> +
> +require barebox-version.inc
> --
> 2.39.5
>
Enrico Jörns Nov. 25, 2024, 10:50 a.m. UTC | #2
Am Montag, dem 25.11.2024 um 11:39 +0100 schrieb Alexander Kanavin:
> The actual .inc isn't in the commit.

Indeed, this somehow slipped through..
Will fix. Thanks!

Enrico

> Alex
> 
> On Mon, 25 Nov 2024 at 11:23, Enrico Jörns <ejo@pengutronix.de> wrote:
> > 
> > This makes it more obvious to update barebox and barebox-tools together
> > and should help the AUH to update both.
> > 
> > Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
> > Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
> > ---
> >  meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb | 3 ++-
> >  meta/recipes-bsp/barebox/barebox_2024.10.0.bb       | 3 ++-
> >  2 files changed, 4 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb b/meta/recipes-
> > bsp/barebox/barebox-tools_2024.10.0.bb
> > index 386656f7ad..25d6a5c062 100644
> > --- a/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
> > +++ b/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
> > @@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192"
> >  DEPENDS = "bison-native flex-native libusb1"
> > 
> >  SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2"
> > -SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
> > +
> > +require barebox-version.inc
> > 
> >  S = "${WORKDIR}/barebox-${PV}"
> >  B = "${WORKDIR}/build"
> > diff --git a/meta/recipes-bsp/barebox/barebox_2024.10.0.bb b/meta/recipes-
> > bsp/barebox/barebox_2024.10.0.bb
> > index c886fcfba3..aa63be4080 100644
> > --- a/meta/recipes-bsp/barebox/barebox_2024.10.0.bb
> > +++ b/meta/recipes-bsp/barebox/barebox_2024.10.0.bb
> > @@ -14,4 +14,5 @@ inherit barebox
> >  SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2 \
> >             file://0001-lib-lz4-use-lz4-instead-of-lz4c.patch \
> >             "
> > -SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
> > +
> > +require barebox-version.inc
> > --
> > 2.39.5
> > 
>
diff mbox series

Patch

diff --git a/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb b/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
index 386656f7ad..25d6a5c062 100644
--- a/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
+++ b/meta/recipes-bsp/barebox/barebox-tools_2024.10.0.bb
@@ -8,7 +8,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=f5125d13e000b9ca1f0d3364286c4192"
 DEPENDS = "bison-native flex-native libusb1"
 
 SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2"
-SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
+
+require barebox-version.inc
 
 S = "${WORKDIR}/barebox-${PV}"
 B = "${WORKDIR}/build"
diff --git a/meta/recipes-bsp/barebox/barebox_2024.10.0.bb b/meta/recipes-bsp/barebox/barebox_2024.10.0.bb
index c886fcfba3..aa63be4080 100644
--- a/meta/recipes-bsp/barebox/barebox_2024.10.0.bb
+++ b/meta/recipes-bsp/barebox/barebox_2024.10.0.bb
@@ -14,4 +14,5 @@  inherit barebox
 SRC_URI = "https://barebox.org/download/barebox-${PV}.tar.bz2 \
            file://0001-lib-lz4-use-lz4-instead-of-lz4c.patch \
            "
-SRC_URI[sha256sum] = "955b20bfa7358732d2c0c09ccfd4c1a69087b7e2c610b16dee7442d71a5af88d"
+
+require barebox-version.inc