[OE-core] [PATCH] scons.bbclass: rework parameters for install task

2016-09-22 Thread Andreas Müller
Fixes: * During install all files were recompiled -> redurced build time * For some recipes we found lot of links to build host image path Signed-off-by: Andreas Müller --- meta/classes/scons.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [OE-core] rm_work + pybootchart enhancements

2016-09-22 Thread Patrick Ohly
On Thu, 2016-09-22 at 10:37 -0700, Christopher Larson wrote: > > On Thu, Sep 22, 2016 at 5:52 AM, Patrick Ohly > wrote: > That's bitbake specific. What I was remembering is something > generic > that works for anything that prints test results on

Re: [OE-core] [PATCH] bitbake.conf: add a lazy default for SDKMACHINE

2016-09-22 Thread Khem Raj
On Thu, Sep 22, 2016 at 6:21 AM, Ross Burton wrote: > If the user doesn't set SDKMACHINE in their local.conf then uninative and > buildtools will fail in obscure ways, so ensure that a default value is set. > I think this should also be documented somewhere. > Also as

Re: [OE-core] [PATCH 1/2] runqemu: Move virtio RNG to machine configuration

2016-09-22 Thread Khem Raj
On Thu, Sep 22, 2016 at 6:53 AM, Nathan Rossi wrote: > Not all QEMU machines (outside of those available in OE-Core) are > capable of using the virtio-rng-pci device due to various machine models > not having a pci/virtio bus. This makes it such that the use of the >

Re: [OE-core] [PATCH] ruby: 2.2.5 -> 2.3.1

2016-09-22 Thread Khem Raj
On Thu, Sep 22, 2016 at 12:58 AM, Burton, Ross wrote: > This upgrade missed the M3 window which was the last time that upgrades are > acceptable, so it will have to wait until after the 2.2 release. I think this will be ok, its a 2.2 to 2.3 upgrade while it seems its quite

[OE-core] [PATCH] scripts/runqemu: provide better error message on runqemu ifup fail

2016-09-22 Thread Stephano Cetola
If runqemu-ifup fails hen running testimage, a rather cryptic error regarding "no tty present" is displayed. If this step fails, we should at least point the user at runqemu-gen-tapdevs. A quick search of this term in the manual will lead them to "Enabling Runtime Tests on QEMU" which should give

Re: [OE-core] [PATCH 1/2] libunwind: fix build by linking with bfd instead of gold

2016-09-22 Thread Khem Raj
On Tue, Sep 20, 2016 at 10:30 PM, Andreas Müller wrote: > works around: > /ld: error: Gperf-simple.o: cannot make copy relocation for > protected symbol '_Uarm_local_addr_space', defined in > ../src/.libs/libunwind-arm.so > collect2: error: ld returned 1 exit

[OE-core] [PATCH] lttng-tools: fix ptest

2016-09-22 Thread Nathan Lynch
Since the upgrade to 2.8, lttng-tools' test harness silently succeeds but doesn't actually run the tests. This is because upstream made some changes in their test harness: https://github.com/lttng/lttng-tools/commit/83666813cad3142ceccb929ca9b44d0e9cf53bc8 Updates to address this include: -

[OE-core] [PATCH] pseudo: Fix problem where pseudo could kill a container init

2016-09-22 Thread Mark Hatle
In a heavily loaded container, the child process might not started before the parent process had terminated. The child process attempts to signal the parent with SIGUSR1. If the parent had terminated, the parent becomes PID 1, which is generally init. When it signaled pid 1, it caused the

Re: [OE-core] [PATCH 2/2] scons.bbclass: reduce build time by adding PARALLEL_MAKEINST to scons install params

2016-09-22 Thread Andreas Müller
On Wed, Sep 21, 2016 at 11:06 AM, Burton, Ross wrote: > > On 21 September 2016 at 06:30, Andreas Müller > wrote: >> >> During install all files are recompiled. This should be investigated >> further >> later > > > I'd put (pretend) money on it

Re: [OE-core] [PATCH 1/2] libunwind: fix build by linking with bfd instead of gold

2016-09-22 Thread Martin Jansa
On Wed, Sep 21, 2016 at 07:30:43AM +0200, Andreas Müller wrote: > works around: > /ld: error: Gperf-simple.o: cannot make copy relocation for > protected symbol '_Uarm_local_addr_space', defined in > ../src/.libs/libunwind-arm.so > collect2: error: ld returned 1 exit status > Makefile:1038:

Re: [OE-core] rm_work + pybootchart enhancements

2016-09-22 Thread Christopher Larson
On Thu, Sep 22, 2016 at 5:52 AM, Patrick Ohly wrote: > On Wed, 2016-09-21 at 18:08 +0200, Martin Jansa wrote: > > On Wed, Sep 21, 2016 at 05:39:02PM +0200, Patrick Ohly wrote: > > > Test script attached. I only ran this once, so I can't vouch that the > > > numbers are

Re: [OE-core] -c menuconfig stopped working in master

2016-09-22 Thread Renato Caldas
2016-06-09 20:58 GMT+01:00 Leonardo Sandoval : > Yes, this is related to the python3 change. I have a patch, I will send it > asap. Hi, any news on this? > On 06/09/2016 01:43 PM, Trevor Woerner wrote: >> >> It appears "bitbake virtual/kernel -c

[OE-core] [PATCH 00/60] krogoth-next staged

2016-09-22 Thread Armin Kuster
These are the changes I have staged. The last 17 changes have not be run on the AB. We are working throught build issues on mips64. The following changes since commit 8c69f7d56cbd496aa01ba0738675a170826a536b: bitbake: lib/bb/tests/fetch: remove URL that doesn't exist anymore (2016-09-13

Re: [OE-core] [PATCH] [krogoth] Fixes several python3 dependencies

2016-09-22 Thread Alejandro Hernandez
Hey Armin, I just gave it another try and I got no errors, python manifests patches may cause problems sometimes because some lines may be longer than 998 characters, could you try merging it from my contrib branch?

[OE-core] [PATCH] cmake-native: prefer native sysroot libraries over host

2016-09-22 Thread Ross Burton
Explicitly set CMAKE_LIBRARY_PATH so that find_library() looks in the native sysroot before the host. Also pass --verbose to configure which sets CMAKE_VERBOSE_MAKEFILE for detailed compile logs. Signed-off-by: Ross Burton ---

Re: [OE-core] [PATCH] [krogoth] Fixes several python3 dependencies

2016-09-22 Thread akuster808
Alejandro, On 09/21/2016 02:10 PM, Alejandro Hernandez wrote: This patch adds the packages python3-signal, python3-enum and python3-selectors, while it also fixes python3-subprocess, this fixes the installation of python3-modules I can not get this to apply to my krogoth-next nor krogoth in

Re: [OE-core] [PATCH][krogoth] qemu: CVE-2016-3710

2016-09-22 Thread akuster808
On 09/21/2016 01:10 AM, Sona Sarmadi wrote: Fixes an out-of-bounds read/write access flaw which was found in the way QEMU's VGA emulation with VESA BIOS Extensions (VBE) support performed read/write operations using I/O port methods. A privileged guest user could use this flaw to execute

Re: [OE-core] [PATCH v4] bind: 9.10.3-P3 -> 9.11.0b2

2016-09-22 Thread Burton, Ross
On 22 September 2016 at 02:36, Wang, Xin wrote: > ping > Sorry, this missed the M3 cutoff for features so will have to wait for master to open again (after 2.3 release). Ross -- ___ Openembedded-core mailing list

Re: [OE-core] [PATCH 1/1] rpm: make install with --nosignature and --nodigest work

2016-09-22 Thread Mark Hatle
On 9/21/16 8:39 PM, Robert Yang wrote: > > > On 09/21/2016 10:10 PM, Mark Hatle wrote: >> On 9/20/16 10:37 PM, Robert Yang wrote: >>> >>> >>> On 09/21/2016 04:33 AM, Mark Hatle wrote: On 9/20/16 10:00 AM, Burton, Ross wrote: > > On 20 September 2016 at 09:15, Hongxu Jia

[OE-core] [PATCH 1/2] runqemu: Move virtio RNG to machine configuration

2016-09-22 Thread Nathan Rossi
Not all QEMU machines (outside of those available in OE-Core) are capable of using the virtio-rng-pci device due to various machine models not having a pci/virtio bus. This makes it such that the use of the '-device virtio-rng-pci' flag to QEMU is machine specific. This patch removes the general

[OE-core] [PATCH 2/2] scripts/runqemu: Using a cpio* rootfs has no special network

2016-09-22 Thread Nathan Rossi
When booting a system with the rootfs being of cpio* type the networking setup should still work the same as for all other root filesystem types. This change removes the clearing of the NETWORK_CMD variable allowing for the slirp/tap setup to be provided to QEMU. Signed-off-by: Nathan Rossi

[OE-core] [PATCH] bitbake.conf: add a lazy default for SDKMACHINE

2016-09-22 Thread Ross Burton
If the user doesn't set SDKMACHINE in their local.conf then uninative and buildtools will fail in obscure ways, so ensure that a default value is set. Also as SDK_ARCH will be overritten then loading the machine-sdk configuration file, don't bother assigning it. Signed-off-by: Ross Burton

[OE-core] [PATCH 2/2] buildtools-tarball: improve stamp independence

2016-09-22 Thread Joshua Lock
buildtools-tarball shouldn't be regenerated when MACHINE changes, nor should variants for other SDKMACHINE be removed from the deploy directory when SDKMACHINE changes. Remove target architecture dependencies so that deploy artefacts can overlap. Signed-off-by: Joshua Lock

[OE-core] [PATCH 1/2] toolchain-scripts-base: add base class for toolchain_create_sdk_version

2016-09-22 Thread Joshua Lock
We use toolchain_create_sdk_version() in buildtools-tarball but don't want the extra classes toolchain-scripts pulls in, therefore split out a separate base class for this function which both toolchain-scripts and the buildtools-tarball can inherit. Signed-off-by: Joshua Lock

Re: [OE-core] rm_work + pybootchart enhancements

2016-09-22 Thread Patrick Ohly
On Wed, 2016-09-21 at 18:08 +0200, Martin Jansa wrote: > On Wed, Sep 21, 2016 at 05:39:02PM +0200, Patrick Ohly wrote: > > Test script attached. I only ran this once, so I can't vouch that the > > numbers are stable. I remember reading about a benchmark wrapper which > > can run such a test script

[OE-core] [PATCH] gstreamer1.0-libav: Add 'valgrind' config option

2016-09-22 Thread Otavio Salvador
This fixes following error: , | src/libavutil/log.c:51:31: fatal error: valgrind/valgrind.h: No such file or directory | #include ` Signed-off-by: Otavio Salvador --- meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc | 1 + 1 file changed, 1

[OE-core] [PATCH 0/1] xserver-xorg: fix qa warnings

2016-09-22 Thread kai.kang
From: Kai Kang The following changes since commit 3c1807e2d85b2b6147c113645af85fc3d73c9928: uninative-tarball: Make stamp independent (2016-09-22 00:24:56 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib kangkai/xorg

[OE-core] [PATCH 1/1] xserver-xorg: fix qa warnings

2016-09-22 Thread kai.kang
From: Kai Kang When build lib32-xserver-xorg it has qa warning: | WARNING: lib32-xserver-xorg-2_1.18.4-r0 do_package_qa: QA Issue: | Package lib32-xf86-video-modesetting contains Xorg driver | (modesetting_drv.so) but no xorg-abi- dependencies [xorg-driver-abi] The qa

Re: [OE-core] [PATCH v2] Remove bashisms

2016-09-22 Thread Burton, Ross
On 22 September 2016 at 10:33, wrote: > -if type systemctl >/dev/null 2>/dev/null; then > +if command -p systemctl >/dev/null 2>/dev/null; then This doesn't do what you want: $ type whoami ; echo $? whoami is /usr/bin/whoami 0 $ type foobar; echo $? -bash: type: foobar:

[OE-core] [wic][PATCH] wic: remove partition images

2016-09-22 Thread Ed Bartosh
Preserving images for every partition doubles disk space consumed by a build. As those images are not used it's better to remove them after assembling final image. Signed-off-by: Ed Bartosh --- scripts/lib/wic/utils/partitionedfs.py | 2 +- 1 file changed, 1

[OE-core] [PATCH v2] Remove bashisms

2016-09-22 Thread zhe.he
From: "Tim K. Chan" Signed-off-by: Tim K. Chan [ Adjust context Use Peter Kjellerstedt's simpler guile_cross_config ] Signed-off-by: He Zhe --- meta/classes/systemd.bbclass | 4 +--

Re: [OE-core] Terminating matchbox window manager leads to DRM lockups

2016-09-22 Thread Shrikant Bobade
Hi, @Ping Please advise further pointers if any. Thanks Shrikant On Thu, Aug 25, 2016 at 8:13 PM, srikanth krishnakar wrote: > Hello All, > > I am building latest yocto with core-image-sato and noticed that matchbox > session or its relative apps are using kernel

Re: [OE-core] [PATCH v2] libunwind: add aarch64 support

2016-09-22 Thread Fathi Boudra
On 22 September 2016 at 11:56, Fathi Boudra wrote: > On 20 September 2016 at 17:21, Randy MacLeod > wrote: >> On 2016-09-20 07:57 AM, Fathi Boudra wrote: >>> >>> Hi, >>> >>> On 20 September 2016 at 05:12, ChenQi >>

Re: [OE-core] [PATCH v2] libunwind: add aarch64 support

2016-09-22 Thread Fathi Boudra
On 20 September 2016 at 17:21, Randy MacLeod wrote: > On 2016-09-20 07:57 AM, Fathi Boudra wrote: >> >> Hi, >> >> On 20 September 2016 at 05:12, ChenQi > > wrote: >>> >>> On 09/26/2014 05:59 PM, Fathi Boudra wrote:

Re: [OE-core] [PATCH] bash2dash conversion

2016-09-22 Thread He Zhe
On 09/19/2016 08:07 PM, Burton, Ross wrote: > > On 19 September 2016 at 12:57, Peter Kjellerstedt > >wrote: > > > ++mem_exists="`grep > "^$groupname:[!:]*:[!:]*:\([!,]*,\)*$username\(,[!,]*\)*"$rootdir/etc/group

Re: [OE-core] [PATCH] bash2dash conversion

2016-09-22 Thread He Zhe
On 09/19/2016 07:57 PM, Peter Kjellerstedt wrote: >> -Original Message- >> From: openembedded-core-boun...@lists.openembedded.org >> [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of >> zhe...@windriver.com >> Sent: den 18 september 2016 04:52 >> To:

Re: [OE-core] [PATCH] ruby: 2.2.5 -> 2.3.1

2016-09-22 Thread Burton, Ross
This upgrade missed the M3 window which was the last time that upgrades are acceptable, so it will have to wait until after the 2.2 release. Ross On 22 September 2016 at 02:39, Wang, Xin wrote: > ping > > -Original Message- > From: Wang, Xin/王 鑫 > Sent:

[OE-core] [PATCH][v2] wpa_supplicant: Security Advisory-CVE-2016-4476

2016-09-22 Thread Zhixiong Chi
Add CVE-2016-4476 patch for avoiding \n and \r characters in passphrase parameters, which allows remote attackers to cause a denial of service (daemon outage) via a crafted WPS operation. Patches came from http://w1.fi/security/2016-1/ Signed-off-by: Zhixiong Chi ---

[OE-core] [PATCH][v2] wpa_supplicant: Security Advisory-CVE-2016-4477

2016-09-22 Thread Zhixiong Chi
Add CVE-2016-4477 patch for avoiding \n and \r characters in passphrase parameters, which allows remote attackers to cause a denial of service (daemon outage) via a crafted WPS operation. Patches came from http://w1.fi/security/2016-1/ Signed-off-by: Zhixiong Chi ---

Re: [OE-core] [wic][PATCH] wic: add beaglebone.wks

2016-09-22 Thread Ed Bartosh
Please, ignore this patch. It's not needed as fully functional image can be built using existing wks file sdimage-bootpart.wks On Wed, Sep 21, 2016 at 06:18:12PM +0300, Ed Bartosh wrote: > Added wks to make an image for Beaglebone board. > > Signed-off-by: Ed Bartosh

Re: [OE-core] [wic][PATCH] wic: add beaglebone.wks

2016-09-22 Thread Ed Bartosh
On Wed, Sep 21, 2016 at 06:34:33PM +0200, Maciej Borzęcki wrote: > On Wed, Sep 21, 2016 at 5:18 PM, Ed Bartosh > wrote: > > Added wks to make an image for Beaglebone board. > > > > Signed-off-by: Ed Bartosh > > --- > >