Re: [OE-core] [PATCH 01/42] gcc: Add gcc6 recipes

2016-05-31 Thread Paul Eggleton
On Wed, 01 Jun 2016 10:20:23 Paul Eggleton wrote: > On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote: > > On 11 May 2016 at 20:35, Khem Raj wrote: > > > +#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" > > > +BASEURI ?= "git:// > > > github.com/gcc-mirror/gcc;branch=gcc-6-branch;proto

Re: [OE-core] [PATCH 01/42] gcc: Add gcc6 recipes

2016-05-31 Thread Paul Eggleton
On Tue, 31 May 2016 11:12:21 Jussi Kukkonen wrote: > On 11 May 2016 at 20:35, Khem Raj wrote: > > +#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" > > +BASEURI ?= "git:// > > github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git" > > I guess this is where git2_github.com.gcc-mirr

Re: [OE-core] [PATCH 1/1] tcl: Only set BINCONFIG_GLOB for target builds

2016-05-31 Thread Andreas Müller
On Tue, May 31, 2016 at 11:51 AM, Peter Kjellerstedt wrote: > The recent change of how ${bindir_crossscripts} is installed to the > sysroot had the unforeseen effect that tclConfig.sh in the sysroot > contained invalid paths, which caused postgresql to fail to build. > The change in the contents o

[OE-core] [PATCHv3] systemd: allow add users as a rootfs postprocess cmd

2016-05-31 Thread Stephano Cetola
Adding all the users / groups to systemd is only available for readonly file systems. This change allows users to add them to read / write file systems as well by specifying: ROOTFS_POSTPROCESS_COMMAND += "systemd_create_users" Also, add "--shell /sbin/nologin" to each user's add params. [ YOCTO

[OE-core] [PATCHv3] systemd: allow add users as a rootfs postprocess cmd

2016-05-31 Thread Stephano Cetola
Changes since last revision: remove bbwarn Stephano Cetola (1): systemd: allow add users as a rootfs postprocess cmd meta/classes/rootfs-postcommands.bbclass | 43 +++- 1 file changed, 20 insertions(+), 23 deletions(-) -- 2.8.2 -- ___

[OE-core] [PATCHv2] systemd: allow add users as a rootfs postprocess cmd

2016-05-31 Thread Stephano Cetola
Adding all the users / groups to systemd is only available for readonly file systems. This change allows users to add them to read / write file systems as well by specifying: ROOTFS_POSTPROCESS_COMMAND += "systemd_create_users" Also, add "--shell /sbin/nologin" to each user's add params. [

[OE-core] [PATCHv2] systemd: allow add users as a rootfs postprocess cmd

2016-05-31 Thread Stephano Cetola
Changed since last version: Removed some unnecessary code. Stephano Cetola (1): systemd: allow add users as a rootfs postprocess cmd meta/classes/rootfs-postcommands.bbclass | 44 +++- 1 file changed, 21 insertions(+), 23 deletions(-) -- 2.8.2 -- ___

[OE-core] [PATCH] systemd: allow add users as a rootfs postprocess cmd

2016-05-31 Thread Stephano Cetola
Adding all the users / groups to systemd is only available for readonly file systems. This change allows users to add them to read / write file systems as well by specifying: ROOTFS_POSTPROCESS_COMMAND += "systemd_create_users" Also, add "--shell /sbin/nologin" to each user's add params. [ YOCTO

Re: [OE-core] Wic and "live" images

2016-05-31 Thread Christopher Larson
On Tue, May 31, 2016 at 8:31 AM, Ian Geiser wrote: > On Wed, 25 May 2016 16:04:50 -0400 Christopher Larson < > clar...@kergoth.com> wrote > > > > On Wed, May 25, 2016 at 4:35 AM, Ed Bartosh > wrote: > > > > It's debatable. As long as we keep the logic separated, such that > anythi

Re: [OE-core] Wic and "live" images

2016-05-31 Thread Ian Geiser
On Wed, 25 May 2016 16:04:50 -0400 Christopher Larson wrote > > On Wed, May 25, 2016 at 4:35 AM, Ed Bartosh > wrote: > > It's debatable. As long as we keep the logic separated, such that anything > bsp specific is in the machine or bsp layer, so the images are independent

[OE-core] [PATCH] openssl: fix the dangling libcrypto.a symlink

2016-05-31 Thread Maxin B. John
Update libcrypto.a symlink to the proper location. [YOCTO #9523] Signed-off-by: Maxin B. John --- meta/recipes-connectivity/openssl/openssl.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/

Re: [OE-core] Wic and "live" images

2016-05-31 Thread Ian Geiser
On Tue, 24 May 2016 15:56:39 -0400 Christopher Larson wrote > > On Tue, May 24, 2016 at 12:51 PM, Ed Bartosh > wrote: > > The thing is, it's likely the machine/bsp setting the WKS_FILE, yet in > OE/yocto we prefer machine/distro/image to be orthogonal. If you're > injec

Re: [OE-core] Wic and "live" images

2016-05-31 Thread Ian Geiser
On Tue, 24 May 2016 15:51:45 -0400 Ed Bartosh wrote > On Mon, May 23, 2016 at 08:13:28AM -0400, Ian Geiser wrote: > > > On Thu, May 19, 2016 at 05:52:45AM -0400, Ian Geiser wrote: [...snip...] > How about creating recipe to prepare content or your boot partition and then >

Re: [OE-core] [PATCH 1/2 v4] kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time

2016-05-31 Thread Herve Jourdain
Hi, OK, it seems I've found a patch for meta-raspberrypi. I'll be submitting it to the Yocto mailing list. Sorry for the noise. Herve -Original Message- From: Herve Jourdain [mailto:herve.jourd...@neuf.fr] Sent: mardi 31 mai 2016 13:37 To: 'zhe...@windriver.com' ; 'richard.pur...@linuxf

Re: [OE-core] [PATCH] perl-ptest.inc: fix tar call to prevent objcopy failure

2016-05-31 Thread Renato Caldas
Hi Enrico, Sorry for the late reply, I missed this e-mail... Your suggestions are very valid, although not strictly needed to fix this particular bug. My suggestion is that you submit a new patch with those improvements on top of the quick fix I made. I suggest you also add quotes to the --exclud

Re: [OE-core] [PATCH 1/2 v4] kernel: Add KERNEL_IMAGETYPES to build multi types kernel at one time

2016-05-31 Thread Herve Jourdain
Hi, I've just found out that this breaks the kernel builds on raspberrypi, because do_rpiboot_mkimage() uses ${KERNEL_OUTPUT}, and this patch removes it... (sorry to find that only now, but I only today switched to a new environment for some tests) I'm trying to find a patch to that one, but in th

Re: [OE-core] [jethro][PATCH] perl: reorder tar arguments in do_install_ptest()

2016-05-31 Thread Renato Caldas
Hi, I just received a request to submit this patch to jethro, as some people are still dependent on that version of yocto. Cheers, Renato 2016-05-31 11:50 GMT+01:00 Renato Caldas : > On some distributions tar requires the FILE argument to be the last, and > the existing order was causing the s

[OE-core] [jethro][PATCH] perl: reorder tar arguments in do_install_ptest()

2016-05-31 Thread Renato Caldas
On some distributions tar requires the FILE argument to be the last, and the existing order was causing the subsequent --exclude options to be dropped. Fixes [YOCTO #9673]. Signed-off-by: Renato Caldas --- meta/recipes-devtools/perl/perl-ptest.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 de

Re: [OE-core] [PATCH 2/2] bluez5: update to 5.40

2016-05-31 Thread Maxin B. John
Hi, On Tue, May 31, 2016 at 08:37:36AM +0100, Richard Purdie wrote: > On Mon, 2016-05-30 at 18:20 +0300, Maxin B. John wrote: > > 5.39 -> 5.40 > > > > Signed-off-by: Maxin B. John > > --- > > meta/recipes-connectivity/bluez5/{bluez5_5.39.bb => bluez5_5.40.bb} > > | 4 ++-- > > 1 file changed, 2

[OE-core] [PATCH 1/1] tcl: Only set BINCONFIG_GLOB for target builds

2016-05-31 Thread Peter Kjellerstedt
The recent change of how ${bindir_crossscripts} is installed to the sysroot had the unforeseen effect that tclConfig.sh in the sysroot contained invalid paths, which caused postgresql to fail to build. The change in the contents of tclConfig.sh was due to that it was previously installed to the sys

[OE-core] [PATCH 0/1] Correct tclConfig.sh in the sysroots

2016-05-31 Thread Peter Kjellerstedt
Restore the contents of tclConfig.sh in the sysroots so that postgresql can build again. //Peter The following changes since commit fcc2c3c4b3ca08528722442c90acd27e89291405: yocto-bsps: Update to 4.1 to include musb fixes (2016-05-30 15:58:16 +0100) are available in the git repository at:

Re: [OE-core] [PATCHv2 05/16] tcl: Use SYSROOT_DIRS to add dirs to stage in sysroot

2016-05-31 Thread Peter Kjellerstedt
> -Original Message- > From: Andreas Müller [mailto:schnitzelt...@googlemail.com] > Sent: den 28 maj 2016 15:42 > To: Peter Kjellerstedt > Cc: Patches and discussions about the oe-core layer > Subject: Re: [OE-core] [PATCHv2 05/16] tcl: Use SYSROOT_DIRS to add > dirs to stage in sysroot >

[OE-core] [PATCH] pango_1.40.1.bb: Fix compilation error

2016-05-31 Thread Dmitry Rozhkov
On a build host not having libglib-2.0 installed compiling pango fails with the error message ./gen-all-unicode: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory The executable doesn't have RPATH set to the library installed in the

Re: [OE-core] [PATCH 01/42] gcc: Add gcc6 recipes

2016-05-31 Thread Jussi Kukkonen
On 11 May 2016 at 20:35, Khem Raj wrote: > +#BASEURI ?= "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2" > +BASEURI ?= "git:// > github.com/gcc-mirror/gcc;branch=gcc-6-branch;protocol=git" > I guess this is where git2_github.com.gcc-mirror.gcc.tar.gz download comes from? It increased the size of

[OE-core] [PATCH v3] linux-dtb.inc: Support for .dtbo files for dtb overlays

2016-05-31 Thread Herve Jourdain
Signed-off-by: Herve Jourdain --- meta/recipes-kernel/linux/linux-dtb.inc | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc index 74f5ef8..8528d64 100644 --- a/meta/recipes-ker

[OE-core] [PATCH v3] Support for .dtbo files for dtb overlays

2016-05-31 Thread Herve Jourdain
Sorry, sent to the wrong list initially, then with wrong header, so updating header... v3: rebased Recent kernels tend to use .dtbo files for device tree overlays, instead of .dtb before. .dtb are still used, but only for the "real" device trees (not the overlays). On some platforms (meta-rasp

[OE-core] [yocto][PATCH v3] Support for .dtbo files for dtb overlays

2016-05-31 Thread Herve Jourdain
v3: rebased Recent kernels tend to use .dtbo files for device tree overlays, instead of .dtb before. .dtb are still used, but only for the "real" device trees (not the overlays). On some platforms (meta-raspberrypi for instance), recent firmware only loads .dtbo files for overlays. This patch t

[OE-core] [yocto][PATCH v3] linux-dtb.inc: Support for .dtbo files for dtb overlays

2016-05-31 Thread Herve Jourdain
Signed-off-by: Herve Jourdain --- meta/recipes-kernel/linux/linux-dtb.inc | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc index 74f5ef8..8528d64 100644 --- a/meta/recipes-ker

Re: [OE-core] [PATCH 00/45] Move recipes to use Python 3 whenever possible

2016-05-31 Thread Richard Purdie
On Tue, 2016-05-24 at 14:53 +0300, Alexander Kanavin wrote: > This patchset updates recipes to use Python 3 whenever possible. A > few items > cannot be moved at the moment for various reasons, here they are: I put this through a round of testing on the autobuilder overnight. I just replied to Ma

Re: [OE-core] [PATCH 2/2] bluez5: update to 5.40

2016-05-31 Thread Richard Purdie
On Mon, 2016-05-30 at 18:20 +0300, Maxin B. John wrote: > 5.39 -> 5.40 > > Signed-off-by: Maxin B. John > --- > meta/recipes-connectivity/bluez5/{bluez5_5.39.bb => bluez5_5.40.bb} > | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > rename meta/recipes-connectivity/bluez5/{bluez5_5.3

[OE-core] [PATCH] distro_check.py: Don't mix tabs and spaces

2016-05-31 Thread Jussi Kukkonen
Signed-off-by: Jussi Kukkonen --- This is needed by python3, applies to both master and python3 branches. meta/lib/oe/distro_check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py index 8655a6f..3d4a59b 100644