All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] conmon: avoid host contamination by GOCACHE
@ 2022-12-01  8:40 changqing.li
  2022-12-01 21:58 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: changqing.li @ 2022-12-01  8:40 UTC (permalink / raw)
  To: meta-virtualization

From: Changqing Li <changqing.li@windriver.com>

By default GOCACHE is set to $HOME/.cache.

Fix:
make[1]: Entering directory '/mnt/tmp-glibc/work/core2-64-wrs-linux/conmon/2.1.3+gitAUTOINC+19110c9746-r0/git/tools'
| failed to initialize build cache at /home/build/.cache/go-build: mkdir /home/build: permission denied

Signed-off-by: Changqing Li <changqing.li@windriver.com>
---
 recipes-containers/conmon/conmon_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-containers/conmon/conmon_git.bb b/recipes-containers/conmon/conmon_git.bb
index a20af04..4c58dab 100644
--- a/recipes-containers/conmon/conmon_git.bb
+++ b/recipes-containers/conmon/conmon_git.bb
@@ -20,6 +20,8 @@ S = "${WORKDIR}/git"
 
 inherit pkgconfig
 
+export GOCACHE = "${B}/.cache"
+
 EXTRA_OEMAKE = "PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir}"
 
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
-- 
2.25.1



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

end of thread, other threads:[~2022-12-01 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-01  8:40 [meta-virtualization][PATCH] conmon: avoid host contamination by GOCACHE changqing.li
2022-12-01 21:58 ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.