Toggle navigation
Help
Log In
Help
Log In
Home
Messages
Hashtags
Subgroups
×
×
×
Close
Likes
yocto@lists.yoctoproject.org
Messages
posterid:3618964
npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json from remote location
×
Close
Search
Single
Toggle Dropdown
Messages
Topics
Expanded
previous page
#52523
next page
Re: npmsw://${THISDIR}/${BPN}/npm-shrinkwrap.json from remote location
TRO <thomas.roos@...>
#52523
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://git@... HEAD frontend/npm-shrinkwrap.json | tar -xO > /tmp/npm-shrinkwrap.json_dwnl")
src_uri_sw = {'npmsw:///tmp/npm-shrinkwrap.json_dwnl;dev=True'}
try:
fetcher = bb.fetch2.Fetch(src_uri_sw, d)
fetcher.download()
except bb.fetch2.BBFetchException as e:
bb.fatal(str(e))
try:
fetcher.unpack(d.getVar('WORKDIR'))
except bb.fetch2.BBFetchException as e:
bb.fatal(str(e))
bb.debug("src_uri: " + str(src_uri_sw))
}
More
All Messages By This Member
previous page
View All 2 Messages In Topic
next page
previous page
#52523
next page
Join
yocto@lists.yoctoproject.org to automatically receive all group messages.
×
Close
Report Message
Reason
Report to Moderators
I think this message isn't appropriate for our group. The Group moderators are responsible for maintaining their community and can address these issues.
Report to Yocto Project Support
I think this violates the Terms of Service. This includes: harm to minors, violence or threats, harassment or privacy invasion, impersonation or misrepresentation, fraud or phishing.
Note:
Your email address is included with the abuse report.
×
Close
Verify Delete
Are you sure you wish to delete this message from the message archives of yocto@lists.yoctoproject.org?
This cannot be undone.
×
Close
Verify Repost
Are you sure you wish to repost this message?
More Options
More
Home
Hashtags
Subgroups
Terms
Toggle navigation
Terms
©
2022
Groups.io