Re: [OE-core] [oe-core][PATCH 1/1] package.bbclass: decouple splitting and stripping

2015-03-13 Thread Bernhard Reutner-Fischer
On March 13, 2015 10:57:53 PM GMT+01:00, Joe Slater wrote: >Fix logic in split_and_strip_files() to allow splitting or >stripping independently. We also return quickly from this >function if we have nothing to do. We seek the following behavior: > >Strip / Split Behavior >yes / yes

[OE-core] [oe-core][PATCH 1/1] package.bbclass: decouple splitting and stripping

2015-03-13 Thread Joe Slater
Fix logic in split_and_strip_files() to allow splitting or stripping independently. We also return quickly from this function if we have nothing to do. We seek the following behavior: Strip / Split Behavior yes / yes binaries stripped; debug info and source in -dbg no/ yes

[OE-core] [PATCH] rpcbind: don't try to enable rpcbind.socket twice

2015-03-13 Thread Martin Jansa
* rpcbind.service requires rpcbind.socket and systemctl tries to add it twice * see log.do_rootfs: Started /OE/build/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/systemctl --root=/OE/build/shr-core/tmp-glibc/work/nokia900-oe-linux-gnueabi/shr-image/2.0-r20/rootfs enable rpcbind.service rpcb

[OE-core] [PATCH] systemctl: Don't try to remove directory which doesn't exist

2015-03-13 Thread Martin Jansa
Noticed in this log.do_rootfs error: Started /OE/build/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/systemctl --root=/OE/build/shr-core/tmp-glibc/work/nokia900-oe-linux-gnueabi/shr-image/2.0-r20/rootfs disable bluetooth.service Try to find location of bluetooth.service... Found bluetoot

[OE-core] [PATCH] valgrind: enable building on 4.x kernel

2015-03-13 Thread Martin Jansa
Signed-off-by: Martin Jansa --- .../valgrind/enable.building.on.4.x.kernel.patch | 36 ++ meta/recipes-devtools/valgrind/valgrind_3.10.1.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-devtools/valgrind/valgrind/enable.building.on.4.x.kernel.p

[OE-core] [PATCH 00/42] Consolidated pull

2015-03-13 Thread Ross Burton
Hi, A nice long consolidated pull that is all green on the AB apart from an intermittent x86-64 inability to run df which I don't think is related to this series and will investigate shortly. Ross The following changes since commit 7f30749fe026e9ceb75d73b89271145a45a60763: oeqa/parselogs: Ski

[OE-core] QA Test Review meetings request!

2015-03-13 Thread Jolley, Stephen K
All, Richard has suggested I set up a series of meeting to review the current Yocto Project QA testing being done. This is to insure that the experts have had a chance to sync with the QA team so the right tests are being run during our QA runs. I am soliciting who I should invite and what

Re: [OE-core] [OE-core v1 PATCH 3/5] bootimg: Skip build iso image for aarch64

2015-03-13 Thread Bernhard Reutner-Fischer
On March 13, 2015 5:00:15 PM GMT+01:00, Richard Purdie wrote: >On Fri, 2015-03-13 at 20:25 +0530, Naresh Bhat wrote: >> Build iso image required syslinux package. We have already skip the >syslinux >> package. Hence just skip the iso image build too. >> >> Signed-off-by: Naresh Bhat >> --- >>

Re: [OE-core] [yocto] OpenEmbedded Developer America's Meeting

2015-03-13 Thread Mark Hatle
On 3/13/15 11:55 AM, Philip Balister wrote: > You can add yourself here (or drop me an email if you have trouble > logging in) > > http://www.openembedded.org/wiki/OEDAM_2015 I'm planning on attending, but have not yet gotten travel approval. (So if I don't I'll try to do the remote thing.) --M

Re: [OE-core] [OE-core v1 PATCH 2/5] syslinux: Remove bootimg dependency on aarch64

2015-03-13 Thread Naresh Bhat
On 13 March 2015 at 21:29, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > On Fri, 2015-03-13 at 20:25 +0530, Naresh Bhat wrote: > > Remove the bootimg dependency as syslinux for aarch64. The reason to > skip the syslinux package > > - syslinux package contains x86 assembly code. Hen

[OE-core] Add archiver folder to SSTATE_DUPWHITELIST

2015-03-13 Thread Adrian Freihofer
Bitbake fails with an error message such as "The recipe bla is trying to install files into a shared area when those files already exist." Conditions: - The archiver class is active - Bitbake is called more than once e.g. to compile two images for different architectures At least for me, the p

Re: [OE-core] [yocto] OpenEmbedded Developer America's Meeting

2015-03-13 Thread Philip Balister
You can add yourself here (or drop me an email if you have trouble logging in) http://www.openembedded.org/wiki/OEDAM_2015 We plan to have a Hangout on the Air so people can follow along remotely. Philip On 03/13/2015 11:56 AM, akuster wrote: > Hello Folks, > > OEDAM is nearing. If you have no

Re: [OE-core] [OE-core v1 PATCH 4/5] grub: Update grub git recipe

2015-03-13 Thread Richard Purdie
On Fri, 2015-03-13 at 20:25 +0530, Naresh Bhat wrote: > Update the grub git recipe with the following actions for native and target > - Base class extend to native > - do_configure_prepend > - do_install_append > - do_mkimage native > - do_deploy > > Signed-off-by: Naresh Bhat > --- > meta/recip

Re: [OE-core] [OE-core v1 PATCH 3/5] bootimg: Skip build iso image for aarch64

2015-03-13 Thread Richard Purdie
On Fri, 2015-03-13 at 20:25 +0530, Naresh Bhat wrote: > Build iso image required syslinux package. We have already skip the syslinux > package. Hence just skip the iso image build too. > > Signed-off-by: Naresh Bhat > --- > meta/classes/bootimg.bbclass |6 +- > 1 file changed, 5 insert

Re: [OE-core] [OE-core v1 PATCH 2/5] syslinux: Remove bootimg dependency on aarch64

2015-03-13 Thread Richard Purdie
On Fri, 2015-03-13 at 20:25 +0530, Naresh Bhat wrote: > Remove the bootimg dependency as syslinux for aarch64. The reason to skip the > syslinux package > - syslinux package contains x86 assembly code. Hence it cannot be compiled on > aarch64. > - There is no BIOS on aarch64 to answer syscalls. >

[OE-core] [OE-core v1 PATCH 5/5] grub-efi: Add to support to install grubaa64 efi

2015-03-13 Thread Naresh Bhat
Add support to install grubaa64 efi image. By default GRUB_IMAGE contains the bootia32.efi image. Depending on the architecture type the variable is being updated to bootia64.efi or grubaa64.efi Signed-off-by: Naresh Bhat --- meta/classes/grub-efi.bbclass | 17 +++-- 1 file chang

[OE-core] [OE-core v1 PATCH 2/5] syslinux: Remove bootimg dependency on aarch64

2015-03-13 Thread Naresh Bhat
Remove the bootimg dependency as syslinux for aarch64. The reason to skip the syslinux package - syslinux package contains x86 assembly code. Hence it cannot be compiled on aarch64. - There is no BIOS on aarch64 to answer syscalls. Signed-off-by: Naresh Bhat --- meta/classes/syslinux.bbclass |

[OE-core] [OE-core v1 PATCH 4/5] grub: Update grub git recipe

2015-03-13 Thread Naresh Bhat
Update the grub git recipe with the following actions for native and target - Base class extend to native - do_configure_prepend - do_install_append - do_mkimage native - do_deploy Signed-off-by: Naresh Bhat --- meta/recipes-bsp/grub/grub_git.bb | 48 +++-- 1 fi

[OE-core] [OE-core v1 PATCH 3/5] bootimg: Skip build iso image for aarch64

2015-03-13 Thread Naresh Bhat
Build iso image required syslinux package. We have already skip the syslinux package. Hence just skip the iso image build too. Signed-off-by: Naresh Bhat --- meta/classes/bootimg.bbclass |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meta/classes/bootimg.bbclass b/

[OE-core] [OE-core v1 PATCH 0/5] aarch64 changes for meta layer

2015-03-13 Thread Naresh Bhat
I am adding the support of aarch64 to LUV OS Distribution project. The luv-yocto project is based on poky distribution. https://01.org/linux-uefi-validation While adding support I find that these are the few meta layer changes, which I have been asked to upstream. If we merge these changes into o

[OE-core] [OE-core v1 PATCH 1/5] bootimg: Add support to install Image

2015-03-13 Thread Naresh Bhat
Add support to install kernel image for aarch64 Signed-off-by: Naresh Bhat --- meta/classes/bootimg.bbclass | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/meta/classes/bootimg.bbclass b/meta/classes/bootimg.bbclass index b1c03ba..ed7b32f 100644 --- a/meta/class

Re: [OE-core] [OE-core v1 PATCH 0/5] aarch64 changes for meta layer

2015-03-13 Thread Naresh Bhat
Hi, Please, Ignore this series for review. I will resend the same series with few corrections. My apologies for noise. Thanks and Regards -Naresh On 10 March 2015 at 00:01, Naresh Bhat wrote: > I am adding the support of aarch64 to LUV OS Distribution project. > The luv-yocto project is base

[OE-core] State of bitbake world, Failed tasks 2015-03-12

2015-03-13 Thread Martin Jansa
http://www.openembedded.org/wiki/Bitbake_World_Status == Failed tasks 2015-03-12 == INFO: jenkins-job.sh-1.1.0 Complete log available at http://logs.nslu2-linux.org/buildlogs/oe/world/log.report.20150313_134532.log === common (3) === * /meta-openembedded/meta-networking/recipes-protocols/o

Re: [OE-core] [PATCH] openssl: Upgrade to 1.0.2

2015-03-13 Thread Martin Jansa
On Thu, Mar 12, 2015 at 02:18:27PM +0800, Robert Yang wrote: > > I met this error when building openflow in meta-networking, I guess it maybe > related to the upgraded: > > x86_64-wrs-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse > --sysroot=/buildarea/lyang1/test_qemux86-64/bitb

[OE-core] [PATCH 11/11] combo-layer-hook-default.sh: handle patches without Signed-off-by

2015-03-13 Thread Patrick Ohly
Inserting the "From rev" comment depended on having at least one Signed-off-by line in the patch header. Some old repository commits in openembedded-core and bitbake do not have those. When inporting those, just insert at the end of the patch header. While doing so, ensure that there's exactly one

[OE-core] [PATCH 09/11] combo-layer-hook-default.sh: avoid duplicating prefix

2015-03-13 Thread Patrick Ohly
The existing patch might already have the desired prefix, perhaps even multiple times (due to some previous import error). Ensure that after the replace, the prefix is present exactly once. Signed-off-by: Patrick Ohly --- scripts/combo-layer-hook-default.sh | 2 +- 1 file changed, 1 insertion(+)

[OE-core] [PATCH 01/11] combo-layer: let user choose where properties get updated

2015-03-13 Thread Patrick Ohly
When updating a property (at the moment, only 'last_revision'), first check whether the user already added it to the main config. If so, update there even if there is a local config. This way, 'last_revision' can be shared between developers as part of the repository while still configuring per-de

[OE-core] [PATCH 03/11] combo-layer: runcmd() with separate output

2015-03-13 Thread Patrick Ohly
Allow the caller to specify a separate output stream. stderr is always a temporary file opened by runcmd(), so read from that to capture output for error reporting *and* the return value. The reasoning for the latter is a) that this preserves the traditional behavior when out=None and b) if the ca

[OE-core] [PATCH 04/11] combo-layer: exclude files

2015-03-13 Thread Patrick Ohly
Some combined repos intentionally do not include certain files. For example, Poky does not include bitbake's setup files and OE-core's sample files under meta/conf. When these files get modified in the upstream repository, applying the patches fails and requires manual intervention. That is merely

[OE-core] [PATCH 08/11] combo-layer: partial import for '--history init'

2015-03-13 Thread Patrick Ohly
The new "since_revision" property can be used to cut off the imported history at some point. This is useful to keep the resulting repository smaller while still preserving enough history that "git annotate" reports the right author and commit for most lines. The initial, squashed import commit sho

Re: [OE-core] [PATCH] combo-layer: make Signed-off-by optional

2015-03-13 Thread Patrick Ohly
On Fri, 2015-03-13 at 08:57 +, Paul Eggleton wrote: > On Thursday 12 March 2015 20:45:32 Patrick Ohly wrote: > > On Thu, 2015-03-12 at 18:21 +, Paul Eggleton wrote: > > > On Monday 09 March 2015 13:56:39 Patrick Ohly wrote: > > > > +# global options > > > > +[DEFAULT] > > > > + > > > > +# A

[OE-core] [PATCH 10/11] combo-layer-hook-default.sh: beware of embedded patches

2015-03-13 Thread Patrick Ohly
Patching the subject line must be limited to the subject of the main patch itself. In particular, git formatted patches embedded in the patch must not be changed. Achieved by limiting the replacement to the lines until the first subject in the patch, just as it is done for modifying the first Sig

[OE-core] [PATCH 06/11] combo-layer: init with full history

2015-03-13 Thread Patrick Ohly
The new --history parameter enables a new mode in "combo-layer init" where it copies the entire history of the components into the new combined repository. This also imports merge commits. Moving into a destination directory and applying commit hooks is done via "git filter-branch" of the upstream

[OE-core] [PATCH 05/11] combo-layer: update() also instance property

2015-03-13 Thread Patrick Ohly
The Configuration class mirrors all properties in local hashes. When updating the configuration, also update these properties to remain consistent. Signed-off-by: Patrick Ohly --- scripts/combo-layer | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/combo-layer b/scripts/combo-layer in

[OE-core] [PATCH 07/11] combo-layer: combine trees via replacement objects

2015-03-13 Thread Patrick Ohly
Instead of local graft entries rooting the imported branches in the shared root commit, use replacement objects. The advantage is that they get moved around by "git push" and "git fetch", so everyone has the same, nicer view with everything starting at the beginning of the combined repository. If

[OE-core] [PATCH 02/11] combo-layer: make Signed-off-by optional

2015-03-13 Thread Patrick Ohly
It depends on the diligence of the person running the combo-layer tool whether the Signed-off-by line added to each commit actually indicates that the person was involved in validating the change. When the import is purely automatic, it is better to not add the line, because the history is more us

[OE-core] [PATCH 00/11] combo-layer enhancements

2015-03-13 Thread Patrick Ohly
This replaces the four individual patches sent recently. It addresses the comments that Paul had, fixes one issue in file_exclude filtering of patches when combined with dest_dir, and last but not least, introduces full history importing during "init". For the separate fixes see https://github.co

[OE-core] [PATCH] oeqa/runtime: Fixed a problem in logparser where it failed to whitelist some common errors.

2015-03-13 Thread Lucian Musat
And some minor tweaks like moving some errors from qemu to common. Signed-off-by: Lucian Musat --- meta/lib/oeqa/runtime/parselogs.py | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py index cf0f67

[OE-core] [PATCH] gst-player: Depend on -libav if commercial license is enabled

2015-03-13 Thread Jussi Kukkonen
gstreamer1.0-libav makes AAC playback possible but is protected by the "commercial" LICENSE_FLAGS: recommend -libav if those licenses are enabled. Signed-off-by: Jussi Kukkonen --- meta/recipes-multimedia/gstreamer/gst-player_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipe

Re: [OE-core] [PATCH] combo-layer: make Signed-off-by optional

2015-03-13 Thread Paul Eggleton
On Thursday 12 March 2015 20:45:32 Patrick Ohly wrote: > On Thu, 2015-03-12 at 18:21 +, Paul Eggleton wrote: > > On Monday 09 March 2015 13:56:39 Patrick Ohly wrote: > > > +# global options > > > +[DEFAULT] > > > + > > > +# Add 'Signed-off-by' to all commits that get imported automatically. > >