summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/nodejs
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2026-01-14 17:31:45 +0800
committerKhem Raj <raj.khem@gmail.com>2026-01-14 09:00:38 -0800
commit60c3b8fb4fa46ab4beb1c749296556c12189c222 (patch)
tree437141d3ec3d63e7fe9421050fd846c1ac5073fa /meta-oe/recipes-devtools/nodejs
parentbc312fe13bafeb19d124d4a48cfafa6df2d24a22 (diff)
downloadmeta-openembedded-60c3b8fb4fa46ab4beb1c749296556c12189c222.tar.gz
nodejs: Make prune_sources execute at do_patch phase
Fixes: ERROR: nodejs-22.21.1-r0 do_patch: Applying patch '0001-deps-disable-io_uring-support-in-libuv.patch' on target directory '/build/tmp/work/core2-32-poky-linux/nodejs/22.21.1/sources/node-v22.21.1' CmdError('quilt --quiltrc /build/tmp/work/core2-32-poky-linux/nodejs/22.21.1/recipe-sysroot-native/etc/quiltrc push', 0, "stdout: Applying patch 0001-deps-disable-io_uring-support-in-libuv.patch can't find file to patch at input line 27 The sources which related to libuv as deps/uv/ are removed in prune_sources when depends on libuv. So postpone prune_sources execute at do_patch phase to fix the gap. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/nodejs')
-rw-r--r--meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb
index 443cdc430d..1ef01cc3b2 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_22.22.0.bb
@@ -96,7 +96,7 @@ python prune_sources() {
96 if 'zlib' in d.getVar('PACKAGECONFIG'): 96 if 'zlib' in d.getVar('PACKAGECONFIG'):
97 shutil.rmtree(d.getVar('S') + '/deps/zlib') 97 shutil.rmtree(d.getVar('S') + '/deps/zlib')
98} 98}
99do_unpack[postfuncs] += "prune_sources" 99do_patch[postfuncs] += "prune_sources"
100 100
101# V8's JIT infrastructure requires binaries such as mksnapshot and 101# V8's JIT infrastructure requires binaries such as mksnapshot and
102# mkpeephole to be run in the host during the build. However, these 102# mkpeephole to be run in the host during the build. However, these