Re: [OE-core] [PATCH v2] rootfs-postcommands: put image testdata under sstate control

2018-05-16 Thread ChenQi
Hi, I've also noticed this problem. The growing testdata.json files also bothered me a little bit. I think the only small flaw with your patch is you deleted the following check. if testdata_link != testdata: Checking the values of IMAGE_NAME and IMAGE_LINK_NAME in bitbake.conf, such chec

Re: [OE-core] [meta-oe][PATCH] package.bbclass: provide debug sources in externalsrc -dbg packages

2018-05-16 Thread Vignesh Rajendran (RBEI/ECF3)
Hi OE-Core members, As per the wiki notes, This is a reminder and re-submission again the same patch posted some weeks before. https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded If your patch has not had any feedback after a few days it may have been missed or the app

[OE-core] [meta-oe][PATCH] package.bbclass: provide debug sources in externalsrc -dbg packages

2018-05-16 Thread Vignesh Rajendran
The recipes which are using externalsrc method doesn't contain the debug sources in their -dbg packages. Add a handling in copydebugsources function to copy the debugsources for externalsrc -dbg packages. Signed-off-by: Vignesh Rajendran --- meta/classes/externalsrc.bbclass | 3 +++ meta/class

Re: [OE-core] read-only-rootfs and EFI configuration

2018-05-16 Thread Paul Eggleton
On Wednesday, 9 May 2018 8:19:19 AM NZST Cal Sullivan wrote: > You're right. Since its adding to APPEND from rootfs-postcommands, which > is inherited by images, its in the local space instead of global and > won't be picked up by these recipes... > > Right now it won't actually affect anything

Re: [OE-core] [rocko][PATCH] libnl: fix CVE-2017-0553

2018-05-16 Thread akuster808
On 05/15/2018 01:14 PM, Andre McCurdy wrote: > On Fri, May 11, 2018 at 4:52 PM, Andre McCurdy wrote: >> An elevation of privilege vulnerability in libnl could enable a local >> malicious application to execute arbitrary code within the context of >> the Wi-Fi service. This issue is rated as Mode

[OE-core] [AUH] Upgrade status: 2018-05-16

2018-05-16 Thread auh
Recipe upgrade statistics: * Succeeded: 48 python3-git, 2.1.9, Derek Straka gpgme, 1.11.1, Hongxu Jia gst-examples, 0.0.1-new-commits-available, Anuj Mittal mtd-utils, 2.0.2, Denys Dmytriyenko gnu-config, 20150728-new-commits-available, Robert Yang

[OE-core] [PATCH] strace: fix ARM Thumb build with frame pointers enabled

2018-05-16 Thread Andre McCurdy
Replace the previous (incomplete) workaround with better solution backported from upstream. Signed-off-by: Andre McCurdy --- ...aw_syscall.h-avoid-r7-specified-register-.patch | 74 ++ meta/recipes-devtools/strace/strace_4.22.bb| 16 ++--- 2 files changed, 81 insertio

Re: [OE-core] [PATCH][rocko] libnl: protect against buffer overflow (CVE-2017-0553)

2018-05-16 Thread Andre McCurdy
On Wed, May 16, 2018 at 4:30 PM, Ross Burton wrote: Looks like a duplicate of: http://lists.openembedded.org/pipermail/openembedded-core/2018-May/150743.html ? > Signed-off-by: Ross Burton > --- > meta/recipes-support/libnl/libnl/overflow.patch | 39 > + > meta/rec

[OE-core] [PATCH][rocko] libnl: protect against buffer overflow (CVE-2017-0553)

2018-05-16 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-support/libnl/libnl/overflow.patch | 39 + meta/recipes-support/libnl/libnl_3.2.29.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta/recipes-support/libnl/libnl/overflow.patch diff --git a/meta/recipes-s

Re: [OE-core] [PATCH] u-boot: Upgrade to 2018.05 release

2018-05-16 Thread Marek Vasut
On 05/17/2018 12:49 AM, Burton, Ross wrote: > I was informed yesterday that AUH had just started, so you should be > getting an email shortly... Well, if it fails, feel free to pick this patch :) > On 16 May 2018 at 23:37, Marek Vasut wrote: >> On 05/17/2018 12:00 AM, Otavio Salvador wrote: >>>

Re: [OE-core] [PATCH] u-boot: Upgrade to 2018.05 release

2018-05-16 Thread Burton, Ross
I was informed yesterday that AUH had just started, so you should be getting an email shortly... On 16 May 2018 at 23:37, Marek Vasut wrote: > On 05/17/2018 12:00 AM, Otavio Salvador wrote: >> On Wed, May 16, 2018 at 5:14 PM, Marek Vasut wrote: >>> This upgrades the U-Boot from 2018.03 to 2018.0

Re: [OE-core] [PATCH] u-boot: Upgrade to 2018.05 release

2018-05-16 Thread Marek Vasut
On 05/17/2018 12:00 AM, Otavio Salvador wrote: > On Wed, May 16, 2018 at 5:14 PM, Marek Vasut wrote: >> This upgrades the U-Boot from 2018.03 to 2018.05 release. >> >> Signed-off-by: Marek Vasut >> Cc: Otavio Salvador >> Cc: Richard Purdie >> Cc: Ross Burton > > Nice work :-) Except this kin

Re: [OE-core] [PATCH] u-boot: Upgrade to 2018.05 release

2018-05-16 Thread Marek Vasut
On 05/17/2018 12:05 AM, Khem Raj wrote: > On Wed, May 16, 2018 at 3:00 PM, Otavio Salvador > wrote: >> On Wed, May 16, 2018 at 5:14 PM, Marek Vasut wrote: >>> This upgrades the U-Boot from 2018.03 to 2018.05 release. >>> >>> Signed-off-by: Marek Vasut >>> Cc: Otavio Salvador >>> Cc: Richard Pur

Re: [OE-core] [PATCH] u-boot: Upgrade to 2018.05 release

2018-05-16 Thread Khem Raj
On Wed, May 16, 2018 at 3:00 PM, Otavio Salvador wrote: > On Wed, May 16, 2018 at 5:14 PM, Marek Vasut wrote: >> This upgrades the U-Boot from 2018.03 to 2018.05 release. >> >> Signed-off-by: Marek Vasut >> Cc: Otavio Salvador >> Cc: Richard Purdie >> Cc: Ross Burton > > Nice work :-) is li

Re: [OE-core] [PATCH] u-boot: Upgrade to 2018.05 release

2018-05-16 Thread Otavio Salvador
On Wed, May 16, 2018 at 5:14 PM, Marek Vasut wrote: > This upgrades the U-Boot from 2018.03 to 2018.05 release. > > Signed-off-by: Marek Vasut > Cc: Otavio Salvador > Cc: Richard Purdie > Cc: Ross Burton Nice work :-) -- Otavio Salvador O.S. Systems http://www.os

Re: [OE-core] [morty][PATCH 1/2] glibc: add missing TRAP_BRANCH/TRAP_HWBKPT definitions

2018-05-16 Thread Daniel Díaz
On 6 April 2018 at 15:43, akuster808 wrote: > On 04/06/2018 10:08 AM, Daniel Díaz Rodríguez wrote: >> Ping on this series for Morty. > This needs to be ported to Pyro first. I do it this weekend and morty too. Ping on this series for Morty. -- ddiaz -- _

[OE-core] [PATCH] u-boot: Upgrade to 2018.05 release

2018-05-16 Thread Marek Vasut
This upgrades the U-Boot from 2018.03 to 2018.05 release. Signed-off-by: Marek Vasut Cc: Otavio Salvador Cc: Richard Purdie Cc: Ross Burton --- .../u-boot/{u-boot-common_2018.03.inc => u-boot-common_2018.05.inc} | 2 +- .../u-boot/{u-boot-fw-utils_2018.03.bb => u-boot-fw-utils_2018.05.bb}

[OE-core] [OE-Core][PATCH] libnss-mdns: fix postinst and postrm

2018-05-16 Thread Dan McGregor
From: Dan McGregor Don't blindly add mdns_minimal, instead check for existing mdns_minimal instances. Fixes continuously appending mdns settings to nssswitch.conf when upgrading. Signed-off-by: Dan McGregor --- .../libnss-mdns/libnss-mdns_0.10.bb | 15 +-- 1 file chan

Re: [OE-core] [PATCH 4/4] musl: Make dev package rdep on staticdev

2018-05-16 Thread Khem Raj
On Wed, May 16, 2018 at 7:38 AM, Burton, Ross wrote: > Surely in that usecase you can add musl-staticdev yourself? Forcing > it into every SDK seems wasteful. > I guess thats a fair argument I can accept it. Please ignore this patch then > Ross > > On 16 May 2018 at 14:32, Khem Raj wrote: >> O

Re: [OE-core] [PATCH 4/4] musl: Make dev package rdep on staticdev

2018-05-16 Thread Burton, Ross
Surely in that usecase you can add musl-staticdev yourself? Forcing it into every SDK seems wasteful. Ross On 16 May 2018 at 14:32, Khem Raj wrote: > On Wed, May 16, 2018 at 4:09 AM, Burton, Ross wrote: >> Surely if you want to support static linking in the SDK, you just need >> to add staticd

Re: [OE-core] [PATCH 4/4] musl: Make dev package rdep on staticdev

2018-05-16 Thread Khem Raj
On Wed, May 16, 2018 at 4:09 AM, Burton, Ross wrote: > Surely if you want to support static linking in the SDK, you just need > to add staticdev-pkgs to the SDKIMAGE_FEATURES? > In some usecase, compiler runtime and c library is only required everything else is external. Adding whole staticdev bu

Re: [OE-core] [meta-oe][PATCH] package.bbclass: provide debug sources in externalsrc -dbg packages

2018-05-16 Thread Alexander Kanavin
On 05/16/2018 03:11 PM, Vignesh Rajendran (RBEI/ECF3) wrote: As I am new to the patch submission, anyone can explain how long this process will take for acceptance in master/next release? After several days of waiting by watching OE-mailing thread for any reply for the patch, Now I had a feeli

Re: [OE-core] [meta-oe][PATCH] package.bbclass: provide debug sources in externalsrc -dbg packages

2018-05-16 Thread Vignesh Rajendran (RBEI/ECF3)
Hello OE-Core Members, As I am new to the patch submission, anyone can explain how long this process will take for acceptance in master/next release? After several days of waiting by watching OE-mailing thread for any reply for the patch, Now I had a feeling like the patch may have been misse

Re: [OE-core] [PATCH 4/4] musl: Make dev package rdep on staticdev

2018-05-16 Thread Burton, Ross
Surely if you want to support static linking in the SDK, you just need to add staticdev-pkgs to the SDKIMAGE_FEATURES? Ross On 16 May 2018 at 07:32, Khem Raj wrote: > This is needed for enabling static linking with SDK > > Signed-off-by: Khem Raj > --- > meta/recipes-core/musl/musl_git.bb | 2

[OE-core] [PATCH] libxslt: Fix handling of RVTs returned from nested EXSLT functions

2018-05-16 Thread Andrej Valek
Set the context variable to NULL when evaluating EXSLT functions. Fixes potential use-after-free errors or memory leaks. Fixes bug 792580 Signed-off-by: Andrej Valek --- .../libxslt/libxslt/fix-rvts-handling.patch| 80 ++ meta/recipes-support/libxslt/libxslt_1.1.32.b

Re: [OE-core] [PATCH v2] rootfs-postcommands: put image testdata under sstate control

2018-05-16 Thread André Draszik
Is there anything wrong with this? On Thu, 2018-05-10 at 09:05 +0100, André Draszik wrote: > ping > > On Wed, 2018-03-21 at 16:31 +, André Draszik wrote: > > From: André Draszik > > > > The testdata.json is being written to DEPLOY_DIR_IMAGE directly, > > thus bypassing sstate, which results

[OE-core] [PATCH v2 1/3] opkg: avoid running postinst scripts twice when using systemd

2018-05-16 Thread Stefan Agner
From: Stefan Agner OpenEmbedded has a built-in mechanism to run postinst scripts offline at build time or, if necessary, on first boot (delayed execution). If the latter is the case and systemd is in use, two services end up doing the same thing: - opkg-configure.service starts "opkg configure" d

[OE-core] [PATCH v2 2/3] run-postinsts: for dpkg/opkg, do not rely on /etc/*-postinsts

2018-05-16 Thread Stefan Agner
From: Stefan Agner Start opkg/dpkg as soon as the respective package managers status file is present, no matter whether /etc/$pm-postinsts exists. This decouples the implicit link between postinsts scripts in /etc and the package manager: Currently the package manager is only started if those scr

[OE-core] [PATCH v2 3/3] rootfs.py: for dpkg/opkg, don't install postinsts if package management is present

2018-05-16 Thread Stefan Agner
From: Stefan Agner If package management is present opkg/dpkg will bring the original copy of the postinsts scripts with the metadata and will be able to handle postinsts just fine. In fact, it is preferred to let package management handle the postinsts scripts in this case since it will keep the

[OE-core] [PATCH v2 0/3] postinst fixes for opgk/dpkg

2018-05-16 Thread Stefan Agner
From: Stefan Agner Hi, This follows up on the discussion a while ago: https://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg104996.html Patch 1 is rather simple and really fixes the main issue. The patch by itself has been tested with the relevant self test and passes. Patch

[OE-core] [PATCH 1/1] gstreamer1.0-plugins-good: enable PACKAGECONFIG gtk conditionally

2018-05-16 Thread kai.kang
From: Kai Kang PACKAGECONFIG 'gtk' is enabled by default for gstreamer1.0-plugins-good and it makes gstreamer1.0-plugins-good depends on package gtk+3 which requires any distro feature in ${GTK3DISTROFEATURES}. When none distro feature is enabled from ${GTK3DISTROFEATURES}, it causes error: | ER

[OE-core] [PATCH 0/1] gstreamer1.0-plugins-good: enable PACKAGECONFIG gtk conditionally

2018-05-16 Thread kai.kang
From: Kai Kang The following changes since commit 13cc30cd7de4841990b600e83e1249c81a5171dd: local.conf.sample.extended: Drop obsolete rpc and libnsl (2018-05-15 11:07:50 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib kangkai/gst-good http://git.pokyl