Re: [OE-core] [oe-commits] Stefan Stanacar : recipes-bsp: Add gummiboot recipe

2014-03-26 Thread Robert Yang
I met a similar error, maybe we can add: COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux" to gummiboot_git.bb to fix the problem. I will send a patch for it, and fix another gnu-efi error. // Robert On 03/27/2014 04:18 AM, Martin Jansa wrote: On Tue, Mar 11, 2014 at 04:23:55PM +, g...@git.ope

Re: [OE-core] [PATCH V3 1/1] sanity.bbclass: check for validity of TMPDIR

2014-03-26 Thread ChenQi
ping Any comment on this one? //Chen Qi On 01/08/2014 10:12 AM, Chen Qi wrote: TMPDIR must be an absolute path, otherwise, the build will fail. Special characters and trailing slashes in TMPDIR will also cause build failures. This patch enables checking for the validity of TMPDIR. The logic

[OE-core] [PATCH 1/1] bind: add support for read-only rootfs

2014-03-26 Thread Chen Qi
This patch adds support for read-only rootfs to the bind service. Basically it just bind mounts several directories so that the bind service could start correctly without reporting any error. Signed-off-by: Chen Qi --- .../init.d-add-support-for-read-only-rootfs.patch | 65 +++

[OE-core] [PATCH 0/1] bind: add support for read-only rootfs

2014-03-26 Thread Chen Qi
The following changes since commit f0e1c22ee1cc581fbe8a56e707dcdb015d58fdb6: local.conf.sample.extended: update it for the archiver (2014-03-26 12:15:00 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/bind-read-only http://cgit.o

[OE-core] [PATCH 1/1] image.bbclass: replace rootfs with /dev/root

2014-03-26 Thread Chen Qi
Replace 'rootfs' with '/dev/root' in read_only_rootfs_hook function to match the latest change in fstab file from the base-files recipe. The related commit is as follows. commit e8bc7a136a81a0d8df2d32dfba0920c1b2835141 base-files: use /dev/root in /etc/fstab for systemd support Signed-off-by

[OE-core] [PATCH 0/1] image.bbclass: replace rootfs with /dev/root

2014-03-26 Thread Chen Qi
The following changes since commit f0e1c22ee1cc581fbe8a56e707dcdb015d58fdb6: local.conf.sample.extended: update it for the archiver (2014-03-26 12:15:00 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/rootfs-dev-root http://cgit.

[OE-core] [PATCH] systemd-serialgetty: update to match systemd 211

2014-03-26 Thread Jonathan Liu
Signed-off-by: Jonathan Liu --- meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service b/meta/recipes-core/systemd/systemd-serialgetty/serial-getty@.service in

[OE-core] Question on linux-yocto-custom

2014-03-26 Thread Adam Lee
Good afternoon everyone, I got a quick question here: the example recipe linux-yocto-custom.bb in meta-skeleton has these two lines: inherit kernel require recipes-kernel/linux/linux-yocto.inc And I am trying to figure out if we must define 'inherit kernel' in this recipe. Looking at linux-yoct

[OE-core] [PATCH] git: Fix perl paths in scripts and population of the perltools package

2014-03-26 Thread Richard Purdie
References to "perl-native" were slipping into the target packages. These changes ensure those references are cleaned up and that tools using perl are packaged in the correct perltools package. The same issues affected the nativesdk-git output so are also applied there. [YOCTO #5918] Signed-off-b

Re: [OE-core] [oe] initial support for musl libc with OE/Yocto Project

2014-03-26 Thread Burton, Ross
On 26 March 2014 22:04, Khem Raj wrote: > There were interest in other threads in having musl as an alternative > to eglibc/uclibc that we already have in OE, in that direction I have > poured in my on and off work and put it into a contrib tree Blimey Khem that was quick. :) Ross -- __

[OE-core] initial support for musl libc with OE/Yocto Project

2014-03-26 Thread Khem Raj
Hi There were interest in other threads in having musl as an alternative to eglibc/uclibc that we already have in OE, in that direction I have poured in my on and off work and put it into a contrib tree http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/musl TCLIBC=musl MACHINE=qe

Re: [OE-core] [yocto] OpenEmbedded and musl-libc

2014-03-26 Thread Khem Raj
On Wed, Mar 26, 2014 at 9:48 AM, Thomas Petazzoni wrote: > Dear Khem Raj, > > On Fri, 21 Mar 2014 11:22:24 -0700, Khem Raj wrote: > >> it has been under my radar for a while. I have actually locally made >> toolchains with >> clang+musl and it seems to be coming along. its licensed differently tha

[OE-core] [PATCH] weston : refactor to identify EGL, cairoglesv2 support

2014-03-26 Thread Otavio Salvador
From: Prabhu Sundararaj Signed-off-by: Prabhu Sundararaj Signed-off-by: Otavio Salvador --- meta/recipes-graphics/wayland/weston_1.4.0.bb | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/wayland/weston_1.4.0.bb b/meta/recipes-graphics/wayland/we

Re: [OE-core] --conf Was: Features in Yocto Project 1.7

2014-03-26 Thread Nicolas Dechesne
On Wed, Mar 26, 2014 at 3:38 PM, Otavio Salvador wrote: >> As a concrete example, currently I'm flipping between dora and master >> builds. For some reason I can't seem to reuse the same TMPDIR between >> them. So every time I "repo init -b " I then also have to >> edit conf/local.conf before bitb

Re: [OE-core] [oe-commits] Stefan Stanacar : recipes-bsp: Add gummiboot recipe

2014-03-26 Thread Martin Jansa
On Tue, Mar 11, 2014 at 04:23:55PM +, g...@git.openembedded.org wrote: > Module: openembedded-core.git > Branch: master > Commit: 8f95d0598c31fff76e2a58fecb6c96197121a044 > URL: > http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8f95d0598c31fff76e2a58fecb6c96197121a044 > > A

Re: [OE-core] [PATCH 01/11] bluez4: Add virtual/bluez as provider

2014-03-26 Thread Lauren Post
Yes, I am working on it with all the feedback for other patches. I missed it on last batch but before I send it going to add all the other changes in v2 version. I'll review with Otavio before I resubmit and test with both bluez4 and bluez5. Lauren -Original Message- From: Burton, Ros

[OE-core] State of bitbake world, Failed tasks 2014-03-26

2014-03-26 Thread Martin Jansa
On Sun, Mar 23, 2014 at 09:43:24PM +0100, Martin Jansa wrote: > On Tue, Mar 18, 2014 at 07:50:08PM +0100, Martin Jansa wrote: > > On Sat, Mar 15, 2014 at 03:10:46PM +0100, Martin Jansa wrote: > > > On Tue, Mar 11, 2014 at 02:50:14PM +0100, Martin Jansa wrote: > > > > On Tue, Mar 11, 2014 at 02:45:0

Re: [OE-core] [PATCH 01/11] bluez4: Add virtual/bluez as provider

2014-03-26 Thread Burton, Ross
Surely there should also be a patch to do the same for bluez5 so the switch can be compile-tested? Ross On 26 March 2014 14:27, Lauren Post wrote: > This will make it easier to allow bluez5 support later > Without this change too many components depend directly on bluez4 > If these components de

Re: [OE-core] [PATCH 08/11] gstreamer1.0-plugins-bad: Change PACKAGECONFIG from bluez4 to virtual/bluez

2014-03-26 Thread Burton, Ross
On 26 March 2014 14:28, Lauren Post wrote: > This allows easy transition to bluez5 in future I'd say that whilst you're editing this file the duplication should be removed, but gst-plugins-bad has this in configure.ac: PKG_CHECK_MODULES([BLUEZ], [bluez < 5.0], So no, I don't think this will w

Re: [OE-core] [PATCH 10/11] default-providers: Add virtual/bluez PROVIDER support to bluez4

2014-03-26 Thread Burton, Ross
On 26 March 2014 14:28, Lauren Post wrote: > # There are issues with runtime packages and PREFERRED_PROVIDER, see YOCTO > #5044 for details > # on this rather strange entry. > -PREFERRED_PROVIDER_bluez4 ?= "bluez4" > +PREFERRED_PROVIDER_virtual/bluez ?= "bluez4" Pretty sure you'll want to keep

Re: [OE-core] [PATCH 00/11] Change all bluez4 references to virtual/bluez

2014-03-26 Thread Burton, Ross
On 26 March 2014 16:33, Otavio Salvador wrote: > I don't know if someone is tracking the packages which uses the D-Bus > API of BlueZ to be check if there are available patches for it. So the big problem is PulseAudio. It finally supports Bluez5 with the latest release but migrating to Bluez5 ri

Re: [OE-core] [PATCH] selftest/bbtests.py: Fixed regex and added bitbake output to test_warnings_errors

2014-03-26 Thread Alexandru Palalau
Hi, On 3/26/2014 6:48 PM, Corneliu Stoicescu wrote: The test failed when more than 1 error or 1 warning is present. Also pasting the bitbake output when the test fails. Signed-off-by: Corneliu Stoicescu --- meta/lib/oeqa/selftest/bbtests.py | 8 1 file changed, 4 insertions(+), 4 de

Re: [OE-core] [PATCH 00/11] Change all bluez4 references to virtual/bluez

2014-03-26 Thread Otavio Salvador
Hello Chris, On Wed, Mar 26, 2014 at 12:40 PM, Chris Larson wrote: >> Last time I've asked for bluez4->bluez5 upgrade path fix on target I was >> told that it's not supported and bluez5 isn't drop-in replacement for >> bluez4 (yet), did that change already? > > Afaik libbluetooth is API compatibl

Re: [OE-core] [PATCH 00/11] Change all bluez4 references to virtual/bluez

2014-03-26 Thread Otavio Salvador
Hello Martin, On Wed, Mar 26, 2014 at 12:35 PM, Martin Jansa wrote: > On Wed, Mar 26, 2014 at 12:07:13PM -0300, Otavio Salvador wrote: >> On Wed, Mar 26, 2014 at 11:51 AM, Martin Jansa >> wrote: >> > On Wed, Mar 26, 2014 at 09:27:54AM -0500, Lauren Post wrote: >> >> This group of patches suppor

Re: [OE-core] [PATCH 09/11] bluez-hcidump: Change depends from bluez4 to virtual/bluez

2014-03-26 Thread Burton, Ross
On 26 March 2014 14:28, Lauren Post wrote: > -DEPENDS = "bluez4" > +DEPENDS = "virtual/bluez" bluez-hcidump is integrated into bluez5, so this should remain as a DEPENDS on bluez4 and bluez5 should provide bluez-hcidump. Ross -- ___ Openembedded-core

[OE-core] eglibc: powerpc time related syscall malfunction

2014-03-26 Thread Mats Kärrman
Hi, The system is an OE-Core Dora "distro-less" build for a 32-bit PowerPC MPC5125. Tune file used is tune-ppce300c3.inc. eglibc version 2.18, gcc 4.8.1, binutils 2.23.2 (Dora defaults). The symptom that made me discover the problem was that some programs could not get the correct system time whi

Re: [OE-core] [RFC PATCH 1/3] base.bbclass: Run oe_import before other INHERITs

2014-03-26 Thread Richard Purdie
On Wed, 2014-03-26 at 08:34 -0700, Chris Larson wrote: > > On Wed, Mar 26, 2014 at 2:30 AM, Richard Purdie > wrote: > +# We need the oe module name space early (before INHERITs get > added) > +# and whilst ugly, abusing inherit like this is quite > effective >

Re: [OE-core] [PATCH 07/11] gst-plugin-bluetooth: Change DEPENDS from bluez4 to virtual/bluez

2014-03-26 Thread Burton, Ross
On 26 March 2014 14:28, Lauren Post wrote: > -DEPENDS = "bluez4 gst-plugins-base" > +DEPENDS = "virtual/bluez gst-plugins-base" gst-plugin-bluetooth is literally a rebuild of bluez with --enable-gstreamer where everything else gets deleted. This is pretty vile and it should be a PACKAGECONFIG op

Re: [OE-core] [PATCH 00/11] Change all bluez4 references to virtual/bluez

2014-03-26 Thread Chris Larson
On Wed, Mar 26, 2014 at 7:51 AM, Martin Jansa wrote: > On Wed, Mar 26, 2014 at 09:27:54AM -0500, Lauren Post wrote: > > This group of patches support the change of hardcoded bluez4 to > > virtual/bluez so that the upgrade to bluez5 is easier. > > > > This group of patches must be applied together.

Re: [OE-core] [PATCH 00/11] Change all bluez4 references to virtual/bluez

2014-03-26 Thread Martin Jansa
On Wed, Mar 26, 2014 at 12:07:13PM -0300, Otavio Salvador wrote: > Hello Martin, > > On Wed, Mar 26, 2014 at 11:51 AM, Martin Jansa wrote: > > On Wed, Mar 26, 2014 at 09:27:54AM -0500, Lauren Post wrote: > >> This group of patches support the change of hardcoded bluez4 to > >> virtual/bluez so th

Re: [OE-core] [RFC PATCH 1/3] base.bbclass: Run oe_import before other INHERITs

2014-03-26 Thread Chris Larson
On Wed, Mar 26, 2014 at 2:30 AM, Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > +# We need the oe module name space early (before INHERITs get added) > +# and whilst ugly, abusing inherit like this is quite effective > +BASEIMPORTS = "${@oe_import(d)}" > +inherit ${BASEIMPORTS} > W

Re: [OE-core] [PATCH 06/11] pulseaudio: Change PACKAGECONFIG from bluez4 to virtual/bluez

2014-03-26 Thread Burton, Ross
On 26 March 2014 14:28, Lauren Post wrote: > -PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', > 'bluez4', '', d)} \ > +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', > 'virtual/bluez', '', d)} \ > ${@base_contains('DISTRO_FEATURES', 's

[OE-core] [PATCH] sanity.bbclass: Update against bitbake sanity event changes

2014-03-26 Thread Richard Purdie
Bitbake will now trigger sanity events when it needs the checks to run in all cases so we can drop the ConfigParsed hook. We now control whether events are generated or errors are raised from the event itself. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sanity.bbclass b/meta/cla

Re: [OE-core] [PATCH 00/11] Change all bluez4 references to virtual/bluez

2014-03-26 Thread Otavio Salvador
Hello Martin, On Wed, Mar 26, 2014 at 11:51 AM, Martin Jansa wrote: > On Wed, Mar 26, 2014 at 09:27:54AM -0500, Lauren Post wrote: >> This group of patches support the change of hardcoded bluez4 to >> virtual/bluez so that the upgrade to bluez5 is easier. >> >> This group of patches must be appli

Re: [OE-core] [PATCH 00/11] Change all bluez4 references to virtual/bluez

2014-03-26 Thread Lauren Post
On Wed, Mar 26, 2014 at 09:27:54AM -0500, Lauren Post wrote: > This group of patches support the change of hardcoded bluez4 to > virtual/bluez so that the upgrade to bluez5 is easier. > > This group of patches must be applied together. Bluez4 is still > default provider but it will be easier to

[OE-core] [PATCH 10/11] default-providers: Add virtual/bluez PROVIDER support to bluez4

2014-03-26 Thread Lauren Post
Signed-off-by: Lauren Post --- meta/conf/distro/include/default-providers.inc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc index 419ffcd..5c51e4b 100644 --- a/meta/conf/distr

Re: [OE-core] [PATCH 00/11] Change all bluez4 references to virtual/bluez

2014-03-26 Thread Martin Jansa
On Wed, Mar 26, 2014 at 09:27:54AM -0500, Lauren Post wrote: > This group of patches support the change of hardcoded bluez4 to > virtual/bluez so that the upgrade to bluez5 is easier. > > This group of patches must be applied together. Bluez4 is still > default provider but it will be easier to o

[OE-core] [PATCH 11/11] package-group: Change bluez4 to virtual/bluez

2014-03-26 Thread Lauren Post
This allows easy transition to bluez5 in future Signed-off-by: Lauren Post --- .../packagegroups/packagegroup-base.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/package

Re: [OE-core] --conf Was: Features in Yocto Project 1.7

2014-03-26 Thread Martin Jansa
On Wed, Mar 26, 2014 at 10:33:04AM -0400, Trevor Woerner wrote: > On 03/25/14 01:50, Martin Jansa wrote: > > Can you show some example of config you need to have wor wayland and > > cannot have for core-image-minimal? > > Okay, good point. I should have thought harder to come up with a better > e

[OE-core] [PATCH 08/11] gstreamer1.0-plugins-bad: Change PACKAGECONFIG from bluez4 to virtual/bluez

2014-03-26 Thread Lauren Post
This allows easy transition to bluez5 in future Signed-off-by: Lauren Post --- .../gstreamer/gstreamer1.0-plugins-bad.inc |2 +- .../gstreamer/gstreamer1.0-plugins-bad_git.bb |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-multimedia/gstrea

[OE-core] [PATCH] selftest/bbtests.py: Fixed regex and added bitbake output to test_warnings_errors

2014-03-26 Thread Corneliu Stoicescu
The test failed when more than 1 error or 1 warning is present. Also pasting the bitbake output when the test fails. Signed-off-by: Corneliu Stoicescu --- meta/lib/oeqa/selftest/bbtests.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/selftest/bbtests.

Re: [OE-core] [PATCH 0/3] Replace ocf-linux with cryptodev-linux

2014-03-26 Thread Otavio Salvador
Hello Kai, On Wed, Mar 26, 2014 at 7:15 AM, Kai Kang wrote: > Replace ocf-linux with cryptodev-linux because linux-yocto use > cryptodev-linux to implement /dev/crypto. Thanks for handling it; I was going to address same issue this week so we could have it upstreamed and drop the Freescale bbap

[OE-core] [PATCH 07/11] gst-plugin-bluetooth: Change DEPENDS from bluez4 to virtual/bluez

2014-03-26 Thread Lauren Post
This allows easy transition to bluez5 in future Signed-off-by: Lauren Post --- .../bluez/gst-plugin-bluetooth_4.101.bb|2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb b/meta/recipes-connectivity/blue

[OE-core] [PATCH 06/11] pulseaudio: Change PACKAGECONFIG from bluez4 to virtual/bluez

2014-03-26 Thread Lauren Post
This allows easy transition to bluez5 in future Signed-off-by: Lauren Post --- meta/recipes-multimedia/pulseaudio/pulseaudio.inc |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulse

[OE-core] [PATCH 01/11] bluez4: Add virtual/bluez as provider

2014-03-26 Thread Lauren Post
This will make it easier to allow bluez5 support later Without this change too many components depend directly on bluez4 If these components depend on virtual/bluez then easier to upgrade. Signed-off-by: Lauren Post --- meta/recipes-connectivity/bluez/bluez4.inc |4 1 file changed, 4 in

[OE-core] [PATCH 09/11] bluez-hcidump: Change depends from bluez4 to virtual/bluez

2014-03-26 Thread Lauren Post
This allows easy transition to bluez5 in future Signed-off-by: Lauren Post --- .../bluez/bluez-hcidump_2.5.bb |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb b/meta/recipes-connectivity/bluez/bluez-h

[OE-core] [PATCH 02/11] conman: Change RDEPENDS on bluez4 to virtual/bluez

2014-03-26 Thread Lauren Post
This will allow seamless upgrade to bluez5 later Signed-off-by: Lauren Post --- meta/recipes-connectivity/connman/connman.inc |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc

Re: [OE-core] [PATCH 1/3] cryptodev-linux: add recipe

2014-03-26 Thread Otavio Salvador
On Wed, Mar 26, 2014 at 7:15 AM, Kai Kang wrote: > Yocto kernel linux-yocto uses cryptodev-linux to use device /dev/crypto. > So add cryptodev-linux which is one alternative of ocf-linux and then > remove ocf-linux later. > > Signed-off-by: Kai Kang Awesome Kai, I was about to send the same thin

[OE-core] [PATCH 00/11] Change all bluez4 references to virtual/bluez

2014-03-26 Thread Lauren Post
This group of patches support the change of hardcoded bluez4 to virtual/bluez so that the upgrade to bluez5 is easier. This group of patches must be applied together. Bluez4 is still default provider but it will be easier to override and provide bluez5 support in future. Note there is one relate

[OE-core] [PATCH 03/11] libpcap: Change PACKAGECONFIG from bluez4 to virutal/bluez

2014-03-26 Thread Lauren Post
This will allow easy transition to upgrade to bluez5 Signed-off-by: Lauren Post --- meta/recipes-connectivity/libpcap/libpcap.inc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc

[OE-core] [PATCH 04/11] neard: Change RRECOMMENDS from bluez4 to virtual/bluez

2014-03-26 Thread Lauren Post
This allows easy transition to bluez5 in future Signed-off-by: Lauren Post --- 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 1dde1da..18

[OE-core] [PATCH 05/11] ofono: Change DEPENDS from bluez4 to virtual/bluez

2014-03-26 Thread Lauren Post
This allows easy transition to bluez5 in future Signed-off-by: Lauren Post --- meta/recipes-connectivity/ofono/ofono.inc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc index 3972e06..ff

[OE-core] [PATCH] autoconf: new autotest/testsuite option to enable automake test result format

2014-03-26 Thread Radu Patriu
lib/autotest/general.m4: added "--am-fmt | -A" command line parameter for testsuite script to enable "RESULT: testname" output format; to be used by yocto ptest packages directly or with autoconf TESTSUITEFLAGS. Signed-off-by: Radu Patriu --- .../autoconf/autotest-automake-result-format.patch |

Re: [OE-core] --conf Was: Features in Yocto Project 1.7

2014-03-26 Thread Otavio Salvador
On Wed, Mar 26, 2014 at 11:33 AM, Trevor Woerner wrote: > On 03/25/14 01:50, Martin Jansa wrote: >> Can you show some example of config you need to have wor wayland and >> cannot have for core-image-minimal? > ... > As a concrete example, currently I'm flipping between dora and master > builds. Fo

Re: [OE-core] [PATCH] package_manager: Fix apt-ftparchive index creation problems

2014-03-26 Thread Otavio Salvador
Hello Ricardo, On Wed, Mar 26, 2014 at 10:19 AM, Ricardo Ribalda Delgado wrote: > My fault sorry. I dont have a running system on master. I tried to > port the patch that I tested on dora. Please try the patches in master before sending them, specially when it changes a so core feature like this

Re: [OE-core] --conf Was: Features in Yocto Project 1.7

2014-03-26 Thread Trevor Woerner
On 03/25/14 01:50, Martin Jansa wrote: > Can you show some example of config you need to have wor wayland and > cannot have for core-image-minimal? Okay, good point. I should have thought harder to come up with a better example :-) It's funny, actually, that you're the one pressing me on this, I

[OE-core] [PATCH] scripts: Update after addtion of parameter to bitbake -S

2014-03-26 Thread Richard Purdie
Signed-off-by: Richard Purdie --- diff --git a/scripts/bitbake-whatchanged b/scripts/bitbake-whatchanged index 90ad2f8..e4497e0 100755 --- a/scripts/bitbake-whatchanged +++ b/scripts/bitbake-whatchanged @@ -272,7 +272,7 @@ Note: try: # Generate the new stamps dir print("Gene

Re: [OE-core] [PATCH 2/3] buildhistory.bbclass: Fix dependency files creation

2014-03-26 Thread Laurentiu Palcu
Please file a bug on this. thanks, laurentiu On Wed, Mar 26, 2014 at 01:45:40PM +0200, Florin Sarbu wrote: > On 03/26/2014 12:09 PM, Laurentiu Palcu wrote: > >On Wed, Mar 26, 2014 at 09:15:43AM +, Sarbu, Florin-Ionut (Florin) wrote: > >>I get the same error on do_rootfs for a rpm based image:

Re: [OE-core] [PATCH] package_manager: Fix apt-ftparchive index creation problems

2014-03-26 Thread Ricardo Ribalda Delgado
Acked-by: Ricardo Ribalda Hello My fault sorry. I dont have a running system on master. I tried to port the patch that I tested on dora. Thanks Richard On Wed, Mar 26, 2014 at 12:40 PM, Richard Purdie wrote: > a) There were missing parameters to the release and package commands (".") > > b)

Re: [OE-core] [PATCH 2/3] buildhistory.bbclass: Fix dependency files creation

2014-03-26 Thread Florin Sarbu
On 03/26/2014 12:09 PM, Laurentiu Palcu wrote: On Wed, Mar 26, 2014 at 09:15:43AM +, Sarbu, Florin-Ionut (Florin) wrote: I get the same error on do_rootfs for a rpm based image: Exception: UnboundLocalError: local variable 'new_arch' referenced before assignment Does this happen on latest

[OE-core] [PATCH] apt/package_mamager: Ensure WORKDIR is used for lists directory

2014-03-26 Thread Richard Purdie
The native sysroot should not be used as a store for the lists files since multiple images running at once would conflict over this. Instead redirect this to WORKDIR. This means some extra directories need to be created. Also create apt.conf.d to silence some warnings. Signed-off-by: Richard Purd

[OE-core] [PATCH] package_manager: Fix apt-ftparchive index creation problems

2014-03-26 Thread Richard Purdie
a) There were missing parameters to the release and package commands (".") b) The commands need to be executed as one block since they build upon each other Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 692528d..824af00 1006

[OE-core] [PATCH] package_manager: Ensure we don't process directories twice

2014-03-26 Thread Richard Purdie
Processing directories twice is both pointless and introduces a race condition. When building the list, ensure duplicates (like "all" and "noarch") are handled correctly. Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 0cdf3b0..

Re: [OE-core] serial console problem

2014-03-26 Thread Yi Qingliang
On Wednesday, March 26, 2014 11:16:44 AM Jacob Kroon wrote: > Hi Yi, > > On Wed, Mar 26, 2014 at 11:06 AM, Yi Qingliang wrote: > > Hi, > > > > after update to the latest git version of poky, my image can't > > > > start > > the serial console, i.e. I can't login, I'm using systemd as t

Re: [OE-core] serial console problem

2014-03-26 Thread Yi Qingliang
On Wednesday, March 26, 2014 06:06:36 PM Yi Qingliang wrote: > Hi, > after update to the latest git version of poky, my image can't start > the serial console, i.e. I can't login, I'm using systemd as the init > manager. any idea? > > log: > > Freeing init memory: 132K > systemd[1]: system

Re: [OE-core] serial console problem

2014-03-26 Thread Jacob Kroon
Hi Yi, On Wed, Mar 26, 2014 at 11:06 AM, Yi Qingliang wrote: > Hi, > after update to the latest git version of poky, my image can't > start > the serial console, i.e. I can't login, I'm using systemd as the init > manager. any idea? > > log: > > Freeing init memory: 132K > systemd[1]: sy

[OE-core] [PATCH 2/3] openssl: replace dependency ocf-linux with cryptodev-linux

2014-03-26 Thread Kai Kang
ocf-linux only provides header files but no implementation in kernel. And Yocto kernel linux-yocto use cryptodev-linux to implement /dev/crypto interface. So replace dependency ocf-linux with cryptodev-linux for openssl. Signed-off-by: Kai Kang --- meta/recipes-connectivity/openssl/openssl_1.0.1

[OE-core] [PATCH 1/3] cryptodev-linux: add recipe

2014-03-26 Thread Kai Kang
Yocto kernel linux-yocto uses cryptodev-linux to use device /dev/crypto. So add cryptodev-linux which is one alternative of ocf-linux and then remove ocf-linux later. Signed-off-by: Kai Kang --- .../openssl/cryptodev-linux_1.6.bb | 22 ++ 1 file changed, 22 in

[OE-core] [PATCH 3/3] ocf-linux: remove recipe

2014-03-26 Thread Kai Kang
ocf-linux only provides header file and no kernel module is built. We can't use ocf-linux without its implementation. And linux-yocto uses an alternative project cryptodev-linux, so we remove ocf-linux and use cryptodev-linux instead. Signed-off-by: Kai Kang --- meta/recipes-connectivity/openssl

[OE-core] [PATCH 0/3] Replace ocf-linux with cryptodev-linux

2014-03-26 Thread Kai Kang
Replace ocf-linux with cryptodev-linux because linux-yocto use cryptodev-linux to implement /dev/crypto. Build for qemux86 and qemuarm. Test on qemux86. Test steps: 1 set CONFIG_CRYPTODEV for linux-yocto by menuconfig Cryptographic API ---> cryptodev module support 2 bitbake core-image-sato

Re: [OE-core] [PATCH 2/3] buildhistory.bbclass: Fix dependency files creation

2014-03-26 Thread Laurentiu Palcu
On Wed, Mar 26, 2014 at 09:15:43AM +, Sarbu, Florin-Ionut (Florin) wrote: > I get the same error on do_rootfs for a rpm based image: > > Exception: UnboundLocalError: local variable 'new_arch' referenced before > assignment Does this happen on latest master? Do you have the 4 patches, startin

[OE-core] serial console problem

2014-03-26 Thread Yi Qingliang
Hi, after update to the latest git version of poky, my image can't start the serial console, i.e. I can't login, I'm using systemd as the init manager. any idea? log: Freeing init memory: 132K systemd[1]: systemd 211 running in system mode. (-PAM +LIBWRAP - AUDIT -SELINUX +IMA +SYSVINI

Re: [OE-core] SDK build refers to existing installed SDK

2014-03-26 Thread Laurentiu Palcu
On Wed, Mar 26, 2014 at 07:40:26AM +, Mats Kärrman wrote: > On Wednesday, March 26, 2014 4:23 AM, Khem Raj wrote: > > > Hi, > > > > > > I just ran into an unexpected error while doing some multitasking. > > > Project is based on OE-core Dora "distroless". > > > > > > While my build machine was

[OE-core] [RFC PATCH 3/3] base.bbclass: Add detection/sanity check of non-global class inheritance

2014-03-26 Thread Richard Purdie
Users are doing things like inheriting bootimg in local.conf and not understanding that there are two types of class, "global" classes and "recipe" classes. This patch starts to markup the recipe classes to tell the user when they're including a "recipe" class in global context by mistake. RFC:

[OE-core] [Dora] Does anyone has more patches for dora, please ?

2014-03-26 Thread Robert Yang
Hello, If you have any patches for dora, please send to the mailing list in recent days. -- Thanks Robert -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core

[OE-core] [RFC PATCH 2/3] base.bbclass: Merge two ConfigParsed event handlers

2014-03-26 Thread Richard Purdie
There were two ConfigParsed event handlers in base.bbclass, this merges them together for small efficiency wins. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index f085173..360b112 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/ba

[OE-core] [RFC PATCH 1/3] base.bbclass: Run oe_import before other INHERITs

2014-03-26 Thread Richard Purdie
Its possible for classes listed in INHERIT directives to use things like the oe.utils functions. If that happens the user sees a traceback since the modules don't become available until the ConfigParsed event. Whilst rather ugly, this change means that the oe modules become available much sooner a

[OE-core] [dora] [PATCH 0/1] image_types.bbclass: use 4096 instead of 8192 bytes-per-inode

2014-03-26 Thread Robert Yang
The following changes since commit 4e00554dfc68b1aad07e161921c27807511420b1: license.bbclass: fix copying license directories failed (2014-03-25 11:17:06 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib robert/dora-next http://cgit.opene

[OE-core] [PATCH 1/1] image_types.bbclass: use 4096 instead of 8192 bytes-per-inode

2014-03-26 Thread Robert Yang
The image not correctly created if 'ptest-pkgs' is in IMAGE_FEATURES, this is because there is no free inode left. We can use 4096 instead of 8192 bytes-per-inode to fix the problem, and most of the distributions us 4096, such as Ubuntu, Suse, Fedora and CentOS. There are another problems: * There

Re: [OE-core] [PATCH 2/3] buildhistory.bbclass: Fix dependency files creation

2014-03-26 Thread Sarbu, Florin-Ionut (Florin)
I get the same error on do_rootfs for a rpm based image: Exception: UnboundLocalError: local variable 'new_arch' referenced before assignment Florin From: openembedded-core-boun...@lists.openembedded.org [openembedded-core-boun...@lists.openembedded.org]

[OE-core] [PATCH 3/3] Security Advisory - openssl - CVE-2013-6449

2014-03-26 Thread jackie.huang
From: Yue Tao The ssl_get_algorithm2 function in ssl/s3_lib.c in OpenSSL before 1.0.2 obtains a certain version number from an incorrect data structure, which allows remote attackers to cause a denial of service (daemon crash) via crafted traffic from a TLS 1.2 client. Signed-off-by: Yue Tao Si

[OE-core] [PATCH 2/3] Security Advisory - openssl - CVE-2013-6450

2014-03-26 Thread jackie.huang
From: Yue Tao The DTLS retransmission implementation in OpenSSL through 0.9.8y and 1.x through 1.0.1e does not properly maintain data structures for digest and encryption contexts, which might allow man-in-the-middle attackers to trigger the use of a different context by interfering with packet d

[OE-core] [PATCH 1/3] Security Advisory - openssl - CVE-2013-4353

2014-03-26 Thread jackie.huang
From: Yue Tao The ssl3_take_mac function in ssl/s3_both.c in OpenSSL 1.0.1 before 1.0.1f allows remote TLS servers to cause a denial of service (NULL pointer dereference and application crash) via a crafted Next Protocol Negotiation record in a TLS handshake. Signed-off-by: Yue Tao Signed-off-b

[OE-core] [PATCH 0/3] openssl: three CVE patches

2014-03-26 Thread jackie.huang
From: Jackie Huang The following changes since commit 43d717df16312a8f0333aff6b8b037b4b9d51bf3: toaster.bbclass: update buildstats event data (2014-03-25 14:19:57 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib jhuang0/r_port60_openssl_140326-1 http:/

[OE-core] [PATCH 1/2] gnupg: CVE-2013-4351

2014-03-26 Thread jackie.huang
From: Ming Liu GnuPG 1.4.x, 2.0.x, and 2.1.x treats a key flags subpacket with all bits cleared (no usage permitted) as if it has all bits set (all usage permitted), which might allow remote attackers to bypass intended cryptographic protection mechanisms by leveraging the subkey. Signed-off-by:

[OE-core] [PATCH 2/2] gnupg: CVE-2013-4576

2014-03-26 Thread jackie.huang
From: Yong Zhang GnuPG 1.x before 1.4.16 generates RSA keys using sequences of introductions with certain patterns that introduce a side channel, which allows physically proximate attackers to extract RSA keys via a chosen-ciphertext attack and acoustic cryptanalysis during decryption. NOTE: appl

[OE-core] [PATCH 0/2] gnupg: two CVE patches

2014-03-26 Thread jackie.huang
From: Jackie Huang The following changes since commit 43d717df16312a8f0333aff6b8b037b4b9d51bf3: toaster.bbclass: update buildstats event data (2014-03-25 14:19:57 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib jhuang0/r_port60_gnupg_140326-1 http://g

Re: [OE-core] [PATCH V2] gzip: fix MakeMaker issues with using wrong SHELL/GREP

2014-03-26 Thread Hongxu Jia
Ping //Hongxu On 11/30/2013 11:18 AM, Ming Liu wrote: A set of substitution is being processed to all target scripts with sed by replacing some key words with the detected values at configure time, this is exactly not compliant with cross compling, and will cause missing path errors at run time

[OE-core] [PATCH] setserial: package depends on groff-native to build

2014-03-26 Thread jackie.huang
From: Yue Tao Signed-off-by: Jonas Zetterberg Signed-off-by: Yue Tao Signed-off-by: Jackie Huang --- meta/recipes-bsp/setserial/setserial_2.17.bb |2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-bsp/setserial/setserial_2.17.bb b/meta/recipes-bsp/setserial/setserial_2.17.

Re: [OE-core] SDK build refers to existing installed SDK

2014-03-26 Thread Mats Kärrman
On Wednesday, March 26, 2014 4:23 AM, Khem Raj wrote: > > Hi, > > > > I just ran into an unexpected error while doing some multitasking. > > Project is based on OE-core Dora "distroless". > > > > While my build machine was busy building a new SDK using "-c populate_sdk" > > I simultaneously delete

Re: [OE-core] [PATCH] cpio rootfs build: Avoid modifying rootfs dir

2014-03-26 Thread Jonas Eriksson
Hi Andrea, On Wed, Mar 26, 2014 at 00:04:55 +0100 Andrea Adami wrote: > I admit I did not encounter this race, still I tested the patch > because it caught my attention. > > There are some rare cases where init is a symlink pointing to a custom > executable so the previous test was specifically d

[OE-core] [PATCH 0/1] util-linux-native: fix qsort_r for CentOS 5.10

2014-03-26 Thread Robert Yang
The following changes since commit 43d717df16312a8f0333aff6b8b037b4b9d51bf3: toaster.bbclass: update buildstats event data (2014-03-25 14:19:57 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib rbt/ul http://cgit.openembedded.org/cgit.cgi/o

[OE-core] [PATCH 1/1] util-linux-native: fix qsort_r for CentOS 5.10

2014-03-26 Thread Robert Yang
The qsort_r() was added to glibc in version 2.8, so there is no qsort_r() on the host like CentOS 5.x, use qsort() to fix it since they are nearly identical. Signed-off-by: Robert Yang --- .../util-linux/util-linux-native-qsort.patch | 34 meta/recipes-core/util-linu