Re: [yocto] npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json from remote location

2021-03-01 Thread TRO
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 =

Re: [yocto] Dunfell, nodejs and typescript - short experience report

2021-02-28 Thread TRO
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

[yocto] npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json from remote location

2021-02-28 Thread TRO
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 -=-=-=-=-=-=-=-=-=-=-=-

Re: [yocto] Dunfell, nodejs and typescript - short experience report

2021-02-24 Thread TRO
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

[yocto] dunfell actual package.bbclass causing problems after commit #dunfell

2020-11-19 Thread TRO
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

Re: [yocto] overwrite LAYERSERIES_COMPAT_ for different layer

2020-05-26 Thread TRO
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:

[yocto] overwrite LAYERSERIES_COMPAT_ for different layer

2020-05-25 Thread TRO
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