Re: [OE-core] [PATCH] cve-check: use SAFELIST

2020-09-11 Thread Khem Raj
On 9/11/20 3:20 PM, akuster wrote: > > > On 9/11/20 12:37 AM, Lee Chee Yang wrote: >> From: Lee Chee Yang >> >> use safelist instead of whitelist. > Thanks for sending the patch. There is some unfinished conclusions for > renaming various variables to be more inclusive. I am personally fine >

Re: [OE-core] [PATCH v2] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-11 Thread Khem Raj
On 9/11/20 10:33 AM, Andre McCurdy wrote: > On Fri, Sep 11, 2020 at 10:21 AM Peter Morrow > wrote: >> >> The default compression algorithm is gzip, this patch allows the default >> to be changed via a bbappend file by setting SQUASHFS_TOOLS_COMP_DEFAULT >> to a valid compression algorithm. >>

[OE-core] [PATCH] systemd-serialgetty: Replace sed quoting using ' with " to allow var expansion

2020-09-11 Thread Geoff Parker
From: Geoff Parker A recent commit added single quotes around the sed regex's. This prevented the expansion of $default_baudrate in do_install(), and ended up with systemd's' serial-getty@.service file having a literal $default_baudrate. This broke the serial console getty service.

Re: [OE-core] [PATCH] Revert "systemd-serialgetty: Fix sed expression quoting"

2020-09-11 Thread Khem Raj
instead of revert can you try double quotes? e.g. sed -i -e "s/\@BAUDRATE\@/$default_baudrate/g" On 9/11/20 5:17 PM, Geoff Parker wrote: > From: Geoff Parker > > This reverts commit 12d0fdd9c990bdc67bf6c8fd2d269cb766069ea5. > > Adding quotes around sed string treats $default_baudrate as

Re: [OE-core] [PATCH] Revert "systemd-serialgetty: Fix sed expression quoting"

2020-09-11 Thread Khem Raj
instead of revert can you try double quotes? e.g. sed -e "s/\@BAUDRATE\@/$default_baudrate/g" On 9/11/20 5:17 PM, Geoff Parker wrote: > From: Geoff Parker > > This reverts commit 12d0fdd9c990bdc67bf6c8fd2d269cb766069ea5. > > Adding quotes around sed string treats $default_baudrate as a

Re: [OE-core][dunfell 23/25] kernel.bbclass: run do_symlink_kernsrc before do_patch

2020-09-11 Thread Chanho Park
Hi, This patch makes STAGING_KERNEL_DIR symlink broken if externalsrc is used. I filed a bug for this. https://bugzilla.yoctoproject.org/show_bug.cgi?id=14044 Best Regards, Chanho Park On Mon, Aug 31, 2020 at 3:19 AM Steve Sakoman wrote: > > From: Rasmus Villemoes > > There's a race between

[OE-core] [PATCH] Revert "systemd-serialgetty: Fix sed expression quoting"

2020-09-11 Thread Geoff Parker
From: Geoff Parker This reverts commit 12d0fdd9c990bdc67bf6c8fd2d269cb766069ea5. Adding quotes around sed string treats $default_baudrate as a literal rather than a variable substitution in the do_install function. Breaks the systemd serial-getty@.service file and serial console getty.

Re: [OE-core] [PATCH] cve-check: use SAFELIST

2020-09-11 Thread akuster
On 9/11/20 12:37 AM, Lee Chee Yang wrote: > From: Lee Chee Yang > > use safelist instead of whitelist. Thanks for sending the patch. There is some unfinished conclusions for renaming various variables to be more inclusive. I am personally fine with this word choice. Is this what other open

Re: [OE-core] [PATCH v2] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-11 Thread Andre McCurdy
On Fri, Sep 11, 2020 at 10:21 AM Peter Morrow wrote: > > The default compression algorithm is gzip, this patch allows the default > to be changed via a bbappend file by setting SQUASHFS_TOOLS_COMP_DEFAULT > to a valid compression algorithm. > > Signed-off-by: Peter Morrow > --- >

[OE-core] [PATCH v2] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-11 Thread Peter Morrow
The default compression algorithm is gzip, this patch allows the default to be changed via a bbappend file by setting SQUASHFS_TOOLS_COMP_DEFAULT to a valid compression algorithm. Signed-off-by: Peter Morrow --- ...ols-Allow-COMP_DEFAULT-to-be-overridden-v.patch | 34 ++

Re: [OE-core] [PATCH] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-11 Thread Peter Morrow
On Fri, Sep 11, 2020 at 12:47:44PM +0100, Ross Burton wrote: > > +python () { > > +# Change the default compression algorithm if requested. > > +comp_default = d.getVar('SQUASHFS_TOOLS_COMP_DEFAULT') > > +if comp_default != None: > > +d.appendVar('EXTRA_OEMAKE', '

Re: [OE-core] Application depending on gRPC not linking properly

2020-09-11 Thread Stefan Herbrechtsmeier
Hi, Am 09.09.20 um 14:56 schrieb Goran Broeckaert: I have a simple application which depends on grpc. I'm using Yocto Zeus for my project and I've written the following recipe: [snip] The linker tries to link with the -native version of gRPC instead of the target one. Can be seen in the

[OE-core] [PATCH] bison: uprev from 3.7.1 to 3.7.2

2020-09-11 Thread Stacy Gaikovaia
a0bc06b7 (tag: v3.7.2) version 3.7.2 5e33dfe5 build: disable syntax-check warning 2a4e9a35 gnulib: update f7b642cf build: fix incorrect dependencies 3da17724 doc: updates 68e3e442 gnulib: update e432619d tests: beware of sed portability issues a1b7fef0 c: always use YYMALLOC/YYFREE 067e35a8 build:

Re: [OE-core] [PATCH] tcmode-default: Drop gcc-cross-initial, gcc-crosssdk-initial references

2020-09-11 Thread Ross Burton
Can you resend using git-send-email, as that patch has been corrupted. Ross On Fri, 11 Sep 2020 at 01:19, Douglas via lists.openembedded.org wrote: > > Further to 5b2fd1c724 > > Also a few remaining references (DISTRO_PN_ALIAS, RECIPE_MAINTAINER). > > Signed-off-by: Douglas Royds > --- >

Re: [OE-core] [PATCH] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-11 Thread Ross Burton
> +python () { > +# Change the default compression algorithm if requested. > +comp_default = d.getVar('SQUASHFS_TOOLS_COMP_DEFAULT') > +if comp_default != None: > +d.appendVar('EXTRA_OEMAKE', ' COMP_DEFAULT=%s' % comp_default) > +} > + This is overcomplicated. Just do:

Re: [OE-core] [PATCH] ncurses: remove config.cache

2020-09-11 Thread Ross Burton
On Fri, 11 Sep 2020 at 01:38, Mittal, Anuj wrote: > > On Thu, 2020-09-10 at 21:53 +0100, Ross Burton wrote: > > From: Ross Burton > > You forgot to update your email somewhere? :) It's a patch from some time ago, forgot to change the ownership. :( Ross -=-=-=-=-=-=-=-=-=-=-=- Links: You

[OE-core] [PATCH] license_image.bbclass: Fix symlink to the image license manifest dir creation

2020-09-11 Thread Diego Sueiro
If IMAGE_LINK_NAME is empty don't try to create the symlink. [YOCTO #14042] Signed-off-by: Diego Sueiro --- meta/classes/license_image.bbclass | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/meta/classes/license_image.bbclass

[OE-core] [PATCH] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-11 Thread Peter Morrow
The default compression algorithm is gzip, this patch allows the default to be changed via a bbappend file by setting SQUASHFS_TOOLS_COMP_DEFAULT to a valid compression algorithm. Signed-off-by: Peter Morrow --- ...ols-Allow-COMP_DEFAULT-to-be-overridden-v.patch | 34 ++

Re: [OE-core] Application depending on gRPC not linking properly

2020-09-11 Thread Goran Broeckaert
I have been able to fix it by searching for the right grpc libraries in the recipe-sysroot: find_library(GRPC_LIBRARY grpc++ HINTS ${CMAKE_SOURCE_DIR}/recipe- sysroot) if (GRPC_LIBRARY-NOTFOUND) message(FATAL_ERROR "Could not find grpc++") endif () find_path(GRPC_INCLUDE_DIR grpc++/grpc++.h

[OE-core] [PATCH] cve-check: use SAFELIST

2020-09-11 Thread Lee Chee Yang
From: Lee Chee Yang use safelist instead of whitelist. Replace CVE_CHECK_PN_WHITELIST with CVE_CHECK_PN_SAFELIST. Replace CVE_CHECK_WHITELIST with CVE_CHECK_SAFELIST. Signed-off-by: Lee Chee Yang --- meta/classes/cve-check.bbclass| 47 ++-

[OE-core][zeus][PATCH] procps: fix the top command crash issue

2020-09-11 Thread Zhixiong Chi
Avoid a potential SEGV during program termination. Backported the patch form: https://gitlab.com/procps-ng/procps/-/commit/d37f85c269fbb6e905802ffdbce0ba4173ba21a9 Signed-off-by: Zhixiong Chi --- ...ntial-SEGV-during-program-terminatio.patch | 61 +++