[OE-core] [PATCH] buildstats: check IMAGE_ROOTFS exists before checking its size

2016-10-18 Thread Mikko Ylinen
After 0d6b7276003f1afabc6de683f663540327d52bdc, the exceptions are correctly checked if the rootfs size check fails. In case of a failure a build error is triggered. However, there are cases where this is known to fail (e.g., with meta-swupd the rootfs for swupd images is other than IMAGE_ROOTFS).

[OE-core] [PATCH 2/2] kern-tools: make patches with shell-unsafe characters valid

2016-10-18 Thread Bruce Ashfield
If a patch contains characters like ; or (), it can cause processing errors in the patch queue. We had previously fixed this issue by renaming the patches to not include invalid characters, but with this change to the kern tools that ensures patch names are wrapped in quotes, we avoid shell proces

[OE-core] [PATCH 1/2] linux-yocto/4.4/4.8: kernel config warning cleanups

2016-10-18 Thread Bruce Ashfield
Merging the following patches into 4.4 and 4.8 to remove kernel configuration warnings: bbaf01752b01 meta-yocto-bsp: beaglebone: remove the stale kernel options 552a83790b17 features: Fix configcheck warnings in features used by intel-quark BSPs c33d9c2c575f features: Fix configcheck warnin

[OE-core] [PATCH 0/2] kernel-yocto: (small) consolidated pull request

2016-10-18 Thread Bruce Ashfield
Hi all, Here are two patches that I've been carrying that are safe for the 2.2 release. I have other patches/fixes and -stable updates in my queue, but I'm going to hold them back until after the release in the name of stability. We have one configuration cleanup patch, and a kern tools change to

Re: [OE-core] [krogoth][PATCH 00/10] Backports from master (cover letter only)

2016-10-18 Thread akuster808
On 10/18/2016 03:15 PM, Paul Eggleton wrote: These have passed through the devtool/recipetool/bblayers oe-selftest tests. The following changes since commit a8f44dff13481feaa97e494a3aeafb5b63d40f3f: binutils: fix AR issue when opkg is unpacking IPKs containing empty entries (2016-10-06 1

[OE-core] [krogoth][PATCH 00/10] Backports from master (cover letter only)

2016-10-18 Thread Paul Eggleton
These have passed through the devtool/recipetool/bblayers oe-selftest tests. The following changes since commit a8f44dff13481feaa97e494a3aeafb5b63d40f3f: binutils: fix AR issue when opkg is unpacking IPKs containing empty entries (2016-10-06 14:09:32 +0100) are available in the git repositor

[OE-core] [PATCH 5/5] u-boot: Drop redundant comment

2016-10-18 Thread Marek Vasut
Drop comment stating that the SRCREV corresponds to particular U-Boot version. This comment is redundant, since the U-Boot version is part of the recipe filename. Signed-off-by: Marek Vasut Cc: Richard Purdie Cc: Denys Dmytriyenko --- meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc | 1 -

[OE-core] [PATCH 4/5] u-boot: Drop PV altogether

2016-10-18 Thread Marek Vasut
Drop the explicit setting of PV altogether. This changes the U-Boot version string from "v20yy.mm" to "20yy.mm" , so layer setting the PREFERRED_VERSION_u-boot must be updated by removing the leading 'v'. Signed-off-by: Marek Vasut Cc: Richard Purdie Cc: Denys Dmytriyenko --- meta/recipes-bsp/

[OE-core] [PATCH 1/5] u-boot: Factor out common bits

2016-10-18 Thread Marek Vasut
The u-boot recipes share a couple of common variables, which makes updating of the recipes error prone and a toil. Factor those common bits into u-boot-common_${PV}.inc so that they are in one place. The u-boot_${PV}.bb now explicitly require u-boot-common_${PV}.inc before require u-boot.inc , as

[OE-core] [PATCH 2/5] u-boot: Update to 2016.09.01 release

2016-10-18 Thread Marek Vasut
Upgrade U-Boot to the latest version. Signed-off-by: Marek Vasut Cc: Richard Purdie Cc: Denys Dmytriyenko --- .../{u-boot-common_2016.03.inc => u-boot-common_2016.09.01.inc} | 8 .../{u-boot-fw-utils_2016.03.bb => u-boot-fw-utils_2016.09.01.bb} | 0 .../{u-boot-mkimage_2016.03.bb =>

[OE-core] [PATCH 3/5] u-boot: Drop the +git part from PV

2016-10-18 Thread Marek Vasut
The U-Boot package is using release versions of U-Boot, so drop the extra +git part from PV. Signed-off-by: Marek Vasut Cc: Richard Purdie Cc: Denys Dmytriyenko --- meta/recipes-bsp/u-boot/u-boot-common_2016.09.01.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/rec

Re: [OE-core] [PATCH v2] insane.bbclass: Additional "mips" and "mipsel" machine definitions

2016-10-18 Thread Paul Eggleton
On Tue, 18 Oct 2016 09:23:12 Juro Bystricky wrote: > Add "mips" and "mipsel" to "machdata" table. > Although there is a way to add entries to the "machdata" table > from a BSP without modifying the insane.bbclass directly, MIPS is > already supported in openembedded-core and as such the relevant en

Re: [OE-core] [PATCH 0/2] Re-add piglit to sdk images

2016-10-18 Thread Paul Eggleton
On Tue, 18 Oct 2016 11:13:11 Randy MacLeod wrote: > On 2016-10-14 02:31 PM, Jussi Kukkonen wrote: > > Piglit was removed because the current version was making sdk > > images too large. This patchset reduces the installed size by 1.5GB > > and adds piglit back to core-tools-testapps. > > > > Runni

[OE-core] Minutes from OEDEM on 10/14

2016-10-18 Thread Philip Balister
Many thanks to the people that helped take minutes at OEDEM. Jefro copied them fro the google doc to the wiki. http://openembedded.org/wiki/OEDEM_2016#Minutes Philip PS: Please trim replies to this email to an appropriate list. -ETOOMANYLISTS -- ___ O

Re: [OE-core] [PATCH] kernel-arch.bbclass: Add xtensa and arc into valid_archs table

2016-10-18 Thread Khem Raj
> On Oct 18, 2016, at 9:13 AM, Bystricky, Juro wrote: > > The single purpose of "map_kernel_arch" is to set > > export ARCH = "arch_xxx" > > Presently, we must set ARCH even when building baremetal toolchains only, > without any need to build kernel. However, in this case we may > encounter a

Re: [OE-core] [PATCH 7/9] selftest: skip runtime-test's test_testimage_install on poky-tiny distro

2016-10-18 Thread Joshua Lock
On Mon, 2016-10-17 at 11:02 -0500, Leonardo Sandoval wrote: > > On 10/17/2016 02:09 AM, Joshua Lock wrote: > > > > On Fri, 2016-10-14 at 11:40 -0500, > > leonardo.sandoval.gonza...@linux.intel.com wrote: > > > > > > From: Leonardo Sandoval > > om> > > > > > > Distro poky-tiny cannot build the

Re: [OE-core] [PATCH 4/9] selftest: skip some devtool tests when distro is poky-tiny due to missing libx11

2016-10-18 Thread Joshua Lock
On Mon, 2016-10-17 at 10:19 -0500, Leonardo Sandoval wrote: > > > > > > > On 10/17/2016 06:42 AM, Burton, Ross >   wrote: > > > > >    > > > > > > > >   On 14 October 2016 at 17:40, > > wrote: > > > > >       > > >    

Re: [OE-core] [PATCH 2/9] selftest: skip two bbtest tests depending on distro

2016-10-18 Thread Joshua Lock
On Mon, 2016-10-17 at 11:04 -0500, Leonardo Sandoval wrote: > > On 10/17/2016 02:08 AM, Joshua Lock wrote: > > > > On Fri, 2016-10-14 at 11:40 -0500, > > leonardo.sandoval.gonza...@linux.intel.com wrote: > > > > > > From: Leonardo Sandoval > > om> > > > > > > There are two bbtests that just ma

[OE-core] [PATCH v2] insane.bbclass: Additional "mips" and "mipsel" machine definitions

2016-10-18 Thread Juro Bystricky
Add "mips" and "mipsel" to "machdata" table. Although there is a way to add entries to the "machdata" table from a BSP without modifying the insane.bbclass directly, MIPS is already supported in openembedded-core and as such the relevant entries should be present in insane.bbclass. Signed-off-by:

Re: [OE-core] [PATCH] kernel-arch.bbclass: Add xtensa and arc into valid_archs table

2016-10-18 Thread Bystricky, Juro
The single purpose of "map_kernel_arch" is to set export ARCH = "arch_xxx" Presently, we must set ARCH even when building baremetal toolchains only, without any need to build kernel. However, in this case we may encounter a bogus error such as "cannot map arch_xxx to a linux kernel architectu

[OE-core] [PATCH 2/2] image_types: Add support for lzo compressed initial ramdisk

2016-10-18 Thread Vesa Jääskeläinen
Signed-off-by: Vesa Jääskeläinen --- meta/classes/image_types.bbclass | 4 +++- meta/classes/image_types_uboot.bbclass | 5 - 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 772cb35..b5eea0e 100644

[OE-core] [PATCH 1/2] image_types: Add support to compress initramfs with lz4

2016-10-18 Thread Vesa Jääskeläinen
Changed to use lz4 as lz4c seems to be deprecated. Removed use of redirection in favor of using output file. As Linux kernel supports only legacy format for initial ramdisk add COMPRESS_CMD_lz4_legacy mode in case some users are using newer format. Signed-off-by: Vesa Jääskeläinen --- meta/cla

Re: [OE-core] [PATCH] insane.bbclass: Additional "mips" and "mipsel" machine definitions

2016-10-18 Thread Bystricky, Juro
yes, good point. I will resend the patch with an updated commit message. > -Original Message- > From: Khem Raj [mailto:raj.k...@gmail.com] > Sent: Monday, October 17, 2016 4:38 PM > To: Bystricky, Juro > Cc: openembedded-core@lists.openembedded.org; jurobystri...@hotmail.com > Subject:

Re: [OE-core] [PATCH 0/2] Re-add piglit to sdk images

2016-10-18 Thread Randy MacLeod
On 2016-10-14 02:31 PM, Jussi Kukkonen wrote: Piglit was removed because the current version was making sdk images too large. This patchset reduces the installed size by 1.5GB and adds piglit back to core-tools-testapps. Running piglit still requires the same amount of space so in practice this

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Maciej Borzęcki
On Tue, Oct 18, 2016 at 4:24 PM, Ed Bartosh wrote: > On Tue, Oct 18, 2016 at 03:59:23PM +0200, Maciej Borzęcki wrote: >> >> >> >> > What's the advantage of creating unusable gap over creating >> >> >> >> > partition of >> >> >> >> > the same size that can be used? >> >> >> >> >> >> >> >> Just con

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Ed Bartosh
On Tue, Oct 18, 2016 at 03:59:23PM +0200, Maciej Borzęcki wrote: > >> >> >> > What's the advantage of creating unusable gap over creating > >> >> >> > partition of > >> >> >> > the same size that can be used? > >> >> >> > >> >> >> Just convenience. > >> >> >> > >> >> > What's the convenience of ha

Re: [OE-core] [meta-oe][PATCH] systemd-serialgetty: add dependency to agetty

2016-10-18 Thread Khem Raj
> On Oct 18, 2016, at 3:00 AM, Samuli Piippo wrote: > >> On 18.10.2016 02:36, Khem Raj wrote: >> >>> On Oct 11, 2016, at 8:14 AM, Samuli Piippo wrote: >>> >>> Signed-off-by: Samuli Piippo >>> --- >>> meta/recipes-core/systemd/systemd-serialgetty.bb | 2 +- >>> 1 file changed, 1 insertion(+),

Re: [OE-core] [meta-oe][PATCH] systemd-serialgetty: add dependency to agetty

2016-10-18 Thread Khem Raj
> On Oct 18, 2016, at 3:00 AM, Samuli Piippo wrote: > >> On 18.10.2016 02:36, Khem Raj wrote: >> >>> On Oct 11, 2016, at 8:14 AM, Samuli Piippo wrote: >>> >>> Signed-off-by: Samuli Piippo >>> --- >>> meta/recipes-core/systemd/systemd-serialgetty.bb | 2 +- >>> 1 file changed, 1 insertion(+),

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Maciej Borzęcki
On Tue, Oct 18, 2016 at 1:05 PM, Ed Bartosh wrote: > On Tue, Oct 18, 2016 at 01:07:48PM +0200, Maciej Borzęcki wrote: >> On Tue, Oct 18, 2016 at 12:17 PM, Ed Bartosh >> wrote: >> > On Tue, Oct 18, 2016 at 12:24:55PM +0200, Maciej Borzęcki wrote: >> >> On Tue, Oct 18, 2016 at 11:27 AM, Ed Bartosh

Re: [OE-core] [meta-oe][PATCH] systemd-serialgetty: add dependency to agetty

2016-10-18 Thread Samuli Piippo
On 18.10.2016 02:36, Khem Raj wrote: On Oct 11, 2016, at 8:14 AM, Samuli Piippo wrote: Signed-off-by: Samuli Piippo --- meta/recipes-core/systemd/systemd-serialgetty.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd-serialgetty.bb b/meta

Re: [OE-core] Two kmeta's not allowed for master?

2016-10-18 Thread Ulf Magnusson
On Tue, Oct 18, 2016 at 2:56 PM, Vesa Jääskeläinen wrote: > On 2016-10-11 16:38, Nathan Rossi wrote: >> >> On Tue, Oct 11, 2016 at 11:15 PM, wrote: >>> >>> Hi, >>> >>> I was trying out how well 'master' branch compiles in our environment. >>> >>> We are using meta-xilinx and then we have custom

Re: [OE-core] Two kmeta's not allowed for master?

2016-10-18 Thread Vesa Jääskeläinen
On 2016-10-11 16:38, Nathan Rossi wrote: On Tue, Oct 11, 2016 at 11:15 PM, wrote: Hi, I was trying out how well 'master' branch compiles in our environment. We are using meta-xilinx and then we have custom BSP layer which bbappends linux-xlnx. When using meta-xilinx as standalone (w/o our

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Ed Bartosh
On Tue, Oct 18, 2016 at 01:07:48PM +0200, Maciej Borzęcki wrote: > On Tue, Oct 18, 2016 at 12:17 PM, Ed Bartosh > wrote: > > On Tue, Oct 18, 2016 at 12:24:55PM +0200, Maciej Borzęcki wrote: > >> On Tue, Oct 18, 2016 at 11:27 AM, Ed Bartosh > >> wrote: > >> > On Tue, Oct 18, 2016 at 11:24:14AM +

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Maciej Borzęcki
On Tue, Oct 18, 2016 at 12:17 PM, Ed Bartosh wrote: > On Tue, Oct 18, 2016 at 12:24:55PM +0200, Maciej Borzęcki wrote: >> On Tue, Oct 18, 2016 at 11:27 AM, Ed Bartosh >> wrote: >> > On Tue, Oct 18, 2016 at 11:24:14AM +0200, Maciej Borzęcki wrote: >> >> On Tue, Oct 18, 2016 at 10:38 AM, Ed Bartos

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Ed Bartosh
On Tue, Oct 18, 2016 at 12:24:55PM +0200, Maciej Borzęcki wrote: > On Tue, Oct 18, 2016 at 11:27 AM, Ed Bartosh > wrote: > > On Tue, Oct 18, 2016 at 11:24:14AM +0200, Maciej Borzęcki wrote: > >> On Tue, Oct 18, 2016 at 10:38 AM, Ed Bartosh > >> wrote: > >> > On Tue, Oct 18, 2016 at 10:37:22AM +

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Maciej Borzęcki
On Tue, Oct 18, 2016 at 11:27 AM, Ed Bartosh wrote: > On Tue, Oct 18, 2016 at 11:24:14AM +0200, Maciej Borzęcki wrote: >> On Tue, Oct 18, 2016 at 10:38 AM, Ed Bartosh >> wrote: >> > On Tue, Oct 18, 2016 at 10:37:22AM +0200, Maciej Borzęcki wrote: >> >> On Tue, Oct 18, 2016 at 9:31 AM, Ed Bartosh

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Ed Bartosh
On Tue, Oct 18, 2016 at 11:24:14AM +0200, Maciej Borzęcki wrote: > On Tue, Oct 18, 2016 at 10:38 AM, Ed Bartosh > wrote: > > On Tue, Oct 18, 2016 at 10:37:22AM +0200, Maciej Borzęcki wrote: > >> On Tue, Oct 18, 2016 at 9:31 AM, Ed Bartosh > >> wrote: > >> > On Mon, Oct 17, 2016 at 04:46:00PM +0

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Maciej Borzęcki
On Tue, Oct 18, 2016 at 10:38 AM, Ed Bartosh wrote: > On Tue, Oct 18, 2016 at 10:37:22AM +0200, Maciej Borzęcki wrote: >> On Tue, Oct 18, 2016 at 9:31 AM, Ed Bartosh >> wrote: >> > On Mon, Oct 17, 2016 at 04:46:00PM +0200, Maciej Borzęcki wrote: >> >> On Mon, Oct 17, 2016 at 3:22 PM, Ed Bartosh

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Ed Bartosh
On Tue, Oct 18, 2016 at 10:37:22AM +0200, Maciej Borzęcki wrote: > On Tue, Oct 18, 2016 at 9:31 AM, Ed Bartosh > wrote: > > On Mon, Oct 17, 2016 at 04:46:00PM +0200, Maciej Borzęcki wrote: > >> On Mon, Oct 17, 2016 at 3:22 PM, Ed Bartosh > >> wrote: > >> > Hi Maciej, > >> > > >> > There is alre

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Maciej Borzęcki
On Tue, Oct 18, 2016 at 9:31 AM, Ed Bartosh wrote: > On Mon, Oct 17, 2016 at 04:46:00PM +0200, Maciej Borzęcki wrote: >> On Mon, Oct 17, 2016 at 3:22 PM, Ed Bartosh >> wrote: >> > Hi Maciej, >> > >> > There is already --size and --extra-space options. >> > Can we get the same or similar result b

Re: [OE-core] [PATCH] wic: add --reserved-size wks option

2016-10-18 Thread Ed Bartosh
On Mon, Oct 17, 2016 at 04:46:00PM +0200, Maciej Borzęcki wrote: > On Mon, Oct 17, 2016 at 3:22 PM, Ed Bartosh > wrote: > > Hi Maciej, > > > > There is already --size and --extra-space options. > > Can we get the same or similar result by just using them? Do we really > > need new option for simi