core/pkg-infra: allow per site-method sub-version strings
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 13 Dec 2020 13:59:28 +0000 (14:59 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 10 Jan 2021 18:42:04 +0000 (19:42 +0100)
commit02798cfa76dfba6938eb350a1f9eb2bef6df8a5f
tree08fcb92b64005a213cb70df7c038d53799ca040c
parent38a9fdd02f57871835572ffebf8f47e38fc28002
core/pkg-infra: allow per site-method sub-version strings

When we want to change the format of an archive we generate (e.g. those
we generate from git trees), the hashes of those archives will change.

To avoid any issue (e.g. an older Buildroot using newer archives, or the
other way around) that would conclude that the hashes do not match, we
want to change the filenames of the generated archives whenever we
change their format.

Introduce a new internal variable, specific to each site method, that we
can set to include a "format version" for the archives generated from
that site method.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Vincent Fazio <vfazio@xes-inc.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Vincent Fazio <vfazio@xes-inc.com>
package/pkg-utils.mk