[OE-core] [PATCH V2 0/4] Persistent /var/log support

2016-12-13 Thread Chen Qi
The following changes since commit d62f18c39bc0ed3b0f5ac8465b393c15f2143ecf: targetloader.py: drop test for ClassType (2016-12-12 15:16:39 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/persistent-var-log http://cgit.openembedded

[OE-core] [PATCH V2 1/4] bitbake.conf: add VOLATILE_LOG_DIR variable

2016-12-13 Thread Chen Qi
The default value is "yes" which results in the /var/log being a link pointing to /var/volatile/log which is on tmpfs. The user could override this value to "no" which causes /var/log to be a directory on persistent storage. [YOCTO #6132] Signed-off-by: Chen Qi --- meta/conf/bitbake.conf | 3 +

[OE-core] [PATCH V2 3/4] initscripts: support persistent /var/log

2016-12-13 Thread Chen Qi
Respect VOLATILE_VAR_LOG variable so that if it's set to "no", we could have persistent /var/log on the final image. [YOCTO #6132] Signed-off-by: Chen Qi --- meta/recipes-core/initscripts/initscripts-1.0/volatiles | 1 - meta/recipes-core/initscripts/initscripts_1.0.bb| 3 +++ 2 files c

[OE-core] [PATCH V2 2/4] base-files: respect VOLATILE_LOG_DIR

2016-12-13 Thread Chen Qi
Respect VOLATILE_LOG_DIR variable. In this way, if the user overrides this variable to be "no", /var/log on the final image would reside on persistent storage. [YOCTO #6132] Signed-off-by: Chen Qi --- meta/recipes-core/base-files/base-files_3.0.14.bb | 4 ++-- 1 file changed, 2 insertions(+), 2

[OE-core] [PATCH V2 4/4] package.bbclass: support persistent /var/log

2016-12-13 Thread Chen Qi
Add a new file, fs-perms-persistent-log.txt, which treats /var/log as a directory instead of a link. Modify package.bbclass to use this file if VOLATILE_LOG_DIR is not set to "yes". [YOCTO #6132] Signed-off-by: Chen Qi --- meta/classes/package.bbclass | 2 +- meta/files/fs-perms-per

Re: [OE-core] [PATCH v5 0/6] wic: bugfixes & --fixed-size support, tests, oe-selftest: minor fixes

2016-12-13 Thread Maciej Borzęcki
On Thu, Nov 24, 2016 at 8:08 AM, Maciej Borzecki wrote: > v5 of a patch series previously posted here [1]. > > Changes since v4: > > * dropped `wic: selftest: do not repeat core-image-minimal` & rebased > dependant patches > > * minor formatting fix in `wic: selftest: add tests for --fixed-size

Re: [OE-core] [PATCH 5/8] oeqa/sdkext/devtool.py: don't reset when the test is failed

2016-12-13 Thread Paul Eggleton
On Tue, 13 Dec 2016 14:39:46 Robert Yang wrote: > On 12/13/2016 02:33 PM, Paul Eggleton wrote: > > On Tue, 13 Dec 2016 14:01:08 Robert Yang wrote: > >> On 12/13/2016 12:48 PM, Paul Eggleton wrote: > >>> On Wed, 16 Nov 2016 22:19:34 Robert Yang wrote: > The contents are helpful to debug when th

Re: [OE-core] [PATCH 5/8] oeqa/sdkext/devtool.py: don't reset when the test is failed

2016-12-13 Thread Robert Yang
On 12/13/2016 04:07 PM, Paul Eggleton wrote: On Tue, 13 Dec 2016 14:39:46 Robert Yang wrote: On 12/13/2016 02:33 PM, Paul Eggleton wrote: On Tue, 13 Dec 2016 14:01:08 Robert Yang wrote: On 12/13/2016 12:48 PM, Paul Eggleton wrote: On Wed, 16 Nov 2016 22:19:34 Robert Yang wrote: The content

Re: [OE-core] [PATCH 2/8] oeqa/sdkext/devtool.py: remove workspace/sources before running test cases

2016-12-13 Thread Paul Eggleton
On Tue, 13 Dec 2016 14:47:10 Robert Yang wrote: > On 12/13/2016 02:29 PM, Paul Eggleton wrote: > > On Tue, 13 Dec 2016 13:56:05 Robert Yang wrote: > >> On 12/13/2016 12:45 PM, Paul Eggleton wrote: > >>> It seems to me that's what's missing here is a proper teardown process > >>> like we have for oe

[OE-core] [PATCH] extrausers.bbclass: Use PACKAGE_INSTALL instead of IMAGE_INSTALL

2016-12-13 Thread jackie.huang
From: Jackie Huang The initramfs image recipes changed to use PACKAGE_INSTALL so they will not be affected by IMAGE_INSTALL, and will cause error when inherit extrausers: | ERROR: core-image-minimal-initramfs-1.0-r0 do_rootfs: core-image-minimal-initramfs: usermod command did not succeed. So

Re: [OE-core] [PATCH 2/8] oeqa/sdkext/devtool.py: remove workspace/sources before running test cases

2016-12-13 Thread Robert Yang
On 12/13/2016 04:21 PM, Paul Eggleton wrote: On Tue, 13 Dec 2016 14:47:10 Robert Yang wrote: On 12/13/2016 02:29 PM, Paul Eggleton wrote: On Tue, 13 Dec 2016 13:56:05 Robert Yang wrote: On 12/13/2016 12:45 PM, Paul Eggleton wrote: It seems to me that's what's missing here is a proper teardo

Re: [OE-core] [PATCH V2 4/4] package.bbclass: support persistent /var/log

2016-12-13 Thread Patrick Ohly
On Tue, 2016-12-13 at 16:04 +0800, Chen Qi wrote: > -fs_perms_tables = 'files/fs-perms.txt' > +fs_perms_tables = ['files/fs-perms-persistent-log.txt', > 'files/fs-perms.txt'][d.getVar('VOLATILE_LOG_DIR', True) == 'yes'] Now that the rest of the changes treat VOLATILE_LOG_DI

Re: [OE-core] [PATCH] busybox: allow libiproute to handle table ids larger than 255

2016-12-13 Thread Burton, Ross
On 12 December 2016 at 15:40, André Draszik wrote: > ++ printf("table %s ", rtnl_rttable_n2a(tid)); > Sorry but this doesn't build here: | networking/libiproute/lib.a(iproute.o): In function `print_route': | /usr/src/debug/busybox/1.24.1-r0/busybox-1.24.1/networking/libiproute/ipro

Re: [OE-core] can "IMAGE_INSTALL ?= ..." not be written in a more obvious way?

2016-12-13 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org > [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of > Khem Raj > Sent: den 10 december 2016 22:16 > To: Robert P. J. Day > Cc: OE Core mailing list > Subject: Re: [OE-core] can "IMAGE_INSTALL

[OE-core] [PATCH] libepoxy: move to tip of Emmanuele Bassi's fork

2016-12-13 Thread Andreas Müller
* fixes starting of kde-plasma for wayland: | No provider of glGenFramebuffers found. Requires one of: | Desktop OpenGL 3.0 | GL extension "GL_ARB_framebuffer_object" | OpenGL ES 2.0 | GL extension "GL_EXT_framebuffer_object" | /usr/bin/startplasmacompositor: line 223:

Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-13 Thread Andre McCurdy
On Mon, Dec 12, 2016 at 9:14 PM, Huang, Jie (Jackie) wrote: >> From: Andre McCurdy [mailto:armccu...@gmail.com] >> For reference, here's the patch I've been using. It's a slightly more >> generic fix than the one in the KDE bug report. > > Thanks, It's a better patch and I will take it and send as

[OE-core] why does OE's systemd have a hard dependency on qemu-native?

2016-12-13 Thread Robert P. J. Day
currently messing with systemd-coredump and, in systemd_232.bb, i see: DEPENDS = "kmod intltool-native gperf-native acl readline libcap libcgroup qemu-native util-linux" ^^^ ? now, i *am* building for qemuppc for testing, but the above is an unconditional dependency on

Re: [OE-core] why does OE's systemd have a hard dependency on qemu-native?

2016-12-13 Thread Burton, Ross
On 13 December 2016 at 10:34, Robert P. J. Day wrote: > DEPENDS = "kmod intltool-native gperf-native acl readline libcap >libcgroup qemu-native util-linux" > ^^^ ? > > now, i *am* building for qemuppc for testing, but the above is an > unconditional dependency on qemu-nat

[OE-core] [PATCH 2/2] grub-efi/live-vm-common: allow grub as EFI_PROVIDER

2016-12-13 Thread Awais Belal
This allows grub to be used as EFI_PROVIDER and extends the grub-efi class so it can be used as is when EFI_PROVIDER is grub. Currently this can only be leveraged if you are using the grub_git recipe and GRUBPLATFORM plus EFI_PROVIDER are set correctly. Signed-off-by: Awais Belal --- meta/classe

[OE-core] [PATCH 1/2] grub_git: extend recipe for proper target deployment

2016-12-13 Thread Awais Belal
This extends the grub_git recipe so it can deploy grub on the target boot disk just like grub-efi. Mainly this copies stuff from the grub-efi recipe and then adjusts some bits accordingly. This would allow using the latest and greatest versions of grub on the target. Signed-off-by: Awais Belal --

[OE-core] [PATCH 00/69] Consolidated Pull

2016-12-13 Thread Ross Burton
Part 1 of the final rush before M1. All green on the AB with the following caveats: - nightly-arm64 failed due to a misconfiguration on the AB - selftest failed in same-tune-same-hash, fixed in this branch and verified locally - mips-lsb failed building binutils but a rebuild worked, looks like

Re: [OE-core] [PATCH 2/8] oeqa/sdkext/devtool.py: remove workspace/sources before running test cases

2016-12-13 Thread Lopez, Mariano
On 12/12/2016 10:45 PM, Paul Eggleton wrote: On Wed, 16 Nov 2016 22:19:31 Robert Yang wrote: Fixed: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" $ bitbake core-image-minimal -cpopulate_sdk_ext [snip] ERROR: Source

Re: [OE-core] [PATCH 1/2] grub_git: extend recipe for proper target deployment

2016-12-13 Thread Burton, Ross
On 13 December 2016 at 11:19, Awais Belal wrote: > +DEPENDS_class-target += "grub-native" > The native magic won't generate dependencies on itself, so this can just be DEPENDS. > +RDEPENDS_${PN}_class-target = "diffutils freetype" > Does this really need to be class-target-specific? Ross --

[OE-core] [PATCH] ghostscript 9.19 -> 9.20

2016-12-13 Thread Huang Qiyu
1)Upgrade ghostscript from 9.19 to 9.20. 2)Modify ghostscript-9.15-parallel-make.patch, since the data has been changed. Signed-off-by: Huang Qiyu --- .../ghostscript-9.15-parallel-make.patch | 35 +++--- .../{ghostscript_9.19.bb => ghostscript_9.20.bb} | 8 ++--- 2

Re: [OE-core] [PATCH v2 07/13] selftest: imagefeatures: skip tests in case distro feature is missing

2016-12-13 Thread Burton, Ross
On 24 November 2016 at 20:58, wrote: > From: Leonardo Sandoval > > core-image-clutter and core-image-weston, both required opengl in distro > features, skip relevant tests if this is not the case. > > Signed-off-by: Leonardo Sandoval linux.intel.com> > --- > meta/lib/oeqa/selftest/imagefeature

Re: [OE-core] [PATCH] systemd: disable 'libdir' QA check

2016-12-13 Thread Mark Asselstine
On Monday, December 12, 2016 9:17:14 PM EST Burton, Ross wrote: > On 12 December 2016 at 20:51, Mark Asselstine > wrote: > > > > I think the discussion I pointed to in the commit log closes the door on > > any > > such change. Specific the comment from Lennart -- > > https://github.com/systemd/sy

Re: [OE-core] [PATCH v2 11/13] selftest: sstatetests: skip methods in case of poky-tiny or opengl is missing

2016-12-13 Thread Burton, Ross
On 24 November 2016 at 20:58, wrote: > diff --git a/meta/lib/oeqa/selftest/sstatetests.py > b/meta/lib/oeqa/selftest/sstatetests.py > index 6642539..8ea3932 100644 > --- a/meta/lib/oeqa/selftest/sstatetests.py > +++ b/meta/lib/oeqa/selftest/sstatetests.py > @@ -42,20 +42,36 @@ class SStateTests(S

Re: [OE-core] [PATCH 5/5] libsdl2: fix build on wayland(-dev)less hosts

2016-12-13 Thread Burton, Ross
I finally merged the sdl/wayland bits of this series but libsdl2 fails for me: | GENgen/wayland-client-protocol.h | /bin/bash: client-header: command not found | /bin/bash: client-header: command not found Ross On 6 December 2016 at 00:19, Andreas Müller wrote: > * add sysroot prefix to

Re: [OE-core] [PATCH 5/5] libsdl2: fix build on wayland(-dev)less hosts

2016-12-13 Thread Andreas Müller
On Tue, Dec 13, 2016 at 4:31 PM, Burton, Ross wrote: > I finally merged the sdl/wayland bits of this series but libsdl2 fails for > me: > > | GENgen/wayland-client-protocol.h > | /bin/bash: client-header: command not found > | /bin/bash: client-header: command not found > > Ross Strange - so

[OE-core] [PATCH] selftest/wic: extending test coverage for WIC script options

2016-12-13 Thread Jair Gonzalez
The previous WIC script selftest didn't cover all of its command line options. The following test cases were added to complete covering them: 1552 Test wic --version 1553 Test wic help create 1554 Test wic help list 1555 Test wic list images 1556 Test wic list source-plugins 1557 Test wic listed i

Re: [OE-core] openssl: OpenSSL 1.1.x update

2016-12-13 Thread Alexander Kanavin
On 10/06/2016 06:39 PM, Mark Hatle wrote: The OpenSSL community itself is looking at 1.1.0 as a transition to newer and better design/api/etc... which is why it is not marked as a LTS release. api changes can be a bothersome point from integration POV, do we know if there are some forwarded por

Re: [OE-core] [PATCH 5/5] libsdl2: fix build on wayland(-dev)less hosts

2016-12-13 Thread Burton, Ross
On 13 December 2016 at 15:42, Andreas Müller wrote: > Strange - something must be wrong on your machine :) > config.log says: configure:19371: checking for Wayland support configure:19382: checking for wayland-scanner configure:19415: result: no configure:19425: result: yes which results in:

Re: [OE-core] [PATCH v2] oe-tests: Migrate tests from /oe/test to /oeqa/selftest/oe-tests

2016-12-13 Thread Burton, Ross
On 15 November 2016 at 16:24, wrote: > Currently the unittests for scripts on meta/lib/oe/tests are not being > executed by any suite hence the best option is migrate them to > meta/lib/oeqa/selftest/oelib-tests to be executed along with the selftest > suite. > For some reason the discovery is v

Re: [OE-core] [PATCH] systemd: disable 'libdir' QA check

2016-12-13 Thread Khem Raj
This library may be private however this does not mean it should be hidden in a dedicated path. But I guess its better to lower qa guards then carry a patch for life On Dec 13, 2016 7:20 AM, "Mark Asselstine" wrote: On Monday, December 12, 2016 9:17:14 PM EST Burton, Ross wrote: > On 12 December

[OE-core] [PATCH v2] busybox: allow libiproute to handle table ids larger than 255

2016-12-13 Thread André Draszik
From: Lukasz Nowak These changes are required for compatibility with ConnMan, which by default uses table ids greater than 255. Signed-off-by: Lukasz Nowak --- ...biproute-handle-table-ids-larger-than-255.patch | 134 + meta/recipes-core/busybox/busybox_1.24.1.bb|

Re: [OE-core] [PATCH] busybox: allow libiproute to handle table ids larger than 255

2016-12-13 Thread André Draszik
Hi Ross, On Tue, 2016-12-13 at 08:40 +, Burton, Ross wrote: > On 12 December 2016 at 15:40, André Draszik wrote: > > > ++  printf("table %s ", rtnl_rttable_n2a(tid)); > > > > Sorry but this doesn't build here: > > > networking/libiproute/lib.a(iproute.o): In function `print_ro

Re: [OE-core] can "IMAGE_INSTALL ?= ..." not be written in a more obvious way?

2016-12-13 Thread Khem Raj
On Tue, Dec 13, 2016 at 12:52 AM, Peter Kjellerstedt wrote: >> -Original Message- >> From: openembedded-core-boun...@lists.openembedded.org >> [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of >> Khem Raj >> Sent: den 10 december 2016 22:16 >> To: Robert P. J. Day >> C

Re: [OE-core] [PATCH v2] oe-tests: Migrate tests from /oe/test to /oeqa/selftest/oe-tests

2016-12-13 Thread Burton, Ross
On 13 December 2016 at 16:17, Burton, Ross wrote: > It took over a minute to load a few tests. Do you have any idea why the > discovery is so slow? > Oh, it's because oeselftest does bitbake calls isn't it. Good news: you don't need to use oeSelfTest at all, the discovery works fine with stand

[OE-core] [PATCH] oeqa: move lib/oe tests to oe-selftest

2016-12-13 Thread Ross Burton
These tests don't get ran often (as demonstrated by the fact that some were not ported to Python 3), so move them to oeqa/selftest so they get executed frequently and can be extended easily. [ YOCTO #7376 ] Signed-off-by: Ross Burton --- meta/lib/{oe/tests => oeqa/selftest/oelib}/__init__.py |

Re: [OE-core] [PATCH v2] oe-tests: Migrate tests from /oe/test to /oeqa/selftest/oe-tests

2016-12-13 Thread Jose Perez Carranza
On 12/13/2016 10:32 AM, Burton, Ross wrote: On 13 December 2016 at 16:17, Burton, Ross > wrote: It took over a minute to load a few tests. Do you have any idea why the discovery is so slow? at my host is very fast the load (1 second) jgperezc@jgpere

Re: [OE-core] [PATCH v2] oe-tests: Migrate tests from /oe/test to /oeqa/selftest/oe-tests

2016-12-13 Thread Burton, Ross
On 13 December 2016 at 16:53, Jose Perez Carranza < jose.perez.carra...@linux.intel.com> wrote: > at my host is very fast the load (1 second) > Okay, proof that I need a new build machine. :) > Ok, just wondering if oe-selftest -l will also list those test cases ?? > Huh. -l doesn't, but -m d

[OE-core] [PATCH] populate_sdk_ext: get NATIVELSBSTRING variable

2016-12-13 Thread Ed Bartosh
Setting fixedlsbstring to 'universal' can break populate_sdk_ext task as NATIVELSBSTRING can be set to universal- in some cases. Getting NATIVELSBSTRING value using getVar should fix this. Signed-off-by: Ed Bartosh --- meta/classes/populate_sdk_ext.bbclass | 4 ++-- 1 file changed, 2 insertions

Re: [OE-core] [PATCH 5/5] libsdl2: fix build on wayland(-dev)less hosts

2016-12-13 Thread Andreas Müller
On Tue, Dec 13, 2016 at 5:10 PM, Burton, Ross wrote: > > On 13 December 2016 at 15:42, Andreas Müller > wrote: >> >> Strange - something must be wrong on your machine :) > > > config.log says: > > configure:19371: checking for Wayland support > configure:19382: checking for wayland-scanner > conf

Re: [OE-core] [PATCH 5/5] libsdl2: fix build on wayland(-dev)less hosts

2016-12-13 Thread Andreas Müller
On Tue, Dec 13, 2016 at 6:46 PM, Burton, Ross wrote: > > On 13 December 2016 at 17:46, Andreas Müller > wrote: >> >> I thought wayland depends on wayland-native already. Is it possible >> that you don't have wayland in your DISTO_FEATURES - honestly have not >> tested that on a machine with missi

Re: [OE-core] [PATCH 5/5] libsdl2: fix build on wayland(-dev)less hosts

2016-12-13 Thread Burton, Ross
On 13 December 2016 at 17:46, Andreas Müller wrote: > I thought wayland depends on wayland-native already. Is it possible > that you don't have wayland in your DISTO_FEATURES - honestly have not > tested that on a machine with missing wayland-scanner. > If wayland comes from sstate then it won't

Re: [OE-core] [PATCH 5/5] libsdl2: fix build on wayland(-dev)less hosts

2016-12-13 Thread Andreas Müller
reas went out too early :) On Tue, Dec 13, 2016 at 6:51 PM, Andreas Müller wrote: > On Tue, Dec 13, 2016 at 6:46 PM, Burton, Ross wrote: >> >> On 13 December 2016 at 17:46, Andreas Müller >> wrote: >>> >>> I thought wayland depends on wayland-native already. Is it possible >>> that you don't h

Re: [OE-core] [PATCH] libepoxy: move to tip of Emmanuele Bassi's fork

2016-12-13 Thread Khem Raj
On Tue, Dec 13, 2016 at 1:09 AM, Andreas Müller wrote: > * fixes starting of kde-plasma for wayland: > | No provider of glGenFramebuffers found. Requires one of: > | Desktop OpenGL 3.0 > | GL extension "GL_ARB_framebuffer_object" > | OpenGL ES 2.0 > | GL extension "GL_EX

Re: [OE-core] [PATCH] libepoxy: move to tip of Emmanuele Bassi's fork

2016-12-13 Thread Burton, Ross
On 13 December 2016 at 17:54, Khem Raj wrote: > Why do we change to a different fork ? perhaps its worth mentioning in > commit > Also I spoke to Emmanuele today and he is attempting to have his fork merged back upstream, so he recommends we hold off for a few days whilst they sort out where lib

Re: [OE-core] [PATCH 5/5] libsdl2: fix build on wayland(-dev)less hosts

2016-12-13 Thread Burton, Ross
On 13 December 2016 at 17:51, Andreas Müller wrote: > P.S. This is a good example why recipe specific sysroot is a good > thing - correct? > Yeah :) Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.open

Re: [OE-core] [PATCH v5 0/6] wic: bugfixes & --fixed-size support, tests, oe-selftest: minor fixes

2016-12-13 Thread Ed Bartosh
On Tue, Dec 13, 2016 at 09:07:30AM +0100, Maciej Borzęcki wrote: > On Thu, Nov 24, 2016 at 8:08 AM, Maciej Borzecki > wrote: > > v5 of a patch series previously posted here [1]. > > > > Changes since v4: > > > > * dropped `wic: selftest: do not repeat core-image-minimal` & rebased > > dependant

Re: [OE-core] [PATCH] libepoxy: move to tip of Emmanuele Bassi's fork

2016-12-13 Thread Andreas Müller
On Tue, Dec 13, 2016 at 6:54 PM, Khem Raj wrote: > On Tue, Dec 13, 2016 at 1:09 AM, Andreas Müller > wrote: >> * fixes starting of kde-plasma for wayland: >> | No provider of glGenFramebuffers found. Requires one of: >> | Desktop OpenGL 3.0 >> | GL extension "GL_ARB_framebuffer_obj

Re: [OE-core] [PATCH] libepoxy: move to tip of Emmanuele Bassi's fork

2016-12-13 Thread Khem Raj
On Tue, Dec 13, 2016 at 10:56 AM, Andreas Müller wrote: > On Tue, Dec 13, 2016 at 6:54 PM, Khem Raj wrote: >> On Tue, Dec 13, 2016 at 1:09 AM, Andreas Müller >> wrote: >>> * fixes starting of kde-plasma for wayland: >>> | No provider of glGenFramebuffers found. Requires one of: >>> | De

Re: [OE-core] [PATCH] populate_sdk_ext: get NATIVELSBSTRING variable

2016-12-13 Thread Paul Eggleton
Hi Ed, On Tue, 13 Dec 2016 19:05:49 Ed Bartosh wrote: > Setting fixedlsbstring to 'universal' can break populate_sdk_ext > task as NATIVELSBSTRING can be set to universal- in > some cases. > > Getting NATIVELSBSTRING value using getVar should fix this. > > Signed-off-by: Ed Bartosh > --- > met

[OE-core] [PATCH 00/91] Morty pull request

2016-12-13 Thread Armin Kuster
Cover letter only. Please consider these changes for Morty-next. The following changes since commit 5aa481dfedfd089f0d6e8a3bae1b84134d5dff4c: ref-manual: Added KERNEL_IMAGE_BASE_NAME change to 2.2 migration (2016-12-08 16:36:47 +) are available in the git repository at: git://git.yoct

Re: [OE-core] [PATCH] selftest/wic: extending test coverage for WIC script options

2016-12-13 Thread Ed Bartosh
Hi Jair, Thank you for the patch! My comments are below. On Tue, Dec 13, 2016 at 09:53:27AM -0600, Jair Gonzalez wrote: > The previous WIC script selftest didn't cover all of its command > line options. The following test cases were added to complete > covering them: > > 1552 Test wic --version

[OE-core] [PATCH] masterimage: ignore return status in case of ssh shutdown command

2016-12-13 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval There are reported cases (see bugzilla entry below) where ssh process is killed by the shutdown command it runs, thus the ssh's return status is non-zero. To ignore the ssh return status, a context manager decorador is use together with the 'with' statement, ignoring the s

[OE-core] [PATCH v3] uninative: rebuild uninative for gcc 4.8 and 4.9

2016-12-13 Thread Ed Bartosh
Some c++ libraries fail to build if uninative is built with gcc 5.x and host gcc version is either 4.8 or 4.9. The issue should be solved by making separate uninative sstate directory structure sstate-cache/universal- for host gcc versions 4.8 and 4.9. This causes rebuilds of uninative if host gcc

Re: [OE-core] [PATCH] selftest/wic: extending test coverage for WIC script options

2016-12-13 Thread Jair Gonzalez
Hi Ed, Thank you for your response and suggestions. Below are my comments. > -Original Message- > From: Ed Bartosh [mailto:ed.bart...@linux.intel.com] > Sent: Tuesday, December 13, 2016 2:17 PM > To: Jair Gonzalez > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [P

Re: [OE-core] [PATCH 1/8] populate_sdk_ext.bbclass: install multilib targets as populate_sdk does

2016-12-13 Thread Robert Yang
Hi Paul, After I looked into the code again, these changes are related, so that I can't split them into 2, please see my comments inline. On 12/13/2016 12:55 PM, Paul Eggleton wrote: Hi Robert, There are a bunch of changes in here that don't relate to the multilib fix - details below. On Wed

[OE-core] [v2][PATCH] valgrind: make ld-XXX.so strlen intercept optional

2016-12-13 Thread jackie.huang
From: Jackie Huang Hack: Depending on how glibc was compiled (e.g. optimised for size or built with _FORTIFY_SOURCE enabled) the strlen symbol might not be found in ld-XXX.so. Therefore although we should still try to intercept it, don't make it mandatory to do so. Signed-off-by: Jackie Huang -

Re: [OE-core] [PATCH 1/8] populate_sdk_ext.bbclass: install multilib targets as populate_sdk does

2016-12-13 Thread Paul Eggleton
On Wed, 14 Dec 2016 10:25:36 Robert Yang wrote: > After I looked into the code again, these changes are related, > so that I can't split them into 2, please see my comments inline. I've replied inline. > On 12/13/2016 12:55 PM, Paul Eggleton wrote: > > There are a bunch of changes in here that d

Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using -O2

2016-12-13 Thread Huang, Jie (Jackie)
> -Original Message- > From: Andre McCurdy [mailto:armccu...@gmail.com] > Sent: Tuesday, December 13, 2016 5:17 PM > To: Huang, Jie (Jackie) > Cc: Khem Raj; Patches and discussions about the oe-core layer > Subject: Re: [OE-core] [PATCH] glibc: add -fno-builtin-strlen when not using > -O

[OE-core] [PATCH] libxkbcommon: 0.6.1 -> 0.7.0

2016-12-13 Thread Huang Qiyu
1)Upgrade libxkbcommon from 0.6.1 to 0.7.0. 2)License checksum changes are not related to license changes. Signed-off-by: Huang Qiyu --- .../xorg-lib/{libxkbcommon_0.6.1.bb => libxkbcommon_0.7.0.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-graphics/x

Re: [OE-core] [PATCH] libxkbcommon: 0.6.1 -> 0.7.0

2016-12-13 Thread Robert Yang
On 12/14/2016 07:34 PM, Huang Qiyu wrote: 1)Upgrade libxkbcommon from 0.6.1 to 0.7.0. 2)License checksum changes are not related to license changes. You need add what is changed, for example, year or space ? // Robert Signed-off-by: Huang Qiyu --- .../xorg-lib/{libxkbcommon_0.6.1.bb =>

[OE-core] [PATCH v2] libxkbcommon: 0.6.1 -> 0.7.0

2016-12-13 Thread Huang Qiyu
1)Upgrade libxkbcommon from 0.6.1 to 0.7.0. 2)License checksum changed,since the copyright years were updated. Signed-off-by: Huang Qiyu --- .../xorg-lib/{libxkbcommon_0.6.1.bb => libxkbcommon_0.7.0.bb} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename meta/recipes-graphi

[OE-core] [PATCH V2 2/8] populate_sdk_ext.bbclass: install multilib SDKs

2016-12-13 Thread Robert Yang
Fixed: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" IMAGE_CLASSES += "testimage" $ bitbake core-image-minimal -cpopulate_sdk_ext $ bitbake core-image-minimal -ctestsdkext [snip] Testing /buildarea/lyang1/test_po/tmp/wo

[OE-core] [PATCH V2 1/8] populate_sdk_ext.bbclass: break the long lines

2016-12-13 Thread Robert Yang
Make it easier to read and maintain. [YOCTO #10647] Signed-off-by: Robert Yang --- meta/classes/populate_sdk_ext.bbclass | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass i

[OE-core] [PATCH V2 3/8] oeqa/sdkext/devtool.py: remove sources before run test cases

2016-12-13 Thread Robert Yang
Fixed: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" $ bitbake core-image-minimal -cpopulate_sdk_ext [snip] ERROR: Source tree path /path/to/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testsdkext/tc/workspa

[OE-core] [PATCH V2 5/8] oe-publish-sdk: add pyshtables.py to .gitignore

2016-12-13 Thread Robert Yang
Fixed: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" $ bitbake core-image-minimal -cpopulate_sdk_ext [snip] ERROR: Failed to update metadata as there have been changes made to it. Aborting.\nERROR: Changed files:\nb' M

[OE-core] [PATCH V2 4/8] oe-publish-sdk: make cmd easier to read

2016-12-13 Thread Robert Yang
The command was too long to read and maintain. Signed-off-by: Robert Yang --- scripts/oe-publish-sdk | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/scripts/oe-publish-sdk b/scripts/oe-publish-sdk index 4fe8974..d95c623 100755 --- a/scripts/oe-publish-sdk

[OE-core] [PATCH V2 8/8] oe/copy_buildsystem.py: add SDK_LAYERS_EXCLUDE_PATTERN

2016-12-13 Thread Robert Yang
It is helpful we want to exclude a lot of layers. It uses python re, and supports multiple patterns (separated by space). Signed-off-by: Robert Yang --- meta/lib/oe/copy_buildsystem.py | 18 ++ 1 file changed, 18 insertions(+) diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/

[OE-core] [PATCH V2 6/8] oeqa/oetest.py: add hasLockedSig()

2016-12-13 Thread Robert Yang
It checks whether there is a "recipe:do_populate_sysroot:" in locked-sigs.inc, which will help to determine whether the testcase will run or not. Signed-off-by: Robert Yang --- meta/lib/oeqa/oetest.py | 13 + 1 file changed, 13 insertions(+) diff --git a/meta/lib/oeqa/oetest.py b/me

[OE-core] [PATCH V2 7/8] oeqa/sdkext/devtool.py: skip a testcase when no libxml2

2016-12-13 Thread Robert Yang
Skip test_extend_autotools_recipe_creation when no libxml2 The librdfa requires libxml2 to build, otherwise, it would fail: | configure: error: Package requirements (libxml-2.0 >= 2.6.26) were not met: | | No package 'libxml-2.0' found Signed-off-by: Robert Yang --- meta/lib/oeqa/sdkext/devtool

[OE-core] [PATCH V2 0/8] Fixes for eSDK and testsdkext

2016-12-13 Thread Robert Yang
* V2 1) Fix Paul's comments: - Drop "don't reset when the test is failed" - Update bug id for "oe-publish-sdk: add pyshtables.py to .gitignore" - Split "install multilib targets as populate_sdk does" into 2 commits: "break the long lines" "install multilib SDKs" 2)

[OE-core] [PATCH 0/1 V2] oe/path.py: fix for "Argument list too long"

2016-12-13 Thread Robert Yang
* V2 Fix oe/path.py:copyhardlinktree() as Ross suggested. * V1 package_manager.py: fix for "Argument list too long" // Robert The following changes since commit 4e412234c37efec42b3962c11d44903c0c58c92e: libpcap: Disable exposed bits of WinPCAP remote capture support (2016-12-13 22:47:35

[OE-core] [PATCH 1/1 V2] oe/path.py: fix for "Argument list too long"

2016-12-13 Thread Robert Yang
Fixed when len(TMPDIR) = 410: $ bitbake core-image-sato-sdk [snip] Subprocess output: /bin/sh: /bin/cp: Argument list too long ERROR: core-image-sato-sdk-1.0-r0 do_rootfs: Function failed: do_rootfs [snip] This is because "copyhardlinktree(src, dst)" does "cp -afl src/* dst", while src/* is expan