[yocto] Add custom license to layer

2019-01-17 Thread Jonas Andersson
Hi, I have an recipe created from npm with devtool, when i build it generates the warning: do_rootfs: The license listed Unlicense was not in the licenses collected for recipe my-recipe I have tried to include the license in my layer with "LICENSE_PATH", with no success. "Unlicense" is listed

Re: [yocto] [PATCH] bb.build.addtask: add simple check for circular dependency

2019-01-17 Thread Ulf Samuelsson
So if KNOWN_TASKS is defined in a configuration file in oe-core, it would be OK? It needs to be extended to check for KNOWN_TASKS == None of course. Best Regards, Ulf Samuelsson +46 722 427 437 > 18 jan. 2019 kl. 00:17 skrev Burton, Ross : > > On Thu, 17 Jan 2019 at 22:50, Ulf Samuelsson

[yocto] [meta-selinux][PATCH 2/2] openssh: update sshd_config

2019-01-17 Thread Yi Zhao
Update sshd_config based on openssh 7.9p1. Drop the deprecated option UsePrivilegeSeparation Signed-off-by: Yi Zhao --- recipes-connectivity/openssh/files/sshd_config | 53 +- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git

[yocto] [meta-selinux][PATCH 1/2] core-image-selinux.bb: remove trailing whitespace

2019-01-17 Thread Yi Zhao
Signed-off-by: Yi Zhao --- recipes-security/images/core-image-selinux.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-security/images/core-image-selinux.bb b/recipes-security/images/core-image-selinux.bb index 70b525e..68bf7ef 100644 ---

Re: [yocto] Firewalld failing to build

2019-01-17 Thread Sam Zeter
Hi Randy, Thanks for offering to help. The recipe is posted below. For Poky: I'm on the master branch. Last commit being 4211a7497886561e9607f18dd4d81d0d41eaadfa Likewise, for meta-openembedded layers I am on the masters and pull them daily. The dependencies have been individually tested and

Re: [yocto] [meta-security][PATCH 01/11] README: add git-config tips

2019-01-17 Thread akuster
On 1/14/19 6:41 AM, Ross Burton wrote: > Signed-off-by: Ross Burton > --- > README | 7 +++ > 1 file changed, 7 insertions(+) series merged. thanks > > diff --git a/README b/README > index e238271..c15fea9 100644 > --- a/README > +++ b/README > @@ -57,6 +57,13 @@ Send pull requests,

Re: [yocto] [meta-security][PATCH] Upgrade scapy to 2.4.2

2019-01-17 Thread akuster
On 1/12/19 1:45 PM, Scott Ellis wrote: > Signed-off-by: Scott Ellis > --- > recipes-security/scapy/python-scapy.inc | 4 ++-- > .../scapy/{python-scapy_2.4.0.bb => python-scapy_2.4.2.bb}| 0 > .../scapy/{python3-scapy_2.4.0.bb => python3-scapy_2.4.2.bb} | 0 > 3

Re: [yocto] [PATCH] bb.build.addtask: add simple check for circular dependency

2019-01-17 Thread Burton, Ross
On Thu, 17 Jan 2019 at 22:50, Ulf Samuelsson wrote: > > We really can't hardcode a list of tasks like this in bitbake :( > > > > The list is also incorrect (at a quick look its packagedata and > > populate_sysroot is missing). > > I would say it may be incomplete, but it is only wrong, if they

[linux-yocto] superflous Arm patch in kernel-cache

2019-01-17 Thread Richard A Griffiths
Building a 'new' qemu machine for use with the Kernel Labs using qemuarm (versatile) as the base. A patch from kernel- cache  root/arch/arm/v7-A15/ARM-LPAE-Invalidate-the-TLB-for-module- addresses-dur.patch won't apply as it already upstream. This is using 4.18.14.  Manually removing the patch

Re: [yocto] [PATCH] bb.build.addtask: add simple check for circular dependency

2019-01-17 Thread Ulf Samuelsson
> 17 jan. 2019 kl. 22:05 skrev Richard Purdie > : > >> On Thu, 2019-01-17 at 19:15 +0100, Ulf Samuelsson wrote: >> From 864e49bedbdab480c5ada9588ce8f980f23919dd Mon Sep 17 00:00:00 >> 2001 >> From: Ulf Samuelsson >> Date: Thu, 17 Jan 2019 19:07:17 +0100 >> Subject: [PATCH] bb.build.addtask:

[yocto] Boost recipe compilation failure in Yocto 2.6 with GCC 8.2

2019-01-17 Thread Amol Lad
Hi, Boost recipe compilation fails with below error. Build is okay if "GCCVERSION = "7.%". Please advise what might be wrong? {standard input}: Assembler messages: {standard input}:7896: Warning: end of file not at end of a line; newline inserted {standard input}:9139: Error: unknown

Re: [yocto] [PATCH] bb.build.addtask: add simple check for circular dependency

2019-01-17 Thread Richard Purdie
On Thu, 2019-01-17 at 19:15 +0100, Ulf Samuelsson wrote: > From 864e49bedbdab480c5ada9588ce8f980f23919dd Mon Sep 17 00:00:00 > 2001 > From: Ulf Samuelsson > Date: Thu, 17 Jan 2019 19:07:17 +0100 > Subject: [PATCH] bb.build.addtask: add simple check for circular > dependency We really can't

[yocto] [PATCH] bb.build.addtask: add simple check for circular dependency

2019-01-17 Thread Ulf Samuelsson
From 864e49bedbdab480c5ada9588ce8f980f23919dd Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Thu, 17 Jan 2019 19:07:17 +0100 Subject: [PATCH] bb.build.addtask: add simple check for circular dependency Signed-off-by: Ulf Samuelsson --- bitbake/lib/bb/build.py | 48

[yocto] [PATCH] polkit: add polkit distro feature

2019-01-17 Thread Stefan Agner
From: Stefan Agner Several recipe now use polkit distro feature to descide whether to build with polkit support. Document this new distro feature. Signed-off-by: Stefan Agner --- documentation/ref-manual/ref-features.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [yocto] linux/bpf.h: no such file or directory

2019-01-17 Thread Burton, Ross
Don't use gcc, use $(CC). Ross On Thu, 17 Jan 2019 at 14:50, Maytar Byle wrote: > > Hey all, > > I've wrote a basic recipe to compile few C files and when i compile it, i get > the above error. I looked in 'sysroots/qemux86-64/usr/include/linux/' and it > contains bpf.h. > > The recipe: >

[yocto] linux/bpf.h: no such file or directory

2019-01-17 Thread Maytar Byle
Hey all, I've wrote a basic recipe to compile few C files and when i compile it, i get the above error. I looked in 'sysroots/qemux86-64/usr/include/linux/' and it contains bpf.h. The recipe: SRC_URI = "file://dir" S = "${WORKDIR}/dir" do_install() { install -d ${D}/home/user/dir

Re: [yocto] Fetch from git every bitbake

2019-01-17 Thread Burton, Ross
Look up AUTOREV in the manual, that does exactly what you want. Ross On Thu, 17 Jan 2019 at 14:08, Mauro Ziliani wrote: > > Hi all. > > How can I force the pull from git repository of my app every time I do > > bitbake app > > > Best regards, > >MZ > > -- >

[yocto] Fetch from git every bitbake

2019-01-17 Thread Mauro Ziliani
Hi all. How can I force the pull from git repository of my app every time I do bitbake app Best regards,   MZ -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] [meta-mingw][PATCH V2] testsdk: enhance extract sdk part

2019-01-17 Thread changqing.li
From: Changqing Li Current sdk type is tar.xz, but for mingw sdk, since we have symlink under the sdk folder, 7zip which used to extract tar.xz cannot handle it, refer 7zip upstream bug: https://sourceforge.net/p/sevenzip/discussion/45797/thread/c71d6b96/ so oe-core have add support of change

[yocto] [meta-mingw][PATCH V2] testsdk: enhance extract sdk part

2019-01-17 Thread changqing.li
change in V2: 1. move zip part to oe-core, and if usr want to use .zip file set SDK_ARCHIVE_TYPE to zip in local.conf 2. correct extract sdk function for qa test Changqing Li (1): testsdk: enhance extract sdk part lib/oeqa/sdkmingw/testsdk.py | 11 +-- 1 file changed, 9