[OE-core] [PATCH] image.py: Fix error in graph sorting

2014-10-24 Thread Pascal Bach
The graph sorting algorithm for image dependencies does a look for an occurrence of a searched string instead of comparing the chunk to the searched string. This leads to the problem that ubifs is recognized as ubi aswell. This fixes this by splitting up the string into chunks. Signed-off-by:

Re: [OE-core] [WIP][PATCH] systemd: don't move libgudev around, it breaks libgudev-1.0.la

2014-10-24 Thread Martin Jansa
On Sat, Oct 04, 2014 at 04:30:40AM +0200, Martin Jansa wrote: On Sat, Oct 04, 2014 at 04:27:55AM +0200, Martin Jansa wrote: * libgudev-1.0.la still references /usr/lib and this change was breaking gypsy (detected in navit) and network-manager-applet sending as WIP mostly because I

Re: [OE-core] [PATCH 0/4] Clean host path in target scripts

2014-10-24 Thread wenzong fan
Drop the patches - Mistaken Signatures. Wenzong On 10/22/2014 09:46 AM, wenzong@windriver.com wrote: From: Wenzong Fan wenzong@windriver.com Clean host path for: * /usr/bin/crossscripts/tclConfig.sh * /usr/bin/isc-config.sh * /usr/bin/bind9-config - hardlink to isc-config.sh

[OE-core] [PATCH 0/1] curl: Security Advisory - curl - CVE-2014-3613

2014-10-24 Thread Chong Lu
The following changes since commit ad065f94acb0bfb81e33935890a1db251d6e2979: ref-manual: Minor edits to variables. (2014-10-23 15:20:20 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib chonglu/curl

[OE-core] [PATCH 1/1] curl: Security Advisory - curl - CVE-2014-3613

2014-10-24 Thread Chong Lu
By not detecting and rejecting domain names for partial literal IP addresses properly when parsing received HTTP cookies, libcurl can be fooled to both sending cookies to wrong sites and into allowing arbitrary sites to set cookies for others. Signed-off-by: Chong Lu chong...@windriver.com ---

[OE-core] Discussion about architecure of ptest-runner patch

2014-10-24 Thread Markus Boos
Hi We patched the ptest-runner script to deliver a xUnit file as a rough overview/indicator over the package tests. Having such a report allows us to use the file in Jenkins and in our ALM tool to display the results of the ptest run. Before we send the patch upstream I like to start the

Re: [OE-core] [WIP][PATCH] systemd: don't move libgudev around, it breaks libgudev-1.0.la

2014-10-24 Thread Burton, Ross
On 24 October 2014 10:04, Martin Jansa martin.ja...@gmail.com wrote: Should I resend without WIP tag now when ChenQi confirmed that moving libgudev isn't needed? No need, I've merged it into my staging branch already. Thanks, Ross -- ___

Re: [OE-core] [PATCH V3] opkg: Call prerm and postrm scripts on package upgrade.

2014-10-24 Thread Paul Barker
On 22 October 2014 23:54, Burton, Ross ross.bur...@intel.com wrote: On 21 October 2014 16:40, Paul Barker p...@paulbarker.me.uk wrote: Sorry Peter, it looks like this patch has been corrupted as well as the one sent to the opkg-devel list. In this case I think it's mostly lines like the

Re: [OE-core] [PATCH V2 1/1] kmod: fix debuginfo is missing in shared library

2014-10-24 Thread Burton, Ross
On 24 October 2014 07:25, Chong Lu chong...@windriver.com wrote: +++ b/meta/recipes-kernel/kmod/kmod/run-ptest @@ -1,3 +1,4 @@ #!/bin/sh touch testsuite/stamp-rootfs +tar xf testmodule.tar make -k runtest-TESTS 2/dev/null| grep -e ^PASS -e ^FAIL We should to make sure that the ptest

Re: [OE-core] [PATCH 1/1] ldconfig-native: fix a endian-ness bug

2014-10-24 Thread Burton, Ross
On 24 October 2014 07:05, Shan Hai shan@windriver.com wrote: Some header fields of ELF were read with wrong size on 64bit big-endian machine, fix it by reading the fields with read64 instead of read32. For fixes like this which set of all sorts of alarm bells, please include more

Re: [OE-core] [PATCH] image.py: Fix error in graph sorting

2014-10-24 Thread Laurentiu Palcu
On Fri, Oct 24, 2014 at 09:41:10AM +0200, Pascal Bach wrote: The graph sorting algorithm for image dependencies does a look for an occurrence of a searched string instead of comparing the chunk to the searched string. This leads to the problem that ubifs is recognized as ubi aswell. This

Re: [OE-core] [PATCH V3] opkg: Call prerm and postrm scripts on package upgrade.

2014-10-24 Thread Andreas Oberritter
On 24.10.2014 12:49, Paul Barker wrote: On 22 October 2014 23:54, Burton, Ross ross.bur...@intel.com wrote: On 21 October 2014 16:40, Paul Barker p...@paulbarker.me.uk wrote: Sorry Peter, it looks like this patch has been corrupted as well as the one sent to the opkg-devel list. In this case

Re: [OE-core] [PATCH] Better support for upgrading packages in opkg and update-rc.d.bbclass

2014-10-24 Thread Andreas Oberritter
On 22.10.2014 16:42, Peter Urbanec wrote: Sorry for being slow to respond, I've been snowed under and dealing with hardware failures :-( I'll be brief... On 17/10/14 07:55, Andreas Oberritter wrote: What happens when generating rpm (and since few days deb) packages is that code gets

[OE-core] [PATCH] gcc: poison default sysroot path

2014-10-24 Thread Richard Purdie
Various pieces of the code assume that the --sysroot option gets passed into the compiler tools. By having a sane default, we don't always spot when this occurs and this can later show up as breakage in sstate, or in usage of the external toolchain. We've long since talked about poisoning the

[OE-core] [PATCH] rm_work: Speed up rootfs/populate_sdk removal

2014-10-24 Thread Richard Purdie
Commands like bitbake X -c rootfs or bitbake X -c populate_sdk do not trigger rm_work to clean up the directories afterwards since it traditionally hooks onto do_build. This change means those two tasks now clean up after themselves. We use the cleandirs function attribute to handle this. [YOCTO

[OE-core] [PATCH] autotools: Use make clean for builds not supporting B != S

2014-10-24 Thread Richard Purdie
If the build doesn't support B != S, we can try running make clean instead to try and clean up previous objects if the hash for the task has changed. This tries to ensure that when variables like ${baselib} change, the changes are correctly accounted for. Signed-off-by: Richard Purdie

[OE-core] [PATCH] base.bbclass: Enable using 'make clean' for rebuilds

2014-10-24 Thread Richard Purdie
When something rebuilds say due to ${baselib} changing or some other key variable, software is often not rebuilt due to the fact that make detects no dependency change. By running make clean when these changes occur, we can at least try and ensure the correct rebuilds happen. We use the same

[OE-core] [PATCH] cmake: Try and improve cleaning of builds when B==S

2014-10-24 Thread Richard Purdie
Currently if B==S for a cmake recipe, the build will not reconfigure. This patch adds code to remove the generated cmake files, meaning cmake will then be forced to regenerate them. This forces cmake to see configuration changes it may not otherwise see. Signed-off-by: Richard Purdie

[OE-core] [PATCH] wpa_supplicant: Improve rebuild handling

2014-10-24 Thread Richard Purdie
Due to the split level nature of the wpa_suppliant sources, the standard clean methods don't work. This change ensures it picks up on changes to configuration. Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org diff --git

[OE-core] [PATCH] gnu-config/hicolor-icon-theme: Deal with make clean breakage

2014-10-24 Thread Richard Purdie
These pieces of software can;t cope with a make clean so disable that newly enabled functionality. Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb

Re: [OE-core] [PATCH] cmake: Try and improve cleaning of builds when B==S

2014-10-24 Thread Bach, Pascal
Just a note it should be sufficient to delete the CMakeCache.txt file to force CMake to reconfigure. But deleting the rest doesn't hurt. Pascal -Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On

[OE-core] [PATCH] gnu-config: Deal with make clean breakage

2014-10-24 Thread Richard Purdie
gnu-config can't cope with a make clean so disable that newly enabled functionality. Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb b/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb index

Re: [OE-core] [PATCH] gnu-config: Deal with make clean breakage

2014-10-24 Thread Paul Eggleton
Hi Richard, On Friday 24 October 2014 15:56:25 Richard Purdie wrote: gnu-config can't cope with a make clean so disable that newly enabled functionality. Signed-off-by: Richard Purdie richard.pur...@linuxfoundation.org diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20120814.bb

[OE-core] [PATCH] udev: fix uevent-helper disable

2014-10-24 Thread Johan Hovold
Make sure that /proc/sys/kernel/hotplug exists before trying to disable the uevent-helper mechanism. Since kernel commit 86d56134f1b6 (kobject: Make support for uevent_helper optional.) the kernel can be built without uevent-helper support. In this case /proc/sys/kernel/hotplug does not exist and

[OE-core] [PATCH 2/2] mklibs: Fix loader for mipsel

2014-10-24 Thread Khem Raj
Additionally treat ld.so to be searched in sysroot Change-Id: I8b4acb821d9855a1163c7149bc8e369c7c438856 Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/classes/image-mklibs.bbclass | 2 +- .../recipes-devtools/mklibs/files/sysrooted-ldso.patch | 18 ++

[OE-core] [PATCH 1/2] glibc: Delete ldconfig when USE_LDCONFIG is not set

2014-10-24 Thread Khem Raj
This avoids below QA error/warning /sbin/ldconfig [installed-vs-shipped] Change-Id: I028b692eefeaa6e0e0e6507ab4108caa29e41e91 Signed-off-by: Khem Raj raj.k...@gmail.com --- meta/recipes-core/glibc/glibc-package.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [OE-core] [PATCH 1/1] ldconfig-native: fix a endian-ness bug

2014-10-24 Thread Khem Raj
On Fri, Oct 24, 2014 at 4:43 AM, Burton, Ross ross.bur...@intel.com wrote: On 24 October 2014 07:05, Shan Hai shan@windriver.com wrote: Some header fields of ELF were read with wrong size on 64bit big-endian machine, fix it by reading the fields with read64 instead of read32. For fixes

Re: [OE-core] [PATCH] gnu-config: Deal with make clean breakage

2014-10-24 Thread Richard Purdie
On Fri, 2014-10-24 at 16:24 +0100, Paul Eggleton wrote: On Friday 24 October 2014 15:56:25 Richard Purdie wrote: diff --git a/meta/recipes-devtools/gnu-config/gnu-config_git.bb b/meta/recipes-devtools/gnu-config/gnu-config_git.bb index 00fa759..ee1621f 100644 ---

Re: [OE-core] [PATCH 1/1] curl: Security Advisory - curl - CVE-2014-3613

2014-10-24 Thread Burton, Ross
On 24 October 2014 10:20, Chong Lu chong...@windriver.com wrote: meta/recipes-support/curl/curl/CVE-2014-3613.patch | 269 + ERROR: Command Error: exit status: 1 Output: Applying patch CVE-2014-3613.patch patching file lib/cookie.c patching file tests/data/test1105

Re: [OE-core] Discussion about architecure of ptest-runner patch

2014-10-24 Thread Tudor Florea
Hi, -Original Message- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Markus Boos Sent: Friday, October 24, 2014 12:37 To: 'openembedded-core@lists.openembedded.org' Subject: [OE-core] Discussion about