i did this:
addtask getsw after do_fetch before do_compile
python do_getsw() {
import os
bb.debug("downloading shrinkwrap file")
os.system ("git archive --remote=ssh://g...@gitxxx.git HEAD
frontend/npm-shrinkwrap.json | tar -xO > /tmp/npm-shrinkwrap.json_dwnl")
src_uri_sw =
Hi Simon,
thank you - in my current solution I don't use npm bbclass at all.
I basically use npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json;dev=True
this will downloadall npm stuff including angular because of dev=True to
$S/node_modules
do_compile () {
# build frontend
chmod -R a+w
Hi,
bitbake fetcher for npmsw - npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json
wondering if it is possible to download npm-shrinkwrap.json from remote before
evaluating it's dependencies.
For instance - https, git.
Any ideas how to deal with that problem?
cheers Thomas
-=-=-=-=-=-=-=-=-=-=-=-
Hi Simon,
I'm dealing actually with the same problem. Would you like to share your
"configure in my own subclass"?
I'm also thinking there is a need for a bbclass which actually is not using
gyp, instead it should be able to "npm run build".
There is alsa a patch for speeding up npm npmsw
this commit 087a099c288c6bedf368c8756d998172b02b50ad
package: get_package_mapping: avoid dependency mapping if renamed package
provides original name
is causing this problem:
NOTE: recipe intronix-introndplus-initramfs-1.0-r0: task do_rootfs: Started
ERROR: intronix-introndplus-initramfs-1.0-r0
Hi,
thanks for the reply - I've put it in the bblayers.conf - working.
cheers, Thomas
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#49483): https://lists.yoctoproject.org/g/yocto/message/49483
Mute This Topic:
Hi,
have an issue with a layer which doesn't have the current dunfell release in
it's LAYERSERIES_COMPAT_
-> can I overwrite it somehow in a different layer or local.conf?
-> can I configure the error "...is not compatible with the core layer..." to a
warning?
cheers, Thomas