[6/7,v2] core/package: add host-tar dependency for downloads from repositories

Message ID 03be0fca5aee707e535261e66588d3b47bed4e0c.1525812011.git.yann.morin.1998@free.fr
State Accepted
Headers show
  • [1/7,v2] support/graph-depends: ensure all packages get graphed
Related show

Commit Message

Yann E. MORIN May 8, 2018, 8:40 p.m.
Three of our download backends need a host tar that can generate
reproducible archives: cvs, git, and svn. The other two, hbzr and hg,
use their internal implementation.

So, for those three that need it, and a dependency on host-tar when the
system tar is not appropriate.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
 package/pkg-generic.mk | 4 ++++
 1 file changed, 4 insertions(+)


diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 78aa751b0d..f654241bf7 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -567,6 +567,10 @@  ifneq ($(1),host-skeleton)
 $(2)_DEPENDENCIES += host-skeleton
+ifneq ($$(filter cvs git svn,$$($(2)_SITE_METHOD)),)
 ifeq ($$(filter host-tar host-skeleton host-fakedate,$(1)),)