DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: Roland Hieber <rhi@pengutronix.de>
Cc: distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH 3/3] barebox: set barebox build sytem version
Date: Fri, 23 Apr 2021 12:55:51 +0200	[thread overview]
Message-ID: <20210423105551.sheq5kbhxalo34ps@pengutronix.de> (raw)
In-Reply-To: <20210409230252.28738-3-rhi@pengutronix.de>

On Sat, Apr 10, 2021 at 01:02:52AM +0200, Roland Hieber wrote:
> Since Barebox v2020.11.0, the build system supports a configurable
> version string that is baked into the barebox image, see the following
> upstream barebox commits:
> 
> * commit 98c221e3fad57f271d60 (2020-09-23, "Makefile: add buildsystem version variable")
> * commit c7dcac9de597f006fdc8 (2020-09-23, "common: print buildsystem version in barebox banner")
> * commit c600d8812e9f3b98591a (2020-09-23, "common: globalvar: add variable for buildsystem_version_string")
> * commit 01b53d3b728073996e7e (2020-09-23, "imd: add buildsystem version to metadata")
> 
> Set that version string to the Git hash so we can always find out from
> which DistroKit version a barebox-in-the-wild was built. (Even if we
> don't use barebox >= v2020.11.0 on all platforms yet, future barebox
> updates will benefit from this change.)
> 
> For mips, we use the upstream barebox rule, which takes the version
> string from the platformconfig. For all other platforms, this change
> effectively ports the following commit from PTXdist 2021.04.0:
> 
>     | commit f5500c922424ee71dd99e80f743ed6d994e5bca6
>     | Author: Steffen Trumtrar <s.trumtrar@pengutronix.de>
>     | Date:   2021-04-01 10:36:41
>     |
>     |     rules: barebox: support barebox buildsystem_version
>     |
>     |     barebox supports setting a buildsystem version. This is useful to have
>     |     an exact buildsystem version like a commit hash accessible from barebox.
>     |
>     |     Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
>     |     Message-Id: <20210401083641.9251-2-s.trumtrar@pengutronix.de>
>     |     Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> Link: https://git.pengutronix.de/cgit/barebox/commit/?id=98c221e3fad57f271d60
> Link: https://git.pengutronix.de/cgit/barebox/commit/?id=c7dcac9de597f006fdc8
> Link: https://git.pengutronix.de/cgit/barebox/commit/?id=c600d8812e9f3b98591a
> Link: https://git.pengutronix.de/cgit/barebox/commit/?id=01b53d3b728073996e7e
> Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=f5500c922424ee71dd99
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  configs/platform-mips/rules/barebox-ar9331.make    | 1 +
>  configs/platform-mips/rules/barebox-common.make    | 1 +
>  configs/platform-mips/rules/barebox-malta.make     | 1 +
>  configs/platform-rpi/platformconfig                | 3 ++-
>  configs/platform-v7a/rules/barebox-am335x-mlo.make | 1 +
>  configs/platform-v7a/rules/barebox-am335x.make     | 1 +
>  configs/platform-v7a/rules/barebox-at91.make       | 4 +++-
>  configs/platform-v7a/rules/barebox-common.make     | 1 +
>  configs/platform-v7a/rules/barebox-mx6.make        | 1 +
>  configs/platform-v7a/rules/barebox-rpi2.make       | 1 +
>  configs/platform-v7a/rules/barebox-stm32mp.make    | 4 +++-
>  configs/platform-v7a/rules/barebox-vexpress.make   | 1 +
>  configs/platform-v8a/rules/barebox-imx8m.make      | 1 +
>  13 files changed, 18 insertions(+), 3 deletions(-)

Applied to next.

rsc
-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de


  reply	other threads:[~2021-04-23 10:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-09 23:02 [DistroKit] [PATCH 1/3] ptxdist: migrate 2021.03.0 -> 2021.04.0 Roland Hieber
2021-04-09 23:02 ` [DistroKit] [PATCH 2/3] mips: kernel: properly handle signed modules Roland Hieber
2021-04-23 10:55   ` Robert Schwebel
2021-04-09 23:02 ` [DistroKit] [PATCH 3/3] barebox: set barebox build sytem version Roland Hieber
2021-04-23 10:55   ` Robert Schwebel [this message]
2021-04-23 10:54 ` [DistroKit] [PATCH 1/3] ptxdist: migrate 2021.03.0 -> 2021.04.0 Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210423105551.sheq5kbhxalo34ps@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=rhi@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox