boot/barebox, package/linux-headers: carry site-method archive format version when...
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 18 Jan 2021 18:16:12 +0000 (19:16 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 18 Jan 2021 21:39:14 +0000 (22:39 +0100)
commit7bbf17f359ca87dcc3c85d9a575ff0a465a3d891
tree0c374e09b98d9be6e41ba191685e62f6ed3ea0c0
parentadeadcd527c2dab2238f2d0f1bb5252e3a5ac78e
boot/barebox, package/linux-headers: carry site-method archive format version when overriding _SOURCE

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 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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
boot/barebox/barebox.mk
package/linux-headers/linux-headers.mk