Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] packages: carry site-method archive format version when overriding _SOURCE
Date: Mon, 18 Jan 2021 22:40:05 +0100	[thread overview]
Message-ID: <20210118224005.4ecd8ee3@windsurf.home> (raw)
In-Reply-To: <20210118181612.77863-1-yann.morin.1998@free.fr>

On Mon, 18 Jan 2021 19:16:12 +0100
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:

> Commit 5b95a5dc2 (support/download: change format of archives generated
> from git) changed the way the archives generated from git repositories
> are named, adding a "format-version" identifier right between the
> package version and the file extension.
> 
> Commit c043ecb20 (support/download: change format of archives generated
> from svn) did so for archives generated from a subversion checkout.
> 
> However, for the a few packages, we manually force the _SOURCE variable,
> because we want to share the archive with another package, to avoid
> downloading and storing those archives twice. This is the case for:
> 
>   - linux-headers and linux
>   - barebox-aux and barebox
> 
> When the generated tarballs were renamed with the aforementioned
> commits, those packages were not updated accordingly.
> 
> Fix that by manually propagating the per-site-method format-version.
> 
> Reported-by: "Stephane Viau (OSS)" <stephane.viau@oss.nxp.com>
> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
> Cc: "Stephane Viau (OSS)" <stephane.viau@oss.nxp.com>
> Cc: Arnout Vandecappelle <arnout@mind.be>
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Cc: Peter Korsgaard <peter@korsgaard.com>
> ---
>  boot/barebox/barebox.mk                | 2 +-
>  package/linux-headers/linux-headers.mk | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

I find it not so nice that this "internal" detail has to creep in all
the way up to barebox.mk and linux-headers.mk, but for the time being:
applied. Thanks!

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

  reply	other threads:[~2021-01-18 21:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18 18:16 [Buildroot] [PATCH] packages: carry site-method archive format version when overriding _SOURCE Yann E. MORIN
2021-01-18 21:40 ` Thomas Petazzoni [this message]
2021-01-19 17:59   ` Yann E. MORIN

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=20210118224005.4ecd8ee3@windsurf.home \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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