[yocto] Removing Python2 Completely

2020-08-28 Thread Aashik Aswin
Hi, I am trying to remove Python2 and it's supporting modules completely from my Image, as I have moved all my code to Python3 and hence no longer require Python2. I tried the IMAGE_INSTALL_remove variable but seems to have no effect. Is there a way I can remove Python2 without much changes to the

Re: [yocto] Removing Python2 Completely

2020-08-28 Thread Maciej Pijanowski
On 28.08.2020 09:04, Aashik Aswin wrote: Hi, I am trying to remove Python2 and it's supporting modules completely from my Image, as I have moved all my code to Python3 and hence no longer require Python2. I tried the IMAGE_INSTALL_remove variable but seems to have no effect. Is there a way I

Re: [yocto] Removing Python2 Completely

2020-08-28 Thread Maciej Pijanowski
On 28.08.2020 09:10, Aashik Aswin wrote: Hi, I am currently using Yocto Zeus. So is it safe to say that if we remove all the Python2 calls from image, that itself will remove Python2 overall ? If you want to remove python2 from the image, you need to make sure that no other package installe

[yocto] How to generate opensource licenses credits web page

2020-08-28 Thread Damien LEFEVRE
Hi, I have a distro which is not using any package manager in the image. Images are deployed atomically. I'd like to make a script to generate the credits / acknowledgement web page for all the open source components to ease the task and make sure I don't forget anyone. In the actual image I hav

Re: [yocto] devtool add ignores "devDependencies" from package.json when generates npm-shrinkwrap.json file

2020-08-28 Thread Cardenas Jose Antonio (JCARDENA)
Yes, it worked! Thank you very much! From: Jean-Marie Lemetayer Sent: jueves, 27 de agosto de 2020 14:41 To: Cardenas Jose Antonio (JCARDENA) Cc: yocto@lists.yoctoproject.org Subject: Re: [yocto] devtool add ignores "devDependencies" from package.json when generates npm-shrinkwrap.json file

[yocto] dist folder missing in npm build.

2020-08-28 Thread Cardenas Jose Antonio (JCARDENA)
Hi all, i'm trying to reproduce an older recipe that was built with npm. It seems that the older recipe copied server files from a "dist" folder that now is missing. I show the install part of the recipe: do_install() { install -d ${D}/usr/httpd/zigbee-ui cp -r ${S}/dist/* ${D}/usr/http

Re: [yocto] Removing Python2 Completely

2020-08-28 Thread Aashik Aswin
Thanks, Now I am able to see only python-core remaining in the RootFS Manifest and Image size has decreased by nearly 10 MB. Thanks, Aashik On Fri, Aug 28, 2020 at 12:44 PM Maciej Pijanowski < maciej.pijanow...@3mdeb.com> wrote: > > On 28.08.2020 09:10, Aashik Aswin wrote: > > Hi, > > I am curr

Re: [yocto] dist folder missing in npm build.

2020-08-28 Thread Jean-Marie Lemetayer
Hi Jose, Seeing your other email in the list, it seems that you are trying to build an angular or react application. Right now the build of these applications is not handled by Yocto yet. For an angular application you will need to pack the ng native tool and call it to generate the dist directo

Re: [yocto] dist folder missing in npm build.

2020-08-28 Thread Cardenas Jose Antonio (JCARDENA)
Hi Jean-Marie, thank you for the info. Do you know how we could do this extra build step? We are not sure about how to do it. Regards. Jose Obtener Outlook para Android From: Jean-Marie Lemetayer Sent: Friday, August 28, 2020 2:22:32 PM

Re: [yocto] npmsw fetching error: package from npm-shrinkwrap is not downloaded so "Could not install from.../SONStream" as it does not contain a package.json file.

2020-08-28 Thread Sandra Tobajas
Hi Jose, I have tested your npm-shrinkwrap.json file with this patch (https://patchwork.openembedded.org/patch/175755/) and it worked. Can you test it on your machine ? Regards, Sandra Sandra Tobajas Consultant en logiciel libre | Montréal, Qc Savoir-Faire Linux Bureau: (+1) 514-276-5468 # 329

[yocto] [meta-security][PATCH 3/3] .gitlab: send error reports

2020-08-28 Thread akuster
Signed-off-by: Armin Kuster --- .gitlab-ci.yml | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 132eb78..37db49c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,17 +5,18 @@ stages: stage: build image: crops/poky

[yocto] [meta-security][PATCH 2/3] kas/kas-security-base.yml: lets enable error reporting

2020-08-28 Thread akuster
Signed-off-by: Armin Kuster --- kas/kas-security-base.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kas/kas-security-base.yml b/kas/kas-security-base.yml index 768390e..2cf056f 100644 --- a/kas/kas-security-base.yml +++ b/kas/kas-security-base.yml @@ -37,6 +37,8 @@ local_conf_header:

[yocto] [meta-security][PATCH 1/3] upload-error-report: add script to upload errors

2020-08-28 Thread akuster
Signed-off-by: Armin Kuster --- scripts/upload-error-report | 26 ++ 1 file changed, 26 insertions(+) create mode 100755 scripts/upload-error-report diff --git a/scripts/upload-error-report b/scripts/upload-error-report new file mode 100755 index 000..56bd24e --- /de