[OE-core] [PATCH 1/2] testimage: Support full TC path such oeqa.runtime.pnp.get_memory_size in TEST_SUITES

2015-06-23 Thread zjh
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7834 If a TC name start with "oeqa", it is thought as a full TC path. if not, follow original logic (assume under oeqa.runtime), and this case will be7 load by loadTests. for example: TEST_SUITES = "oeqa.runtime.pnp.get_memory_size oeqa.runtim

Re: [OE-core] [PATCH] libsdl2: PACKAGECONFIGize

2015-06-23 Thread Andreas Müller
On Fri, Jun 12, 2015 at 10:50 PM, Andreas Müller wrote: > * DEPENDS + EXTRA_OECONF -> PACKAGECONFIG for directfb / opengl / x11 > * added PACKAGECONFIG for gles2 / pulseaudio / tslib / wayland > > Signed-off-by: Andreas Müller > --- > meta/recipes-graphics/libsdl2/libsdl2_2.0.3.bb | 39 > ++

[OE-core] [PATCH] Display Runned Task in verbose mode

2015-06-23 Thread fabien . proriol
From: Fabien Proriol It can be usefull to list task order with bitbake -n -v --- bitbake/lib/bb/ui/knotty.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 2bee242..2a6f175 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbak

[OE-core] [wic][PATCH 0/6] Implemented image compressing: poky-contrib:ed/wic/compress-with

2015-06-23 Thread Ed Bartosh
Hi reviewers, This patchset adds --compress-with command line option to 'wic create'. It supports gzip, bzip2 and xz compressors. Test cases for this funtionality are also included. As always I couldn't resist making small code cleanup change while working on this. Included that as well. Fixes

[OE-core] [wic][PATCH 3/6] wic: Add new argument to direct plugin

2015-06-23 Thread Ed Bartosh
Added 'compressor' argument to Direct plugin API to pass a name of compressor utility. Signed-off-by: Ed Bartosh diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py index 047c40d..d5c34b4 100644 --- a/scripts/lib/image/engine.py +++ b/scripts/lib/image/engine.py @@ -217,6 +217

[OE-core] [wic][PATCH 5/6] wic: Make code more pythonic

2015-06-23 Thread Ed Bartosh
Used more pythonic way to make a list. Signed-off-by: Ed Bartosh diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py index d5c34b4..47950f8 100644 --- a/scripts/lib/image/engine.py +++ b/scripts/lib/image/engine.py @@ -216,23 +216,13 @@ def wic_create(wks_file, rootfs_dir, boo

[OE-core] [wic][PATCH 1/6] wic: Add --compress-with command line option

2015-06-23 Thread Ed Bartosh
Added -c/--compress-with command line option to 'wic create' subcommand. This option is used to specify compressor utility to compress the image produced by wic. gzip, bzip2 and xz compressors are supported in this implementation. Signed-off-by: Ed Bartosh diff --git a/scripts/lib/image/help.py

[OE-core] [wic][PATCH 4/6] wic: Implement image compressing

2015-06-23 Thread Ed Bartosh
Implemented compressing result image with specified compressor. Updated reporting code to show compressed image. [YOCTO #7593] Signed-off-by: Ed Bartosh diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index f3f20e0..2ea7e4e 100644 --- a/scripts/lib/wic/imager/di

[OE-core] [wic][PATCH 2/6] wic: Add new argument to wic_create function

2015-06-23 Thread Ed Bartosh
Added 'compressor' argument to wic_create to pass a name of compressor utility to the wic engine. Signed-off-by: Ed Bartosh diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py index 29099ee..047c40d 100644 --- a/scripts/lib/image/engine.py +++ b/scripts/lib/image/engine.py @@

[OE-core] [wic][PATCH 6/6] wic: oe-selftest: Test image compressing

2015-06-23 Thread Ed Bartosh
Added 4 new testcases for 'wic --compress-with ' functionality. Signed-off-by: Ed Bartosh diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index 47b70fd..5385562 100644 --- a/meta/lib/oeqa/selftest/wic.py +++ b/meta/lib/oeqa/selftest/wic.py @@ -103,3 +103,33 @@ class Wi

Re: [OE-core] [PATCH v2][fido 1/4] runqemu: fix MACHINE being detected as qemuarm for qemuarm64 kernel image

2015-06-23 Thread Jagadeesh Krishnanjanappa
ping Regards, Jagadeesh On Tue, Jun 16, 2015 at 4:18 PM, Jagadeesh Krishnanjanappa < jkrishnanjana...@mvista.com> wrote: > Basically, runqemu script autodetects MACHINE type based on the > kernel image name; if MACHINE name is not specified. Since 'qemuarm' > string is common in both qemuarm amn

Re: [OE-core] [PATCH v2][fido 3/4] runqemu-internal: add support to boot arm64 qemu target via NFS

2015-06-23 Thread Jagadeesh Krishnanjanappa
ping. Regards, Jagadeesh On Tue, Jun 16, 2015 at 4:18 PM, Jagadeesh Krishnanjanappa < jkrishnanjana...@mvista.com> wrote: > Add required boot parameters inorder to boot arm64 qemu > target via NFS > > Signed-off-by: Jagadeesh Krishnanjanappa > --- > scripts/runqemu-internal | 9 + > 1

Re: [OE-core] [PATCH v2][fido 2/4] runqemu-script: define console for qemuarm NFS booting

2015-06-23 Thread Jagadeesh Krishnanjanappa
ping. Regards, Jagadeesh On Tue, Jun 16, 2015 at 4:18 PM, Jagadeesh Krishnanjanappa < jkrishnanjana...@mvista.com> wrote: > Add console=ttyAMA0,115200 as one of the boot parameters > for qemuarm, in order to print bootlog messages on the > console. > > Signed-off-by: Jagadeesh Krishnanjanappa >

Re: [OE-core] [PATCH v2][fido 4/4] runqemu-internal: set mutual exclusiveness for serial and nographic options

2015-06-23 Thread Jagadeesh Krishnanjanappa
ping. Regards, Jagadeesh On Tue, Jun 16, 2015 at 4:18 PM, Jagadeesh Krishnanjanappa < jkrishnanjana...@mvista.com> wrote: > Use "-nographic" option only if "serial" option is not > specified. Otherwise we get below error when > 'runqemu serial' is executed, > > (snip) > QEMU 2.2.0 monitor - ty

Re: [OE-core] [PATCH v2][fido 1/4] runqemu: fix MACHINE being detected as qemuarm for qemuarm64 kernel image

2015-06-23 Thread Burton, Ross
These were literally just merged into master. Ross On 23 June 2015 at 11:57, Jagadeesh Krishnanjanappa < jkrishnanjana...@mvista.com> wrote: > ping > > Regards, > Jagadeesh > > On Tue, Jun 16, 2015 at 4:18 PM, Jagadeesh Krishnanjanappa < > jkrishnanjana...@mvista.com> wrote: > >> Basically, runq

[OE-core] [PATCH] testimage: Handle ipk/deb packaging format tests correctly

2015-06-23 Thread Richard Purdie
The default test list only works for rpm packaging. This fixes it for deb and ipk too. Signed-off-by: Richard Purdie diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 4074ff7..ddacd1f 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclas

Re: [OE-core] [wic][PATCH 4/6] wic: Implement image compressing

2015-06-23 Thread Philip Balister
Can you add a way to enable multiple threads for xz? I found this helps speed up file creation. Philip On 06/23/2015 05:53 AM, Ed Bartosh wrote: > Implemented compressing result image with specified compressor. > Updated reporting code to show compressed image. > > [YOCTO #7593] > > Signed-off-

Re: [OE-core] [PATCH][v4] mmc-utils: fix the building failure when DEBUG_BUILD is 1

2015-06-23 Thread Burton, Ross
On 3 June 2015 at 02:24, wrote: > +CFLAGS += "-U_FORTIFY_SOURCE" > So Richard made the valid point that this is disabling the security flags in mmc-utils globally to fix builds in the very few cases when DEBUG_BUILD is enabled. Would it be sensible to have an include file that enables DEBUG_BUI

Re: [OE-core] [PATCH] libsdl2: PACKAGECONFIGize

2015-06-23 Thread Andreas Müller
On Tue, Jun 23, 2015 at 10:39 AM, Andreas Müller wrote: > ping thanks - had not the correct timing Andreas -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

[OE-core] [PATCH] apt-native: Drop obsolete symlinks

2015-06-23 Thread Richard Purdie
Apt no longer uses GLIBC_VER and LIBSTDCPP_VER variables nor appears to need these odd symlinks. The variables expand to empty enties which then create symlinks which loop back on themselves. To fix, drop the obsolete code. Signed-off-by: Richard Purdie diff --git a/meta/recipes-devtools/apt/ap

[OE-core] [PATCH 4/6] bluez5: fix lib/libexecdir confusion

2015-06-23 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-connectivity/bluez5/bluez5.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index ae9402f..0fe5be5 100644 --- a/meta/recipes-connecti

[OE-core] [PATCH 3/6] bitbake: set libexecdir to prefix/libexec

2015-06-23 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/conf/bitbake.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index d42cd55..97ae0ef 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -38,7 +38,7 @@ export systemd_un

[OE-core] [PATCH 5/6] weston: fix libdir/libexecdir confusion

2015-06-23 Thread Ross Burton
Weston installs files into $libdir/weston and $libexecdir which may not be identical, so ensure both get packaged. Signed-off-by: Ross Burton --- meta/recipes-graphics/wayland/weston_1.6.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/wayland/weston

[OE-core] [PATCH 2/6] neard: remove libexec hacks

2015-06-23 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-connectivity/neard/neard.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/neard/neard.inc b/meta/recipes-connectivity/neard/neard.inc index 4042a69..4ecfd69 100644 --- a/meta/recipes-connectivity/neard/n

[OE-core] [RFC] Move libexecdir to $prefix/libexec

2015-06-23 Thread Ross Burton
Hi, Yes, I'm bringing this up again. :) Our default of libexecdir=$libdir/$BPN is contrary to both the FHS[1] and GNU Coding Standards[2], mainly because the key point is that libexecdir should be global and not change per-recipe. The new FHS allows /usr/libexec so this series changes the defaul

[OE-core] [PATCH 1/6] eglibc: WIP fix paths for libexec

2015-06-23 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-core/glibc/glibc-package.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc index 984362e..2425c82 100644 --- a/meta/recipes-core/glibc/glibc-pac

[OE-core] [PATCH 6/6] sudo: fix libdir/libexecdir confusion

2015-06-23 Thread Ross Burton
Signed-off-by: Ross Burton --- meta/recipes-extended/sudo/sudo.inc | 3 +++ meta/recipes-extended/sudo/sudo_1.8.13.bb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc index cdee6bb..0da30e2 10064

Re: [OE-core] [RFC] Move libexecdir to $prefix/libexec

2015-06-23 Thread Burton, Ross
Forgot to cross-post oe-devel... On 23 June 2015 at 15:30, Ross Burton wrote: > Hi, > > Yes, I'm bringing this up again. :) > > Our default of libexecdir=$libdir/$BPN is contrary to both the FHS[1] and > GNU > Coding Standards[2], mainly because the key point is that libexecdir > should be > glo

[OE-core] [dizzy][PATCH] openssl: upgrade to v1.0.1o

2015-06-23 Thread Hugo Vasconcelos Saldanha
The upgrade fixes the following CVEs: CVE-2015-4000 CVE-2015-1788 CVE-2015-1789 CVE-2015-1790 CVE-2015-1792 CVE-2015-1791 A patch was updated so it could be applied cleanly to the new version. Signed-off-by: Hugo Vasconcelos Saldanha --- .../openssl/openssl/debian/man-section.patch

Re: [OE-core] [PATCH 3/3] rpm: Generate per distribution and multilib macro files

2015-06-23 Thread Richard Purdie
On Wed, 2015-06-17 at 12:04 -0500, Mark Hatle wrote: > The distribution and multilib macro files are required for rpmbuild, on the > target, to work properly. These override the default settings from the > upstream macro files with the proper values for the OE configuration. > > Signed-off-by: Ma

Re: [OE-core] [PATCH] pixbufcache: Ensure that jpeg-native is available for postinst if necessary

2015-06-23 Thread Phil Blundell
On Sat, 2015-06-13 at 19:44 +0100, Mike Crowe wrote: > diff --git a/meta/classes/pixbufcache.bbclass > b/meta/classes/pixbufcache.bbclass > index 9e6ecc8..755a654 100644 > --- a/meta/classes/pixbufcache.bbclass > +++ b/meta/classes/pixbufcache.bbclass > @@ -72,6 +72,7 @@ PIXBUFCACHE_SYSROOT_DEPS_c

Re: [OE-core] [PATCH] pixbufcache: Ensure that jpeg-native is available for postinst if necessary

2015-06-23 Thread Richard Purdie
On Tue, 2015-06-23 at 16:12 +0100, Phil Blundell wrote: > On Sat, 2015-06-13 at 19:44 +0100, Mike Crowe wrote: > > diff --git a/meta/classes/pixbufcache.bbclass > > b/meta/classes/pixbufcache.bbclass > > index 9e6ecc8..755a654 100644 > > --- a/meta/classes/pixbufcache.bbclass > > +++ b/meta/classe

[OE-core] [PATCH] tune-i586-nlp: Add new tune file to support Quark/X1000 CPU

2015-06-23 Thread Saul Wold
This tune file is needed to enable a GAS option specific to this cpu family in order to disable the usage of lock prefix instructions. Signed-off-by: Saul Wold --- meta/conf/machine/include/tune-i586-nlp.inc | 20 1 file changed, 20 insertions(+) create mode 100644 meta/con

Re: [OE-core] [PATCH] pixbufcache: Ensure that jpeg-native is available for postinst if necessary

2015-06-23 Thread Mike Crowe
On Tuesday 23 June 2015 at 16:12:26 +0100, Phil Blundell wrote: > On Sat, 2015-06-13 at 19:44 +0100, Mike Crowe wrote: > > diff --git a/meta/classes/pixbufcache.bbclass > > b/meta/classes/pixbufcache.bbclass > > index 9e6ecc8..755a654 100644 > > --- a/meta/classes/pixbufcache.bbclass > > +++ b/met

[OE-core] [PATCH v5 0/2] cmake: Upgrade 2.8.12.2 -> 3.2.2

2015-06-23 Thread Moritz Blume
The changes to the cmake.bbclass file were removed, the absolute compiler path is not necessary. Moritz Blume (2): cmake: Whitespace fix cmake: Upgrade 2.8.12.2 -> 3.2.2 meta/classes/cmake.bbclass | 2 +- .../cmake/cmake-native_2.8.12.2.bb | 19 --

[OE-core] [PATCH v5 1/2] cmake: Whitespace fix

2015-06-23 Thread Moritz Blume
Signed-off-by: Moritz Blume --- meta/classes/cmake.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 3549c38..1ebb936 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -82,7 +82,7 @@

[OE-core] [PATCH v5 2/2] cmake: Upgrade 2.8.12.2 -> 3.2.2

2015-06-23 Thread Moritz Blume
Patches "qt4-fail-silent.patch" and "support-oe-qt4-tools-names.patch" were adapted in order to fit to CMake 3.2.2 (refer to the commit message in the respective patch for details). Patch "cmake-2.8.11.2-FindFreetype.patch" was dropped since it was rejected upstream and its functionality otherwise

Re: [OE-core] [PATCH] tune-i586-nlp: Add new tune file to support Quark/X1000 CPU

2015-06-23 Thread Richard Purdie
On Tue, 2015-06-23 at 08:22 -0700, Saul Wold wrote: > This tune file is needed to enable a GAS option specific to this cpu family > in order to disable the usage of lock prefix instructions. > > Signed-off-by: Saul Wold > --- > meta/conf/machine/include/tune-i586-nlp.inc | 20 +++

Re: [OE-core] [PATCH] staging: Strip files in sysroot

2015-06-23 Thread Andreas Müller
On Fri, Jun 19, 2015 at 11:09 AM, Richard Purdie wrote: > Add functionality to strip binaries/libraries going into the sysroot. Whilst > this does fractionally slow down the build, it also significantly reduces the > size of the sstate cache files. > > Signed-off-by: Richard Purdie > > diff --git

[OE-core] [PATCH] uclibc: Cope with other mips32 variants

2015-06-23 Thread Ramax Lo
Update uclibc.inc to handle different tunes of mips32 like mips32el, mips32-nf, mips32el-nf, etc. Signed-off-by: Ramax Lo --- meta/recipes-core/uclibc/uclibc.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/uclibc/uclibc.inc b/meta/recipes-core/uclibc

Re: [OE-core] [PATCH 2/3] gnutls: update to 3.4.1

2015-06-23 Thread Burton, Ross
On 23 June 2015 at 02:37, Armin Kuster wrote: > +PACKAGECONFIG[openssl_compat] = "--enable-openssl-compatibility,," > Also add --disable-openssl-compatibility (and remove the redundant trailing commas). +PACKAGECONFIG[libind] = "--with-idn,--without-idn, libidn" > The flag name has a typo. Ro

Re: [OE-core] [PATCH] openssl: upgrade to 1.0.2c

2015-06-23 Thread Burton, Ross
On 18 June 2015 at 03:43, wrote: > upgrade to fix the CVE: CVE-2015-1788..CVE-2015-1792 and CVE-2014-8176 > remove a backport patch > update the c_rehash-compat.patch > This doesn't apply to master since some more patches were added, can one of you please rebase and re-submit? Cheers, Ross --

Re: [OE-core] [PATCH] staging: Strip files in sysroot

2015-06-23 Thread Richard Purdie
On Tue, 2015-06-23 at 18:13 +0200, Andreas Müller wrote: > On Fri, Jun 19, 2015 at 11:09 AM, Richard Purdie > wrote: > > Add functionality to strip binaries/libraries going into the sysroot. Whilst > > this does fractionally slow down the build, it also significantly reduces > > the > > size of t

[OE-core] [PATCH] oe-selftest: timestamp the test runs

2015-06-23 Thread Ross Burton
The selftest can take a couple of hours to run, so add a custom result class to timestamp the output to make it easy to spot any slow tests. Signed-off-by: Ross Burton --- scripts/oe-selftest | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/scripts/oe-selftest b/

[OE-core] [PATCH 2/2] oe/utils.py: Add support for init/end helper functions in ThreadWorker.

2015-06-23 Thread Aníbal Limón
Add init/end helper functions for ThreadWorker also pass ThreadWorker as first argument to init/end/func functions this enables per-thread storage handling. classes/sstate.bbclass: Add thread_worker argument to checkstatus function. Signed-off-by: Aníbal Limón --- meta/classes/sstate.bbclass |

[OE-core] [PATCH 1/2] oe/utils.py: Fix thread leakage in ThreadPool

2015-06-23 Thread Aníbal Limón
In order to fix Thread leakage caused by not call join() in Threads, Pass num_tasks in ThreadPool for add all the tasks into a Queue this enable catch of Queue.Empty exception and exit the threads. classes/sstate.bbclass: Change checkstatus function to match new ThreadPool operation. Signed-off-

[OE-core] [PATCH 0/2] oe/utils.py: ThreadPool fixes and improvements

2015-06-23 Thread Aníbal Limón
The following changes since commit 6f4304e36df7e416643dd4a7ee3de096f21f1020: bitbake: runqueue: Sanity check BB_NUMBER_THREADS (2015-06-23 11:57:58 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib alimon/oe-utils http://git.yoctoproject.org/cgit.cgi/po

Re: [OE-core] [PATCH] pixbufcache: Ensure that jpeg-native is available for postinst if necessary

2015-06-23 Thread Richard Purdie
On Tue, 2015-06-23 at 16:25 +0100, Mike Crowe wrote: > On Tuesday 23 June 2015 at 16:12:26 +0100, Phil Blundell wrote: > > On Sat, 2015-06-13 at 19:44 +0100, Mike Crowe wrote: > > > diff --git a/meta/classes/pixbufcache.bbclass > > > b/meta/classes/pixbufcache.bbclass > > > index 9e6ecc8..755a654

Re: [OE-core] [PATCH] tune-i586-nlp: Add new tune file to support Quark/X1000 CPU

2015-06-23 Thread Darren Hart
On 6/23/15, 9:02 AM, "Richard Purdie" wrote: >On Tue, 2015-06-23 at 08:22 -0700, Saul Wold wrote: >> This tune file is needed to enable a GAS option specific to this cpu >>family >> in order to disable the usage of lock prefix instructions. >> >> Signed-off-by: Saul Wold >> --- >> meta/conf/ma

Re: [OE-core] [PATCH] tune-i586-nlp: Add new tune file to support Quark/X1000 CPU

2015-06-23 Thread Phil Blundell
On Tue, 2015-06-23 at 10:17 -0700, Darren Hart wrote: > Hrm... The thing we need to avoid is quark machines accepting an i586 > package in lieu of a i586-nlp package. I don't think that's a problem here > is it? The PACKAGE_EXTRA_ARCHS makes it so the i586-nlp package can be > used on machines that

Re: [OE-core] [PATCH] staging: Strip files in sysroot

2015-06-23 Thread Andreas Müller
On Tue, Jun 23, 2015 at 6:32 PM, Richard Purdie wrote: >> Do I understand this right: Stripping is disabled by default (because >> it would cause trouble for remote debugging)? > > No, this is only stripping of the sysroot files, not target. Its due to > the way locale packaging happens for glibc.

Re: [OE-core] [PATCH] pixbufcache: Ensure that jpeg-native is available for postinst if necessary

2015-06-23 Thread Mike Crowe
On Tuesday 23 June 2015 at 16:20:51 +0100, Richard Purdie wrote: > On Tue, 2015-06-23 at 16:12 +0100, Phil Blundell wrote: > > On Sat, 2015-06-13 at 19:44 +0100, Mike Crowe wrote: > > > diff --git a/meta/classes/pixbufcache.bbclass > > > b/meta/classes/pixbufcache.bbclass > > > index 9e6ecc8..755a

[OE-core] [PATCH][master&fido] image.bbclass: Disable USE_DEPMOD for the dummy kernel

2015-06-23 Thread Saul Wold
The image bbclass will try to find the kernel-abiversion file which is not part of the linux-dummy kernel since there is no actual kernel. In this case using depmod also does not make sense since there should not be any kernel module built. [YOCTO #7884] Signed-off-by: Saul Wold --- meta/class

[OE-core] [PATCH] classes/sstate.bbclass: Improve checkstatus using connection cache.

2015-06-23 Thread Aníbal Limón
This patch depends on changes did in bitbake [1] and oe/utils.py [2], don't merge before it. For complete review exist an integration branch at, http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=alimon/fetch2-wget-checkstatus [1] http://lists.openembedded.org/pipermail/bitbake-devel

[OE-core] [PATCH] classes/sstate.bbclass: Improve checkstatus using connection cache.

2015-06-23 Thread Aníbal Limón
Use FetcherConnectionCache to improve times when do checkstatus over sstate resources. Add debug message about how many SState objecs are available also how many time takes to get it. [YOCTO #7796] Signed-off-by: Aníbal Limón --- meta/classes/sstate.bbclass | 19 +-- 1 file cha

Re: [OE-core] [PATCH] classes/sstate.bbclass: Improve checkstatus using connection cache.

2015-06-23 Thread Christopher Larson
On Tue, Jun 23, 2015 at 1:02 PM, Aníbal Limón wrote: > Use FetcherConnectionCache to improve times when do checkstatus over > sstate resources. > > Add debug message about how many SState objecs are available also > how many time takes to get it. If this is an RFC, it should be marked as such i

Re: [OE-core] [PATCH] staging: Strip files in sysroot

2015-06-23 Thread Richard Purdie
On Tue, 2015-06-23 at 20:19 +0200, Andreas Müller wrote: > On Tue, Jun 23, 2015 at 6:32 PM, Richard Purdie > wrote: > >> Do I understand this right: Stripping is disabled by default (because > >> it would cause trouble for remote debugging)? > > > > No, this is only stripping of the sysroot files,

Re: [OE-core] [PATCH][master&fido] image.bbclass: Disable USE_DEPMOD for the dummy kernel

2015-06-23 Thread Richard Purdie
On Tue, 2015-06-23 at 12:22 -0700, Saul Wold wrote: > The image bbclass will try to find the kernel-abiversion file which is not > part > of the linux-dummy kernel since there is no actual kernel. In this case using > depmod also does not make sense since there should not be any kernel module > b

Re: [OE-core] [PATCH] unzip: fix four CVE defects

2015-06-23 Thread akuster808
CVE-2014-9636 is also mentioned in commit c9ec5427609f084d9cbfb7336777fe1e3d0f3ef1 unzip: Security Advisory -CVE-2014-9636 and CVE-2015-1315 can you clarify why its on both places? - armin On 06/22/2015 10:32 PM, rongqing...@windriver.com wrote: From: Roy Li Port four patches from unzip_6.0

Re: [OE-core] [PATCH][master&fido] image.bbclass: Disable USE_DEPMOD for the dummy kernel

2015-06-23 Thread Saul Wold
On 06/23/2015 02:53 PM, Richard Purdie wrote: On Tue, 2015-06-23 at 12:22 -0700, Saul Wold wrote: The image bbclass will try to find the kernel-abiversion file which is not part of the linux-dummy kernel since there is no actual kernel. In this case using depmod also does not make sense since th

Re: [OE-core] [PATCH] classes/sstate.bbclass: Improve checkstatus using connection cache.

2015-06-23 Thread Aníbal Limón
On 23/06/15 16:42, Christopher Larson wrote: On Tue, Jun 23, 2015 at 1:02 PM, Aníbal Limón wrote: Use FetcherConnectionCache to improve times when do checkstatus over sstate resources. Add debug message about how many SState objecs are available also how many time takes to get it. If this

[OE-core] [PATCHv2 0/1] Improve checkstatus using connection cache

2015-06-23 Thread Aníbal Limón
This patch depends on changes did in bitbake [1] and oe/utils.py [2], don't merge before it. For complete review exist an integration branch at, http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=alimon/fetch2-wget-checkstatus [1] http://lists.openembedded.org/pipermail/bitbake-devel

[OE-core] [PATCHv2 1/1] classes/sstate.bbclass: Improve checkstatus using connection cache.

2015-06-23 Thread Aníbal Limón
Use FetcherConnectionCache to improve times when do checkstatus over sstate resources. [YOCTO #7796] Signed-off-by: Aníbal Limón --- meta/classes/sstate.bbclass | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.

Re: [OE-core] [PATCH][master&fido] image.bbclass: Disable USE_DEPMOD for the dummy kernel

2015-06-23 Thread Richard Purdie
On Tue, 2015-06-23 at 15:44 -0700, Saul Wold wrote: > On 06/23/2015 02:53 PM, Richard Purdie wrote: > > On Tue, 2015-06-23 at 12:22 -0700, Saul Wold wrote: > >> The image bbclass will try to find the kernel-abiversion file which is not > >> part > >> of the linux-dummy kernel since there is no act

Re: [OE-core] Future of Qt4 recipes

2015-06-23 Thread akuster808
On 06/22/2015 03:43 AM, Burton, Ross wrote: Hi, So, Qt 4.8.7 was released last month[1]. Support for Qt4 stops at the end of 2015, and 4.8.7 is planned to be the last ever release of Qt4. It's still mandated by the long-awaited LSB 5 but I think it's fair to say that the majority of developer

[OE-core] [PATCH] tune-core2.inc: set X86ARCH32 to i686 (instead of i586)

2015-06-23 Thread Andre McCurdy
Use i686 as TARGET_ARCH for 32bit core2 (and corei7 and atom) builds. In most cases, i586 and i686 are equivalent values for TARGET_ARCH, however one important exception is glibc. When configured for i686, glibc enables optimised string functions (SSE, SSE2, etc), which are not used when building

Re: [OE-core] Future of Qt4 recipes

2015-06-23 Thread Martin Jansa
I agree with #2. Argument that it's still used by many projects shouldn't be used against layers :). On Wed, Jun 24, 2015 at 1:13 AM, akuster808 wrote: > > > On 06/22/2015 03:43 AM, Burton, Ross wrote: > >> Hi, >> >> So, Qt 4.8.7 was released last month[1]. Support for Qt4 stops at the >> end

Re: [OE-core] [PATCH] openssl: upgrade to 1.0.2c

2015-06-23 Thread Rongqing Li
On 2015年06月24日 00:31, Burton, Ross wrote: On 18 June 2015 at 03:43, mailto:rongqing...@windriver.com>> wrote: upgrade to fix the CVE: CVE-2015-1788..CVE-2015-1792 and CVE-2014-8176 remove a backport patch update the c_rehash-compat.patch This doesn't apply to master since some m

Re: [OE-core] [PATCH] unzip: fix four CVE defects

2015-06-23 Thread Rongqing Li
On 2015年06月24日 06:41, akuster808 wrote: CVE-2014-9636 is also mentioned in commit c9ec5427609f084d9cbfb7336777fe1e3d0f3ef1 unzip: Security Advisory -CVE-2014-9636 and CVE-2015-1315 can you clarify why its on both places? sorry, it is duplicated, but I did not know why it can be applied, I

[OE-core] [PATCH][v2] unzip: fix three CVE defects

2015-06-23 Thread rongqing.li
From: Roy Li Port four patches from unzip_6.0-8+deb7u2.debian.tar.gz to fix: cve-2014-8139 cve-2014-8140 cve-2014-8141 Signed-off-by: Roy Li --- .../unzip/09-cve-2014-8139-crc-overflow.patch | 52 .../unzip/10-cve-2014-8140-test-compr-eb.patch | 33 + ...

Re: [OE-core] [PATCH][v4] mmc-utils: fix the building failure when DEBUG_BUILD is 1

2015-06-23 Thread Rongqing Li
On 2015年06月23日 19:23, Burton, Ross wrote: On 3 June 2015 at 02:24, mailto:rongqing...@windriver.com>> wrote: +CFLAGS += "-U_FORTIFY_SOURCE" So Richard made the valid point that this is disabling the security flags in mmc-utils globally to fix builds in the very few cases when DEBUG_BUIL

[OE-core] zImage-dtb

2015-06-23 Thread Yi Qingliang
Hello, has someone used the "zImage-dtb"? the "zImage-dtb" will concatenate multiple dtbs append to zImage. How the kernel select dtb in running time? Yi Qingliang -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.o

[OE-core] zImage-dtb

2015-06-23 Thread Yi Qingliang
Hello, has someone used the "zImage-dtb"? the "zImage-dtb" will concatenate multiple dtbs append to zImage. How the kernel select dtb in running time? Yi Qingliang -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.o

[OE-core] [PATCH][v2] openssl: upgrade to 1.0.2c

2015-06-23 Thread rongqing.li
From: Roy Li upgrade to fix the CVE: CVE-2015-1788..CVE-2015-1792 and CVE-2014-8176 remove a backport patch update the c_rehash-compat.patch Signed-off-by: Roy Li --- ...lcl.h-fix-MIPS-specific-gcc-version-check.patch | 30 -- .../openssl/openssl/debian/c_rehash-compat.patc

[OE-core] [PATCH] glibc: add systemd support

2015-06-23 Thread Li xin
add systemd service files nscd.service and nscd.socket Signed-off-by: Li Xin --- meta/recipes-core/glibc/glibc-package.inc | 2 +- meta/recipes-core/glibc/glibc.inc | 20 +++- meta/recipes-core/glibc/glibc/nscd.service | 16 meta/recipes-core/glibc/gli

[OE-core] [PATCH 5/8] perl: fix for ODBM_File.so

2015-06-23 Thread Robert Yang
Fixed for test case ../ext/ODBM_File/t/odbm.t: ok 1 - use ODBM_File; ok 2 - use Fcntl; ./perl: symbol lookup error: /usr/lib/perl/5.22.0/auto/ODBM_File/ODBM_File.so: undefined symbol: dbminit The checking "if -e $_.'/libgdbm_compat.so'" doesn't work when cross build, so always link libgdbm_compat

[OE-core] [PATCH 6/8] perl: odbm.t: fix the path of dbmt_common.pl

2015-06-23 Thread Robert Yang
It should be ../t/lib/dbmt_common.pl. Fixed: Can't locate ../../t/lib/dbmt_common.pl in @INC Signed-off-by: Robert Yang --- ...le-t-odbm.t-fix-the-path-of-dbmt_common.p.patch | 31 meta/recipes-devtools/perl/perl_5.22.0.bb |1 + 2 files changed, 32 insertions

[OE-core] [PATCH 2/8] cpan_build.bbclass: remove libmodule-build-perl

2015-06-23 Thread Robert Yang
There is no such a package in perl 5.22.0. Signed-off-by: Robert Yang --- meta/classes/cpan_build.bbclass | 16 1 file changed, 16 deletions(-) diff --git a/meta/classes/cpan_build.bbclass b/meta/classes/cpan_build.bbclass index 2eb8162..4f648a6 100644 --- a/meta/classes/cpan

[OE-core] [PATCH 3/8] perl: use perl.inc for target and native perl

2015-06-23 Thread Robert Yang
It can reduce the duplicated code. Signed-off-by: Robert Yang --- meta/recipes-devtools/perl/perl-native_5.22.0.bb | 12 ++-- meta/recipes-devtools/perl/perl.inc |8 meta/recipes-devtools/perl/perl_5.22.0.bb| 19 +-- 3 files changed,

[OE-core] [PATCH 4/8] perl: fix test case switches.t

2015-06-23 Thread Robert Yang
We call it perl rather than perl5 in oe-core. Signed-off-by: Robert Yang --- .../perl/perl/t-run-switches.t-perl5-perl.patch| 30 meta/recipes-devtools/perl/perl_5.22.0.bb |1 + 2 files changed, 31 insertions(+) create mode 100644 meta/recipes-devtools/p

[OE-core] [PATCH 7/8] perl: remove default byteorder from config.sh

2015-06-23 Thread Robert Yang
Fixed test case: Failed test 146 - single result for config_re('byteorder') at ../lib/Config.t got "2" expected "1" There is a byteorder in config.sh-32/64. Signed-off-by: Robert Yang --- meta/recipes-devtools/perl/perl/config.sh |1 - 1 file changed, 1 deletion(-) diff --git a/meta/

[OE-core] [PATCH 0/8] perl 5.20.0 -> 5.22.0 and fix test cases

2015-06-23 Thread Robert Yang
* Upgrade perl 5.20.0 -> 5.22.0 * Tested on qemux86, qemuarm, qemuarm64, qemuppc, qemumips, qemux86-64. * Fix for test cases, the test result: Failed 9 tests out of 2269, 99.60% okay. * Failed cases: ../cpan/ExtUtils-MakeMaker/t/INSTALL_BASE.t

[OE-core] [PATCH 8/8] perl-ptest: fix RDEPENDS

2015-06-23 Thread Robert Yang
The test cases require make, gcc, libssp and so on to run. Signed-off-by: Robert Yang --- meta/recipes-devtools/perl/perl-ptest.inc |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/perl/perl-ptest.inc b/meta/recipes-devtools/perl/perl-ptest.inc inde

Re: [OE-core] [PATCH] staging: Strip files in sysroot

2015-06-23 Thread Andreas Müller
On Tue, Jun 23, 2015 at 11:48 PM, Richard Purdie wrote: > On Tue, 2015-06-23 at 20:19 +0200, Andreas Müller wrote: >> On Tue, Jun 23, 2015 at 6:32 PM, Richard Purdie >> wrote: >> >> Do I understand this right: Stripping is disabled by default (because >> >> it would cause trouble for remote debug