Re: [OE-core] [PATCH] util-linux: fix owner and group for binaries in resulting image

2019-05-06 Thread Jacob Kroon
Hi, Are we sure this is not caused by the new glibc2.29/pseudo problems that has been seen previously ? Which distro are you building on, and which version of poky/oe are you using ? /Jacob On Mon, May 6, 2019 at 5:46 PM Popov Anton wrote: > > util-linux source produce some binaries with setuid

[OE-core] [PATCH] dhcp: Revert "dhcp: enable gentle shutdown" and reset handler

2019-05-06 Thread Rui Wang
This reverts commit 4653fdd4b4cf13543e32fbcf09e50f60c1719a34 This patch is used to solve the problem in which dhcpd can not be killed by SIGINT and SIGTERM. But it seems not good to rely on ENABLE_GENTLE_SHUTDOWN, which is an "undesireable feature" and will release its address after receive both

[OE-core] [PATCH V2 1/2] systemd: Add -Wno-error=format-overflow to fix biuld with gcc9

2019-05-06 Thread Khem Raj
gcc9 throws additional warnings about format string overflow Signed-off-by: Khem Raj --- meta/recipes-core/systemd/systemd_242.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb index

Re: [OE-core] [PATCH 1/2] systemd: Fix build with gcc9

2019-05-06 Thread Adrian Bunk
On Mon, May 06, 2019 at 10:51:35AM -0700, Khem Raj wrote: >... > +gcc-9 has become a bit stricter and can check all kind of formatted > +input/output functions which causes additional warnings when compiling > +networkd > + > +/src/basic/log.h:104:9: error: ‘%s’ directive argument is null >

[OE-core] [PATCH 2/2] gcc-target: Do not set --with-sysroot and gxx-include-dir paths

2019-05-06 Thread Khem Raj
These options are not needed on target infact since the defaults would be good enough for compiler to find the relevant headers and libraries from compiler runtime with gcc9 it starts to strip the sysroot from gxx-include-dir which means it tries to look for gxx headers in localdir ignoring

[OE-core] [PATCH 1/2] systemd: Fix build with gcc9

2019-05-06 Thread Khem Raj
gcc9 throws additional warnings about format string overflow Signed-off-by: Khem Raj --- ...-format-overflow-warnings-with-gcc-9.patch | 41 +++ meta/recipes-core/systemd/systemd_242.bb | 1 + 2 files changed, 42 insertions(+) create mode 100644

[OE-core] [PATCH] util-linux: fix owner and group for binaries in resulting image

2019-05-06 Thread Popov Anton
util-linux source produce some binaries with setuid bit set do_install function produce binaries in /sbin and /bin with uid:gid of user who build image this lead to messages like this: mount /dev/sdb1 /mnt/flash mount: only root can do that (effective UID is 1000) this patch changing owner of

Re: [OE-core] [PATCH v2] ell: add recipe

2019-05-06 Thread Alexander Kanavin
Please resend, patches do get lost sometimes. Alex On Mon, 6 May 2019 at 16:36, Oleksandr Kravchuk wrote: > > Khem - > > Is it being hold for a specific reason or it was just lost? Thanks. > > On 24/04/2019 07:16, Oleksandr Kravchuk wrote: > > ELL has originally been part of meta-openembedded,

Re: [OE-core] [PATCH v2] ell: add recipe

2019-05-06 Thread Oleksandr Kravchuk
Khem - Is it being hold for a specific reason or it was just lost? Thanks. On 24/04/2019 07:16, Oleksandr Kravchuk wrote: > ELL has originally been part of meta-openembedded, but newer versions > of some of the oe-core components depend on it, e.g. ofono. > > Signed-off-by: Oleksandr Kravchuk >

Re: [OE-core] [OE-Core][PATCH] systemd: Default to non-stateless images

2019-05-06 Thread Alex Kiernan
On Mon, May 6, 2019 at 12:18 PM Jonas Bonn wrote: > > Hi Alex, > > On 06/05/2019 11:36, Alex Kiernan wrote: > > On Mon, May 6, 2019 at 5:54 AM Jonas Bonn wrote: > >> > >> Hi Alex, > >> > >> The below is fine and looks good. The one thing that bothers me about > >> this is that "stateless" isn't

Re: [OE-core] [OE-Core][PATCH] systemd: Default to non-stateless images

2019-05-06 Thread Jonas Bonn
Hi Alex, On 06/05/2019 11:36, Alex Kiernan wrote: On Mon, May 6, 2019 at 5:54 AM Jonas Bonn wrote: Hi Alex, The below is fine and looks good. The one thing that bothers me about this is that "stateless" isn't really a property of the "distro", rather it's a property of the image/machine.

Re: [OE-core] Status of meson cross compilation files in the SDK

2019-05-06 Thread Alexander Kanavin
Looking at latest master, seems like nativesdk-meson recipe takes care of this, via meson.cross template and meson-setup.py that runs at SDK setup? Alex On Sun, 5 May 2019 at 20:29, Carlos Rafael Giani wrote: > > Last I've checked, deploying meson cross compilation files with a Yocto > SDK is

Re: [OE-core] [OE-Core][PATCH] systemd: Default to non-stateless images

2019-05-06 Thread Jonas Bonn
Hi Peter, On 06/05/2019 12:28, Peter Kjellerstedt wrote: -Original Message- From: openembedded-core-boun...@lists.openembedded.org On Behalf Of Jonas Bonn Sent: den 6 maj 2019 06:54 To: Alex Kiernan ; openembedded- c...@lists.openembedded.org Subject: Re: [OE-core] [OE-Core][PATCH]

Re: [OE-core] [OE-Core][PATCH] systemd: Default to non-stateless images

2019-05-06 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org core-boun...@lists.openembedded.org> On Behalf Of Jonas Bonn > Sent: den 6 maj 2019 06:54 > To: Alex Kiernan ; openembedded- > c...@lists.openembedded.org > Subject: Re: [OE-core] [OE-Core][PATCH] systemd:

Re: [OE-core] [PATCH v2] glib-2.0: fix ptest failures

2019-05-06 Thread Adrian Bunk
On Sun, May 05, 2019 at 02:09:49PM +0800, Yu, Mingli wrote: > On 2019年04月30日 21:16, Burton, Ross wrote: > > On Tue, 30 Apr 2019 at 08:45, wrote: >... > > > * Increase the timeout to 15 minutes as the default > > >timeout which is 5 minutes is not enough to fix below error: > > >|

Re: [OE-core] [OE-Core][PATCH] systemd: Default to non-stateless images

2019-05-06 Thread Alex Kiernan
On Mon, May 6, 2019 at 5:54 AM Jonas Bonn wrote: > > Hi Alex, > > The below is fine and looks good. The one thing that bothers me about > this is that "stateless" isn't really a property of the "distro", rather > it's a property of the image/machine. I agree it should be part of image, I'll

[OE-core] [PATCH v2] cml1.bbclass: fix undefined behavior

2019-05-06 Thread Stefan Müller-Klieser
Whenever cml1 do_configure is used with a defconfig, oldconfig waits for input. This silently fails on recent kconfig projects with: "Error in reading or end of file." We cannot use a more up to date kconfig target such as olddefconfig, because busybox does not support it. Signed-off-by: Stefan

[OE-core] [warrior][PATCH] uboot-sign: add support for different u-boot configurations

2019-05-06 Thread Richard Leitner
From: Andreas Obergschwandtner This is done by concatenating the DTB with the kernels public key to all built u-boot binaries. Furthermore the installation of all the binaries is required. Signed-off-by: Andreas Obergschwandtner Signed-off-by: Richard Purdie Signed-off-by: Richard Leitner

[OE-core] [PATCH v3] distutils: Run python from the PATH in the -native case as well

2019-05-06 Thread Douglas Royds via Openembedded-core
The python distutils generate a python wrapper script for each package, containing shebang lines pointing to the python executable. In our case, this is a fully-qualified path to python-native in the recipe-sysroot-native. Ubuntu 18.04 restricts the useful length of the shebang line to 125