Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] Add tainting support
@ 2023-11-03 18:27 Adam Duskett
  2023-11-03 18:27 ` [Buildroot] [PATCH 1/3] Makefile: add " Adam Duskett
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Adam Duskett @ 2023-11-03 18:27 UTC (permalink / raw)
  To: buildroot; +Cc: Angelo Compagnucci, Adam Duskett

Originally taken from Angelo Compagnucci's patch series:
https://patchwork.ozlabs.org/project/buildroot/list/?series=64340

When the original patch series was submitted, Buildroot was quite a bit
smaller! With almost 1,000 packages added since then and more and more external
package managers being available for various languages, it is not possible to
package every single dependency needed for some packages.

Indeed, looking at NPM, for example, some packages rely on tens, if not
hundreds, of others. While this could be better and is indeed quite bad, it is,
unfortunately, the reality we must deal with.

With this patch series, we add initial tainting support to Buildroot with the
added option to turn the support off by way of the BR2_DISABLE_TAINT_CHECKING
option. This option gives us the best of both worlds: A sane default and an
option for advanced users to turn off the check if they understand the risks
and can guarantee their build is reproducible.

This patch series has two significant benefits:
  - Taint checking paves the way for additional package managers to be
    incorporated into Buildroot while maintaining reproducible integrity for
    packages provided by Buildroot.

  - It tells the user their build is tainted and what packages they
    have selected are causing the taint.

  - It makes support easier. If a user has a build that is tainted and the
    the problem they are experiencing is with a tainted package; it is
    more straightforward to tell the user they are on their own.

Adam Duskett (3):
  Makefile: add tainting support
  docs/manual: add information about tainting
  package/nodejs: taint the build when using external modules

 Config.in                                |  9 +++++++++
 Makefile                                 | 17 +++++++++++++++++
 docs/manual/adding-packages-generic.adoc |  9 +++++++++
 docs/manual/legal-notice.adoc            | 24 ++++++++++++++++++++++++
 package/nodejs/Config.in                 |  3 +++
 package/nodejs/nodejs-src/nodejs-src.mk  |  1 +
 package/pkg-generic.mk                   | 19 +++++++++++++++++++
 7 files changed, 82 insertions(+)

-- 
2.41.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-11-08 20:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-03 18:27 [Buildroot] [PATCH 0/3] Add tainting support Adam Duskett
2023-11-03 18:27 ` [Buildroot] [PATCH 1/3] Makefile: add " Adam Duskett
2023-11-03 18:27 ` [Buildroot] [PATCH 2/3] docs/manual: add information about tainting Adam Duskett
2023-11-03 18:27 ` [Buildroot] [PATCH 3/3] package/nodejs: taint the build when using external modules Adam Duskett
2023-11-03 21:31 ` [Buildroot] [PATCH 0/3] Add tainting support Yann E. MORIN
2023-11-05 17:07   ` Adam Duskett
2023-11-08 20:27     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox