Re: [OE-core] [for-krogoth] musl backport

2016-07-11 Thread Khem Raj
On Mon, Jul 11, 2016 at 10:39 AM, Otavio Salvador wrote: > Hello Khem and OE-Core fellows, > > I would like to propose the backport of following changes: > > commit a572a1181411668a9bd4c264f5124d13f3d7cead (HEAD -> for-krogoth) > Author: Khem Raj

[OE-core] [PATCH] python3: regenerate outdated manifest file

2016-07-11 Thread Derek Straka
generate-manifest-3.5.py updated in fa4275bbc0098124f3b44e0eafae83692db778b9 Signed-off-by: Derek Straka --- meta/recipes-devtools/python/python-3.5-manifest.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH] glibc: add more Imagination Meta relocation to elf.h

2016-07-11 Thread Ross Burton
glibc master added the EM_METAG tag but didn't add the relocation defines. However the kernel tooling only checks for EM_METAG when defining its own values so scripts/recordmcount ends up using R_META_* symbols without their definition. Whilst the kernel can and should be fixed, this breaks all

Re: [OE-core] [PATCH 3/7] git: 2.8.4 -> 2.9.0

2016-07-11 Thread Burton, Ross
On 7 July 2016 at 14:14, Dan McGregor wrote: > I have no real objection to this.. in fact I've done it locally. But I do > think we should wait for 2.9.1. It should be released soon hopefully. > 2.9.1 was just released, fwiw. 2.9.0 is in my staging branch so will be

[OE-core] [PATCHv3 1/2] cve-check-tool: Add recipe

2016-07-11 Thread mariano . lopez
From: Mariano Lopez cve-check-tool is a program for public CVEs checking. This tool also seek to determine if a vulnerability has been addressed by a patch. The recipe also includes the do_populate_cve_db task that will populate the database used by the tool.

[OE-core] [PATCHv3 2/2] cve-check.bbclass: Add class

2016-07-11 Thread mariano . lopez
From: Mariano Lopez This class adds a new task for all the recipes to use cve-check-tool in order to look for public CVEs affecting the packages generated. It is possible to use this class when building an image, building a recipe, or using the "world" or

[OE-core] [PATCHv3 0/2] Add initial capability to check CVEs for recipes

2016-07-11 Thread mariano . lopez
From: Mariano Lopez This series add the cve-check-tool recipe, a tool used to identify potentially vulnerable software through version matching. It will check if a vulnerability has been addressed by a patch. Also add the new cve-check class that will add a task

[OE-core] [for-krogoth] musl backport

2016-07-11 Thread Otavio Salvador
Hello Khem and OE-Core fellows, I would like to propose the backport of following changes: commit a572a1181411668a9bd4c264f5124d13f3d7cead (HEAD -> for-krogoth) Author: Khem Raj Date: Thu Jun 23 15:23:19 2016 -0700 musl: Upgrade to tip Rich Felker (4):

[OE-core] [PATCH V3] rootfs.py: allow removal of support packages

2016-07-11 Thread Stephano Cetola
I've updated the list to be extened by getVar().split() as requested. Stephano Cetola (1): rootfs.py: allow removal of support packages meta/lib/oe/rootfs.py | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) -- 2.9.0 --

[OE-core] [PATCH V3] rootfs.py: allow removal of support packages

2016-07-11 Thread Stephano Cetola
For images not containing a package manager, this allows the removal of support packages based on the REMOVE_PKG_SUPPORT variable. Packages that will be uninstalled include: update-rc.d, base-passwd, shadow, run-postinsts, and update-alternatives. Signed-off-by: Stephano Cetola

Re: [OE-core] [for-krogoth] musl backport

2016-07-11 Thread Khem Raj
On Mon, Jul 11, 2016 at 11:33 AM, akuster808 wrote: > > > On 07/11/2016 10:41 AM, Khem Raj wrote: >> On Mon, Jul 11, 2016 at 10:39 AM, Otavio Salvador >> wrote: >>> Hello Khem and OE-Core fellows, >>> >>> I would like to propose the

Re: [OE-core] [PATCH 2/2] wic: clone gummiboot wks for systemd-boot

2016-07-11 Thread Khem Raj
On Mon, Jul 11, 2016 at 10:03 AM, Jianxun Zhang wrote: > >> On Jul 8, 2016, at 1:58 PM, Khem Raj wrote: >> >> On Fri, Jul 8, 2016 at 10:44 AM, Jianxun Zhang >> wrote: >>> This wks is just a copy of gummiboot wks

[OE-core] [PATCH v2] python3: update manifest RDEPENDS for importlib and compression packages

2016-07-11 Thread Derek Straka
zipfile.py has dependencies on importlib, threading, and shell importlib has a dependency on lang operator and contextlib added to the lang package instead of falling into misc Signed-off-by: Derek Straka --- meta/recipes-devtools/python/python-3.5-manifest.inc | 6 +++---

Re: [OE-core] [for-krogoth] musl backport

2016-07-11 Thread akuster808
On 07/11/2016 10:41 AM, Khem Raj wrote: > On Mon, Jul 11, 2016 at 10:39 AM, Otavio Salvador > wrote: >> Hello Khem and OE-Core fellows, >> >> I would like to propose the backport of following changes: >> >> commit a572a1181411668a9bd4c264f5124d13f3d7cead (HEAD

Re: [OE-core] [PATCH] grub-efi: run autogen.sh before configure

2016-07-11 Thread Yu, Mingli
On 2016年07月11日 18:22, Burton, Ross wrote: On 6 May 2016 at 13:13, Catalin Enache > wrote: DEPENDS_class-target = "grub-efi-native" RDEPENDS_${PN}_class-target = "diffutils freetype" +DEPENDS +=

Re: [OE-core] [PATCH v2] python3: update manifest RDEPENDS for importlib and compression packages

2016-07-11 Thread Derek Straka
In going through the meta-python RDEPENDS for the python3 packages, I've found a fair number of modules/files missing from the expected packages that have fallen through to -misc (compression libs, crypt items, etc). I'm planning on taking a stab at getting the -misc items placed in their

[OE-core] [PATCH] weston-init: De-couple framebuffer console from Weston

2016-07-11 Thread Tom Hochstein
The framebuffer console was using the same I/O as Weston. We fix this by having openvt switch to the new VT when starting weston-launch. Signed-off-by: Tom Hochstein --- meta/recipes-graphics/wayland/weston-init/weston-start | 2 +- 1 file changed, 1 insertion(+), 1

[OE-core] recipes that inherit useradd delete users in do_configure

2016-07-11 Thread Slater, Joseph
This might or might not be a bug, but it does lead to unpleasant behavior if two recipes create the same user. They probably should not, but who's stopping them? I realize they are not in oe-core, but proftpd and vsftpd are an example of this. We have seen failures when building world

Re: [OE-core] recipes that inherit useradd delete users in do_configure

2016-07-11 Thread Khem Raj
On Mon, Jul 11, 2016 at 6:50 PM, Slater, Joseph wrote: > This might or might not be a bug, but it does lead to unpleasant behavior if > two recipes create the same user. They probably should not, but who's > stopping them? > > > > I realize they are not in oe-core, but

Re: [OE-core] [PATCH] glibc: add more Imagination Meta relocation to elf.h

2016-07-11 Thread Khem Raj
On Mon, Jul 11, 2016 at 2:07 PM, Ross Burton wrote: > glibc master added the EM_METAG tag but didn't add the relocation defines. > However the kernel tooling only checks for EM_METAG when defining its own > values > so scripts/recordmcount ends up using R_META_* symbols

Re: [OE-core] [for-krogoth] Backport of new libarchive release

2016-07-11 Thread akuster808
Otavio, On 07/11/2016 07:41 AM, Otavio Salvador wrote: Hello Armin and OE-Core fellows, The libarchive 3.2.1 fixes several bugs and security related issues so it seems like a good candidate for backport. I list below the commits I did in our local fork while testing it: CVE-2016-1541 is the

Re: [OE-core] [PATCH] grub-efi: run autogen.sh before configure

2016-07-11 Thread Burton, Ross
On 6 May 2016 at 13:13, Catalin Enache wrote: > DEPENDS_class-target = "grub-efi-native" > RDEPENDS_${PN}_class-target = "diffutils freetype" > +DEPENDS += "autogen-native" > Because += happens after overrides this results in autogen-native only a dependency in

Re: [OE-core] [PATCH 4/5] qemu: add ppc64 to QEMU_TARGETS

2016-07-11 Thread Burton, Ross
On 3 July 2016 at 19:15, Armin Kuster wrote: > -QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el ppc sh4 > x86_64" > +QEMU_TARGETS ?= "arm aarch64 i386 mips mipsel mips64 mips64el ppc ppc64 > sh4 x86_64" > Is this series meant to support user-mode qemu yet?

Re: [OE-core] Can NOT get PRAUTO, exception [Errno -3] Temporary failure in name resolution

2016-07-11 Thread Richard Purdie
On Sun, 2016-07-10 at 18:10 -0400, Denys Dmytriyenko wrote: > On Sun, Jul 10, 2016 at 05:35:59PM -0400, Denys Dmytriyenko wrote: > > Has anyone ever seen this error message: > > > > ERROR: blah-blah do_package: Can NOT get PRAUTO, exception [Errno > > -3] Temporary failure in name resolution > >

Re: [OE-core] [PATCH] python3: update manifest RDEPENDS for importlib and compression packages

2016-07-11 Thread Derek Straka
Sure. I can pull out the pieces that are required by importlib out of -misc and into their own package instead of including all of items in -misc. Thanks. -Derek On Mon, Jul 11, 2016 at 4:38 AM, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Sat, 2016-07-09 at 10:50 -0400,

Re: [OE-core] [PATCH V2] rootfs.py: allow removal of support packages

2016-07-11 Thread Burton, Ross
On 8 July 2016 at 17:33, Stephano Cetola wrote: > +unneeded_pkgs = ["update-rc.d", "base-passwd", "shadow", > +"update-alternatives", "run-postinsts", > +self.d.getVar("ROOTFS_BOOTSTRAP_INSTALL", True)] > The

Re: [OE-core] [PATCH 1/5] python-six: Add to oe-core

2016-07-11 Thread Alexander Kanavin
On 07/11/2016 02:46 PM, Jussi Kukkonen wrote: Not sure where a URL like that comes from or why it would be accessed during build? Li Xin, any comment? A few recipes in meta-oe have this issue, for example python-mccabe: DEBUG: Executing shell function do_compile Download error on

[OE-core] [PATCH] libarchive: Update to 3.2.1 release

2016-07-11 Thread Otavio Salvador
This update to 3.2.1 which includes a handful of security and other critical issues with 3.2.0. Signed-off-by: Otavio Salvador --- ...c-check-acl-libacl.h-and-sys-acl.h-based-.patch | 66 -- .../{libarchive_3.2.0.bb => libarchive_3.2.1.bb} | 9

[OE-core] [PATCH 1/8] security_flags.inc: enable PIE for a few recipes

2016-07-11 Thread Alexander Kanavin
They used to fail with PIE enabled, but no longer do. Signed-off-by: Alexander Kanavin --- meta/conf/distro/include/security_flags.inc | 13 - 1 file changed, 13 deletions(-) diff --git a/meta/conf/distro/include/security_flags.inc

[OE-core] [PATCH 3/8] desktop-file-utils-native: update to 0.23

2016-07-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...op-file-utils-native_0.22.bb => desktop-file-utils-native_0.23.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/desktop-file-utils/{desktop-file-utils-native_0.22.bb =>

[OE-core] [PATCH 4/8] libwnck3: upgrade to 3.20.1

2016-07-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-gnome/libwnck/{libwnck3_3.14.1.bb => libwnck3_3.20.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-gnome/libwnck/{libwnck3_3.14.1.bb => libwnck3_3.20.1.bb} (77%) diff --git

[OE-core] [PATCH 5/8] epiphany: update to 3.20.3

2016-07-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../recipes-gnome/epiphany/{epiphany_3.18.4.bb => epiphany_3.20.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-gnome/epiphany/{epiphany_3.18.4.bb => epiphany_3.20.3.bb} (84%) diff

[OE-core] [PATCH 7/8] python-numpy: fix upstream version check

2016-07-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/python-numpy/python-numpy_1.11.0.bb | 1 + meta/recipes-devtools/python-numpy/python3-numpy_1.11.0.bb | 1 + 2 files changed, 2 insertions(+) diff --git

[OE-core] [PATCH 6/8] python-scons: fix upstream version check

2016-07-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/python/python-scons_2.5.0.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/python/python-scons_2.5.0.bb b/meta/recipes-devtools/python/python-scons_2.5.0.bb index

[OE-core] [PATCH 8/8] recipes-sato: fix upstream version check

2016-07-11 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-sato/matchbox-config-gtk/matchbox-config-gtk_0.2.bb | 1 + meta/recipes-sato/matchbox-terminal/matchbox-terminal_0.1.bb | 1 + meta/recipes-sato/matchbox-theme-sato/matchbox-theme-sato_0.2.bb | 1 +

Re: [OE-core] [PATCH 1/2] meta-ostro-fixes: initramfs-framework: add retry loop for slow boot devices (like USB)

2016-07-11 Thread Otavio Salvador
Hello Ross, On Fri, Jul 1, 2016 at 2:50 PM, Otavio Salvador wrote: > On Fri, Jul 1, 2016 at 10:53 AM, Patrick Ohly wrote: >> On some hardware platforms (Gigabyte, qemu), detection of USB devices >> by the kernel is slow enough such that it

[OE-core] [for-krogoth] Backport of new libarchive release

2016-07-11 Thread Otavio Salvador
Hello Armin and OE-Core fellows, The libarchive 3.2.1 fixes several bugs and security related issues so it seems like a good candidate for backport. I list below the commits I did in our local fork while testing it: commit 95e2a448d857659935ecd4762faea851151d1bce (HEAD -> for-krogoth) Author:

Re: [OE-core] [PATCH 1/2] meta-ostro-fixes: initramfs-framework: add retry loop for slow boot devices (like USB)

2016-07-11 Thread Patrick Ohly
On Mon, 2016-07-11 at 11:35 -0300, Otavio Salvador wrote: > Hello Ross, > > On Fri, Jul 1, 2016 at 2:50 PM, Otavio Salvador > wrote: > > Agreed but please split the rootfs in another module; so we don't > > force it to be included. The e2fs can rdepend on it. > > I

Re: [OE-core] [PATCH 0/1] tcl: fix sed command in do_install

2016-07-11 Thread Robert Yang
Ping. // Robert On 05/24/2016 11:15 AM, Robert Yang wrote: The following changes since commit d6241e4c94a0a72acfc57e96a59918c0b2146d65: useradd: Fix infinite build loop (2016-05-23 10:33:39 +0100) are available in the git repository at:

[OE-core] [PATCH 6/6] packagefeed-stability.bbclass: copy all packages of a recipe

2016-07-11 Thread Robert Yang
A recipes can generate several rpms such as a.rpm, a-dev.rpm, a-dbg.rpm, when update one of them in the repo, we'd better update all of them, otherwise, there might be a-dev.r0.1.rpm and a-dbg.r0.3.rpm in the repo, which looks strange. Signed-off-by: Robert Yang ---

[OE-core] [PATCH 3/6] build-compare: make pkg-diff.sh 75% faster

2016-07-11 Thread Robert Yang
The rpm tool is a heavy process, pkg-diff.sh ran 16 (or 17 for kernel) "rpm -qp" times when the pkgs are identical, now we only run "rpm -qp --qf " twice (one is for old pkg, and one is for new), save the results to spec_old and spec_new, then use sed command to get what we need later, this can

Re: [OE-core] [PATCH 1/2] meta-ostro-fixes: initramfs-framework: add retry loop for slow boot devices (like USB)

2016-07-11 Thread Otavio Salvador
On Mon, Jul 11, 2016 at 12:10 PM, Patrick Ohly wrote: > On Mon, 2016-07-11 at 11:35 -0300, Otavio Salvador wrote: >> Hello Ross, >> >> On Fri, Jul 1, 2016 at 2:50 PM, Otavio Salvador >> wrote: >> > Agreed but please split the rootfs in another

[OE-core] [PATCH 1/6] rpm: make --nosignature work

2016-07-11 Thread Robert Yang
OE-core uses rpm's --nosignature, but it never worked: self._invoke_smart('config --set rpm-check-signatures=false') Now fix it with: * Define SUPPORT_NOSIGNATURES to 1 in system.h * !QVA_ISSET(qva->qva_flags, SIGNATURE) -> QVA_ISSET(qva->qva_flags, SIGNATURE), otherwise, when use --nosignature

[OE-core] [PATCH 0/6] packagefeed-stability: add class to help reduce package feed churn

2016-07-11 Thread Robert Yang
* This work is based on Paul's packagefeed-stability, thanks Paul. It is aimed for reducing PR bumps for binary packages when use PRServer. * It works well for rpm: - Afer bumped rpm-native's PR and rebuild world, less than 20 recipes' Packages bumped PR, they are because of pseudo, I had

Re: [OE-core] [PATCH 2/2] wic: clone gummiboot wks for systemd-boot

2016-07-11 Thread Jianxun Zhang
> On Jul 8, 2016, at 1:58 PM, Khem Raj wrote: > > On Fri, Jul 8, 2016 at 10:44 AM, Jianxun Zhang > wrote: >> This wks is just a copy of gummiboot wks with bootloader >> changed to systemd-boot. A very basic boot test on a X86 >> target is done

Re: [OE-core] [PATCH 1/2] meta-ostro-fixes: initramfs-framework: add retry loop for slow boot devices (like USB)

2016-07-11 Thread Burton, Ross
On 11 July 2016 at 16:10, Patrick Ohly wrote: > > I noticed this has been merged but my comment here was totally ignored. > Why? > > I can't speak for Ross, but perhaps he felt that it was already a > worthwhile improvement. I wanted to address your comment (and still

[OE-core] [PATCH 1/1] xuser-account: remove GROUPADD_PARAM

2016-07-11 Thread Robert Yang
The group shutdown had been provided by base-passwd, otherwise, it may cause sysvinit failed to build: $ bitbake xuser-account sysvinit && bitbake xuser-account sysvinit -ccleansstate && bitbake sysvinit [snip] | chown: invalid user: root.shutdown [snip] Signed-off-by: Robert Yang

[OE-core] [PATCH 0/1] xuser-account: remove GROUPADD_PARAM

2016-07-11 Thread Robert Yang
The following changes since commit b17f91ed06a604e3d356fe17756bfe2ca61594b7: tune-ppce500mc.inc: pass -mcpu=e500mc for ppce500mc kernel compile (2016-07-10 14:12:07 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/xuser

[OE-core] [PATCH 4/6] packagefeed-stability: add class to help reduce package feed churn

2016-07-11 Thread Robert Yang
From: Paul Eggleton When a dependency causes a recipe to effectively be rebuilt, its output may in fact not change; but new packages (with an increased PR value, if using the PR server) will be generated nonetheless. There's no practical way for us to predict

[OE-core] [PATCH 2/6] build-compare: remove space at head

2016-07-11 Thread Robert Yang
The command like: rpm -qp --nodigest --nosignature --qf ' [%{REQUIRENAME}\n]\n' ^^space The space will be printed, and will impact the check result, so remove it. Signed-off-by: Robert Yang ---