From 1da3f17477329cb46846d6392abcc6b4a6c1e084 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sun, 22 Jun 2014 14:41:14 +0200 Subject: [PATCH] legal-info: add a comment about what packages we save the tarballs of As the legal-info infra only (rightfully) saves the tarballs of packages that: - we want to redistribute, - and are not local, - and are not overriden, add a comment stating so. This should clarify the code-block, which although trivial to read, was not easy to interpret without thinking thouroughly about it. Signed-off-by: "Yann E. MORIN" Cc: Luca Ceresoli Cc: Thomas De Schampheleire Cc: Thomas Petazzoni Cc: Fabio Porcedda Reviewed-by: Luca Ceresoli Signed-off-by: Thomas Petazzoni --- package/pkg-generic.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index b113684fcd..851ae0f4ab 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -627,6 +627,9 @@ ifneq ($$($(2)_LICENSE_FILES),) $(1)-legal-info: $(1)-extract endif +# We only save the sources of packages we want to redistribute, that are +# non-local, and non-overriden. So only store, in the manifest, the tarball +# name of those packages. ifeq ($$($(2)_REDISTRIBUTE),YES) ifneq ($$($(2)_SITE_METHOD),local) ifneq ($$($(2)_SITE_METHOD),override)