Skip to content

Tainting support

Angelo Compagnucci buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Makefile: add tainting supportMakefile package/pkg-generic.mk+22 -13 replies
2/2package/nodejs: taint the build on external modulespackage/nodejs/nodejs.mk+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/2] Tainting support

Packages that need to resolve dependencies internally and use a package manager would harm the reproducibility of a build, moreover they escape the legal infrastructure not giving enough informations on licensing.

This patch adds a tainting mechanism in the form of a variable FOO_TAINTS that can be used to signal that a package harms the reproducibility under certain conditions.

This variable is later used to check if the build is tainted or not. The build then aborts with an error when the build is marked tainted and BR2_REPRODUCIBLE is enabled.

This opens the door to include per language dependency managers in buildroot.

Angelo Compagnucci (2):
Makefile: add tainting support package/nodejs: taint the build on external modules

 Makefile                 | 14 +++++++++++++-
 package/nodejs/nodejs.mk |  1 +
 package/pkg-generic.mk   |  9 +++++++++
 3 files changed, 23 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.4