diff options
| author | Changqing Li <changqing.li@windriver.com> | 2022-12-01 16:40:41 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-12-01 16:58:17 -0500 |
| commit | b2ab6a11a4e9ef4e22bfbafd18ecfb12b791cacb (patch) | |
| tree | 69f4cded5c25063ba73cdcb7975e4a7bb2f96e7c | |
| parent | 3626f2c9ccd56c6a3ee51304a7da7aafb395a588 (diff) | |
| download | meta-virtualization-b2ab6a11a4e9ef4e22bfbafd18ecfb12b791cacb.tar.gz | |
conmon: avoid host contamination by GOCACHE
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>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-containers/conmon/conmon_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-containers/conmon/conmon_git.bb b/recipes-containers/conmon/conmon_git.bb index a20af04a..4c58dabf 100644 --- a/recipes-containers/conmon/conmon_git.bb +++ b/recipes-containers/conmon/conmon_git.bb | |||
| @@ -20,6 +20,8 @@ S = "${WORKDIR}/git" | |||
| 20 | 20 | ||
| 21 | inherit pkgconfig | 21 | inherit pkgconfig |
| 22 | 22 | ||
| 23 | export GOCACHE = "${B}/.cache" | ||
| 24 | |||
| 23 | EXTRA_OEMAKE = "PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir}" | 25 | EXTRA_OEMAKE = "PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir}" |
| 24 | 26 | ||
| 25 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | 27 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" |
