summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2024-05-23 00:09:30 +0200
committerKhem Raj <raj.khem@gmail.com>2024-05-23 08:44:44 -0700
commit9b97a6fe054b6766a5c2273f06964c2d83d58832 (patch)
treed9584b2a0f9b1032fa1e0ac1ba4970c87714f925 /meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb
parent7f698a94631e708c9aca2aa4b092ea36e64fba3e (diff)
downloadmeta-openembedded-9b97a6fe054b6766a5c2273f06964c2d83d58832.tar.gz
nodejs-oe-cache-native: use UNPACKDIR
* oe-npm-cache is now in UNPACKDIR not WORKDIR * fixes: http://errors.yoctoproject.org/Errors/Details/771012/ /OE/build/oe-core/tmp-glibc/work/x86_64-linux/nodejs-oe-cache-native/20.13/temp/run.do_configure.1268826: line 142: /OE/build/oe-core/tmp-glibc/work/x86_64-linux/nodejs-oe-cache-native/20.13/oe-npm-cache: No such file or directory * set S and UNPACKDIR to avoid this as well: WARNING: nodejs-oe-cache-native-20.13-r0 do_unpack: nodejs-oe-cache-native: the directory ${WORKDIR}/${BP} (/OE/build/oe-core/tmp-glibc/work/x86_64-linux/nodejs-oe-cache-native/20.13/nodejs-oe-cache-20.13) pointed to by the S variable doesn't exist - please set S within the recipe to point to where the source has been unpacked to Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb')
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb
index a61dd5018f..d4b818f967 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs-oe-cache-native_20.13.bb
@@ -8,10 +8,13 @@ SRC_URI = "\
8 8
9inherit native 9inherit native
10 10
11S = "${WORKDIR}/sources"
12UNPACKDIR = "${S}"
13
11B = "${WORKDIR}/build" 14B = "${WORKDIR}/build"
12 15
13do_configure() { 16do_configure() {
14 sed -e 's!@@libdir@@!${libdir}!g' < '${WORKDIR}/oe-npm-cache' > '${B}/oe-npm-cache' 17 sed -e 's!@@libdir@@!${libdir}!g' < '${UNPACKDIR}/oe-npm-cache' > '${B}/oe-npm-cache'
15} 18}
16 19
17do_install() { 20do_install() {