diff options
| author | Jamin Lin <jamin_lin@aspeedtech.com> | 2025-03-10 06:14:38 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2025-04-02 17:50:34 +0300 |
| commit | 838015b5681db608f8a2535ba7dc190faaed045f (patch) | |
| tree | 4999cbcfc712675c78c46c54e3454d7d7ac59c9d /meta-openembedded/meta-python/recipes-devtools/python/python3-gpiod | |
| parent | 8ebfff759574c3322298c3f49364e9c1b9c676f3 (diff) | |
| download | openbmc-838015b5681db608f8a2535ba7dc190faaed045f.tar.xz | |
webui-vue: Set npm cache directory
This recipe uses NPM commands but does not specify the CACHE directory.
By default, NPM stores logs and cache files in "${HOME}/.npm".
To make the Yocto/OpenEmbedded build environment more consistent and
self-contained, the CACHE directory should be set to
"${WORKDIR}/npm-cache", as specified in
poky/meta/classes-recipe/npm.bbclass configuration.
There are two ways to resolve this issue: one is to "inherit npm" to
manage the NPM package, and the other is to explicitly set the CACHE
directory. This approach adopts the simpler method of setting the NPM
cache directory.
Change-Id: I5477b28063b49e663f97522e90696dd6a91c6608
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-gpiod')
0 files changed, 0 insertions, 0 deletions
