buildroot.busybox.net archive mirror
 help / color / mirror / Atom feed
* [Buildroot] [git commit] docs/manual/adding-packages-golang.txt: add some details about vendoring
@ 2022-01-08 22:35 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2022-01-08 22:35 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=ad034892d8b8748eea52b45aa05dbeb271645dbb
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 docs/manual/adding-packages-golang.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/docs/manual/adding-packages-golang.txt b/docs/manual/adding-packages-golang.txt
index 3b34579200..c952cde577 100644
--- a/docs/manual/adding-packages-golang.txt
+++ b/docs/manual/adding-packages-golang.txt
@@ -120,3 +120,14 @@ possible to customize what is done in any particular step:
   +FOO_BUILD_CMDS+ variable, it will be used instead of the default Go
   one. However, using this method should be restricted to very
   specific cases. Do not use it in the general case.
+
+A Go package can depend on other Go modules, listed in its +go.mod+
+file. Buildroot automatically takes care of downloading such
+dependencies as part of the download step of packages that use the
++golang-package+ infrastructure. Such dependencies are then kept
+together with the package source code in the tarball cached in
+Buildroot's +DL_DIR+, and therefore the hash of the package's tarball
+includes such dependencies.
+
+This mechanism ensures that any change in the dependencies will be
+detected, and allows the build to be performed completely offline.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-08 22:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-08 22:35 [Buildroot] [git commit] docs/manual/adding-packages-golang.txt: add some details about vendoring Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).