[OE-core] [PATCH] linux-libc-headers: backport uapi header list

2016-02-02 Thread Alexandru But
nvme uapi header was renamed from nvme.h to nvme_ioctl.h in linux 4.4, but the header list was not updated. This causes efivar (and maybe other) package build to fail. This should fix the build while the commit is backported in the kernel. Signed-off-by: Alexandru But ---

[OE-core] [PATCH 4/4][jethro] yocto-bsp: Set SRCREV meta/machine revisions to AUTOREV

2016-02-02 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval By default, checkout to latest revision from the machine branch specified by the user. (From meta-yocto rev: f79a43406b5b323587415380ecffc87527c64653) Signed-off-by: Leonardo Sandoval

[OE-core] [PATCH 0/4][jethro] yocto-bsp related patches backported from master

2016-02-02 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Set of patches that mainly fixes the do_patch issues found when creating BSP layers with the yocto-bsp tool. More detail on each patch description. Leonardo Sandoval (4): yocto-bsp: Default kernel version to 4.1 on x86_64

Re: [OE-core] [RFT][PATCH] curl: disable curl-config binconfig file

2016-02-02 Thread Andre McCurdy
On Tue, Feb 2, 2016 at 3:23 AM, Burton, Ross wrote: > > On 2 February 2016 at 04:18, Andre McCurdy wrote: >> >> Thanks. Unfortunately I don't see a clean solution for this. The >> setup.py script uses curl-config to determine which ssl implementation

Re: [OE-core] [PATCH] linux-libc-headers: backport uapi header list

2016-02-02 Thread Saul Wold
On Tue, 2016-02-02 at 20:05 +0200, Alexandru But wrote: > nvme uapi header was renamed from nvme.h to nvme_ioctl.h in linux > 4.4, but the > header list was not updated. This causes efivar (and maybe other) > package build > to fail. This should fix the build while the commit is backported in >

[OE-core] [PATCH 21/21] classes/testimage: Fix exportTests function.

2016-02-02 Thread Aníbal Limón
With new structure of TestContext now holds suite and variable that contains unittest instances, it can't be exported using JSON causing and exception. Adds the suite variable for avoid export it. Signed-off-by: Aníbal Limón --- meta/classes/testimage.bbclass | 2

[OE-core] [PATCH 2/4][jethro] yocto-bsp: Avoid duplication of user patches ({{=machine}}-user-patches.scc)

2016-02-02 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval On linux-yocto-dev or linux-yocto_X.YY bbappend files, the SRC_URI includes {{=machine}}-standard.scc, which in turn includes {{=machine}}-user-parches.scc, thus there is no need to include it again on the corresponding bbappend

Re: [OE-core] [PATCH 0/4][jethro] yocto-bsp related patches backported from master

2016-02-02 Thread Leonardo Sandoval
Wrong list. I will be sent again, this time to p...@yoctoproject.org On 02/02/2016 04:25 AM, leonardo.sandoval.gonza...@linux.intel.com wrote: From: Leonardo Sandoval Set of patches that mainly fixes the do_patch issues found when creating BSP

Re: [OE-core] [PATCH] linux-libc-headers: backport uapi header list

2016-02-02 Thread Saul Wold
On Tue, 2016-02-02 at 13:47 -0500, Bruce Ashfield wrote: > > > On Tue, Feb 2, 2016 at 1:40 PM, Saul Wold > wrote: > > On Tue, 2016-02-02 at 20:05 +0200, Alexandru But wrote: > > > nvme uapi header was renamed from nvme.h to nvme_ioctl.h in linux > > > 4.4, but the > > >

[OE-core] [PATCH 1/4][jethro] yocto-bsp: Default kernel version to 4.1 on x86_64

2016-02-02 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval On the 3.19 to 4.1 migration, the target x86_64 was not taken into account (no reason, just missing the correspoding update on the kernel-list.noinstall file), so moving it to 4.1 to be align with the rest. (From meta-yocto

[OE-core] [PATCH 3/4][jethro] yocto-bsp: Set KTYPE to user selected base branch

2016-02-02 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Fixes the hardcode branch name set to KTYPE, where its value is used as a base branch when user decides to create a new branch. Tested on x86_64 architecture. [YOCTO #8630] (From meta-yocto rev:

Re: [OE-core] [PATCH 15/20] classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable

2016-02-02 Thread Paul Eggleton
On Tue, 02 Feb 2016 15:23:54 Aníbal Limón wrote: > Paul Eggleton wrote: > > Rather than adding another variable for this why not just redirect the > > output to /dev/null ? > > Because this is disabled when SDK tests (compatibility) ran using eSDK > so sometimes needs to SILENT it when automatic

[OE-core] [PATCH] libxsettings-client: drop obsolete disable_Os_option.patch

2016-02-02 Thread Andre McCurdy
This patch to configure.ac to change the default CFLAGS from -Os to -O2 was added in 2010 as a workaround for a ppc specific bug which affected gcc 4.5.x: http://git.openembedded.org/openembedded-core/commit/?id=ce456306dad3fdf42494830011dacae213c48edf The bug in gcc was fixed upstream in gcc

[OE-core] [PATCH 3/3] gnutls.inc: allow libidn support to be controlled via PACKAGECONFIG

2016-02-02 Thread Andre McCurdy
libidn (Internationalized Domain Name support library) may not be desired in all cases, so add a PACKAGECONFIG option to control it. Allow --enable-doc, libtasn1 internal -vs- external (still internal by default) and p11-kit support to be controlled via PACKAGECONFIG too. Signed-off-by: Andre

Re: [OE-core] [PATCH 19/20] oeqa/sdkext: Add devtool basic tests for eSDK.

2016-02-02 Thread Aníbal Limón
On 02/02/2016 04:03 PM, Paul Eggleton wrote: > On Tue, 02 Feb 2016 09:14:22 Aníbal Limón wrote: >> From: Aníbal Limón >> >> Add simple myapp application is a C app that prints hello world >> and exit. >> >> Add devtool test for that this app to the workspace, build and

Re: [OE-core] [PATCH] [v2] watchdog: enable systemd support

2016-02-02 Thread Pau Espin Pedrol
Hi, Please could you use ${systemd_system_unitdir} instead of ${systemd_unitdir}/system ? Pau Espin Pedrol mail/jabber: pespin.s...@gmail.com http://blog.espeweb.net 2016-01-25 3:48 GMT+01:00 : > From: Roy Li > > 1. inherit systemd, and add

Re: [OE-core] [PATCH v2] kernel: Add support for multiple kernel packages

2016-02-02 Thread Haris Okanovic
Hi Diego, On 02/02/2016 10:12 AM, Diego Sueiro wrote: Haris, On 19 January 2016 at 22:40, Haris Okanovic > wrote: Any concerns pulling this into master as-is? We briefly discussed the possibility of building out-of-tree modules

Re: [OE-core] Default value for FULL_OPTIMIZATION

2016-02-02 Thread Phil Blundell
On Tue, 2016-02-02 at 14:26 +0100, Pascal Bach wrote: > I'm not sure if the documentation is wrong or if the default set in > bitbake.conf is incorrect. > Maybe somebody can shed some light on this. FULL_OPTIMIZATION in bitbake.conf did use to match what the documentation says (or at least, was

Re: [OE-core] [PATCH 15/20] classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable

2016-02-02 Thread Aníbal Limón
Because this is disabled when SDK tests (compatibility) ran using eSDK so sometimes needs to SILENT it when automatic process is working another times don't like when user uses it. In this case the SDK tests fails because it looks to stdout and found devtool msg. alimon On 02/02/2016

Re: [OE-core] [PATCH 13/20] oeqa/oetest.py: Fix missing oeqa.runtime import.

2016-02-02 Thread Paul Eggleton
On Tue, 02 Feb 2016 09:14:16 Aníbal Limón wrote: > From: Aníbal Limón > > oeqa.runtime import is used in TestContext to get data fixtures > directory. > > Signed-off-by: Aníbal Limón > --- > meta/lib/oeqa/oetest.py | 2 +- > 1 file changed, 1

[OE-core] [PATCH v2 1/3] [jethro] linux-yocto: Update SRCREV for qemux86* for 3.14, fixes CVE-2016-0728

2016-02-02 Thread Alejandro Hernandez
This addresses CVE-2016-0728: KEYS: Fix keyring ref leak in join_session_keyring(), and upgrades to LINUX_VERSION 3.14.39 Signed-off-by: Alejandro Hernandez --- meta/recipes-kernel/linux/linux-yocto_3.14.bb | 6 -- 1 file changed, 4 insertions(+), 2

[OE-core] [PATCH v2 2/3] [jethro] linux-yocto: Update SRCREV for qemux86* for 3.19, fixes CVE-2016-0728

2016-02-02 Thread Alejandro Hernandez
This addresses CVE-2016-0728: KEYS: Fix keyring ref leak in join_session_keyring() Signed-off-by: Alejandro Hernandez --- meta/recipes-kernel/linux/linux-yocto_3.19.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[OE-core] [PATCH 3/3] [jethro] linux-yocto: Update SRCREV for qemux86* for 4.1, fixes CVE-2016-0728

2016-02-02 Thread Alejandro Hernandez
This addresses CVE-2016-0728: KEYS: Fix keyring ref leak in join_session_keyring(), and upgrades to LINUX_VERSION 4.1.17 Signed-off-by: Alejandro Hernandez --- meta/recipes-kernel/linux/linux-yocto_4.1.bb | 6 -- 1 file changed, 4 insertions(+), 2

Re: [OE-core] [PATCH 18/20] classes/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST

2016-02-02 Thread Aníbal Limón
On 02/02/2016 04:06 PM, Paul Eggleton wrote: > On Tue, 02 Feb 2016 16:05:06 Aníbal Limón wrote: >> On 02/02/2016 03:52 PM, Paul Eggleton wrote: >>> On Tue, 02 Feb 2016 09:14:21 Aníbal Limón wrote: From: Aníbal Limón Extensible SDK needs to point to the

Re: [OE-core] [PATCH 13/20] oeqa/oetest.py: Fix missing oeqa.runtime import.

2016-02-02 Thread Aníbal Limón
Yes, but i think is better to import only the module that we need. :) On 02/02/2016 03:25 PM, Paul Eggleton wrote: > On Tue, 02 Feb 2016 09:14:16 Aníbal Limón wrote: >> From: Aníbal Limón >> >> oeqa.runtime import is used in TestContext to get data fixtures >> directory.

Re: [OE-core] [PATCH 15/20] classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable

2016-02-02 Thread Aníbal Limón
On 02/02/2016 03:31 PM, Paul Eggleton wrote: > On Tue, 02 Feb 2016 15:30:21 Aníbal Limón wrote: >> On 02/02/2016 03:25 PM, Paul Eggleton wrote: >>> On Tue, 02 Feb 2016 15:23:54 Aníbal Limón wrote: Paul Eggleton wrote: > Rather than adding another variable for this why not just redirect

Re: [OE-core] [PATCH 18/20] classes/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST

2016-02-02 Thread Paul Eggleton
On Tue, 02 Feb 2016 09:14:21 Aníbal Limón wrote: > From: Aníbal Limón > > Extensible SDK needs to point to the correct manifest so add > SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST variables. > > oeqa/oetest.py: Fix SDKExtTestContext for load the correct manifests.

Re: [OE-core] [PATCH 15/20] classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable

2016-02-02 Thread Paul Eggleton
On Tue, 02 Feb 2016 15:30:21 Aníbal Limón wrote: > On 02/02/2016 03:25 PM, Paul Eggleton wrote: > > On Tue, 02 Feb 2016 15:23:54 Aníbal Limón wrote: > >> Paul Eggleton wrote: > >>> Rather than adding another variable for this why not just redirect the > >>> output to /dev/null ? > >> > >> Because

Re: [OE-core] [PATCH 15/20] classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable

2016-02-02 Thread Paul Eggleton
On Tue, 02 Feb 2016 15:38:33 Aníbal Limón wrote: > On 02/02/2016 03:31 PM, Paul Eggleton wrote: > > On Tue, 02 Feb 2016 15:30:21 Aníbal Limón wrote: > >> On 02/02/2016 03:25 PM, Paul Eggleton wrote: > >>> On Tue, 02 Feb 2016 15:23:54 Aníbal Limón wrote: > Paul Eggleton wrote: > > Rather

Re: [OE-core] [PATCH 15/20] classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable

2016-02-02 Thread Paul Eggleton
I just dislike adding variables when we have another fairly simple alternative mechanism. If we had a concrete reason to want to be able to conditionally see other output from the script (even in future) then I could support it but as I understand it we don't. Cheers, Paul On Tue, 02 Feb 2016

[OE-core] [PATCH] meta: add ASSUME_PROVIDED dependency on wget-native for http fetches

2016-02-02 Thread Ross Burton
For clarity and consistency, add a dependency on wget-native for any URIs that will be fetched using the wget fetcher, and add wget-native to ASSUME_PROVIDED. Signed-off-by: Ross Burton --- meta/classes/base.bbclass | 4 meta/conf/bitbake.conf| 1 + 2 files

Re: [OE-core] [PATCH 19/20] oeqa/sdkext: Add devtool basic tests for eSDK.

2016-02-02 Thread Paul Eggleton
On Tue, 02 Feb 2016 09:14:22 Aníbal Limón wrote: > From: Aníbal Limón > > Add simple myapp application is a C app that prints hello world > and exit. > > Add devtool test for that this app to the workspace, build and > reset it. > > Signed-off-by: Aníbal Limón

Re: [OE-core] [PATCH 15/20] classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable

2016-02-02 Thread Aníbal Limón
I think is better to have the variable because this kind of message is an information one but what happens if you want to show a warning for make the test fails the variable gives you this possibility of choice what hide and what no but if you want to made the redirection is ok for me.

Re: [OE-core] [PATCH 18/20] classes/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST

2016-02-02 Thread Paul Eggleton
On Tue, 02 Feb 2016 16:05:06 Aníbal Limón wrote: > On 02/02/2016 03:52 PM, Paul Eggleton wrote: > > On Tue, 02 Feb 2016 09:14:21 Aníbal Limón wrote: > >> From: Aníbal Limón > >> > >> Extensible SDK needs to point to the correct manifest so add > >> SDK_EXT_TARGET_MANIFEST

[OE-core] [PATCH 2/3] gnutls.inc: add gmp to DEPENDS

2016-02-02 Thread Andre McCurdy
GnuTLS depends on gmp. The dependency is usually satisfied indirectly via nettle, but for correctness make it explicit in the gnutls recipe. Signed-off-by: Andre McCurdy --- meta/recipes-support/gnutls/gnutls.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[OE-core] [PATCH 0/3] gnutls: cleanup + add libidn PACKAGECONFIG option

2016-02-02 Thread Andre McCurdy
Andre McCurdy (3): gnutls.inc: minor formatting improvements gnutls.inc: add gmp to DEPENDS gnutls.inc: allow libidn support to be controlled via PACKAGECONFIG meta/recipes-support/gnutls/gnutls.inc | 44 ++ 1 file changed, 24 insertions(+), 20 deletions(-)

[OE-core] [PATCH 1/3] gnutls.inc: minor formatting improvements

2016-02-02 Thread Andre McCurdy
Reordering, plus combine two LDFLAGS_append_libc-uclibc lines into one. Signed-off-by: Andre McCurdy --- meta/recipes-support/gnutls/gnutls.inc | 41 +- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git

Re: [OE-core] [PATCH 0/3] Remove unhelpful default value of EXTRA_OEMAKE

2016-02-02 Thread Mike Crowe
On Tuesday 02 February 2016 at 16:01:14 +, Richard Purdie wrote: > On Tue, 2016-02-02 at 14:49 +, Mike Crowe wrote: > > bitbake.conf currently contains: > > > > EXTRA_OEMAKE = "-e MAKEFLAGS=" > > > > Back in November[1] I submitted a patch that allowed this default > > value to be

Re: [OE-core] [PATCH 15/20] classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable

2016-02-02 Thread Paul Eggleton
On Tue, 02 Feb 2016 09:14:18 Aníbal Limón wrote: > From: Aníbal Limón > > Sometimes we need to load environment without show help information > only useful when user is interacting with the SDK. > > For example: For test extensible SDK. > > Signed-off-by: Aníbal Limón

Re: [OE-core] [PATCH 15/20] classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable

2016-02-02 Thread Aníbal Limón
On 02/02/2016 03:25 PM, Paul Eggleton wrote: > On Tue, 02 Feb 2016 15:23:54 Aníbal Limón wrote: >> Paul Eggleton wrote: >>> Rather than adding another variable for this why not just redirect the >>> output to /dev/null ? >> >> Because this is disabled when SDK tests (compatibility) ran using

Re: [OE-core] [RFT][PATCH] curl: disable curl-config binconfig file

2016-02-02 Thread Burton, Ross
On 2 February 2016 at 18:40, Andre McCurdy wrote: > setup.py actually parses the output of curl-config --libs (ie "-lcurl > -lnettle -lgnutls -lz") to decide which ssl implementation curl has > been built against. There's nothing in curl's pkg-config file which > gives that

Re: [OE-core] [PATCH 18/20] classes/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST

2016-02-02 Thread Aníbal Limón
On 02/02/2016 03:52 PM, Paul Eggleton wrote: > On Tue, 02 Feb 2016 09:14:21 Aníbal Limón wrote: >> From: Aníbal Limón >> >> Extensible SDK needs to point to the correct manifest so add >> SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST variables. >> >> oeqa/oetest.py:

Re: [OE-core] [PATCH 18/20] classes/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST

2016-02-02 Thread Paul Eggleton
On Tue, 02 Feb 2016 16:13:12 Aníbal Limón wrote: > On 02/02/2016 04:06 PM, Paul Eggleton wrote: > > On Tue, 02 Feb 2016 16:05:06 Aníbal Limón wrote: > >> On 02/02/2016 03:52 PM, Paul Eggleton wrote: > >>> On Tue, 02 Feb 2016 09:14:21 Aníbal Limón wrote: > From: Aníbal Limón

Re: [OE-core] [PATCH 21/21] classes/testimage: Fix exportTests function.

2016-02-02 Thread Aníbal Limón
On 02/02/2016 04:30 PM, Paul Eggleton wrote: > On Tue, 02 Feb 2016 12:09:37 Aníbal Limón wrote: >> With new structure of TestContext now holds suite and variable >> that contains unittest instances, it can't be exported using >> JSON causing and exception. >> >> Adds the suite variable for

[OE-core] [PATCH] classes/lib: Add expand parameter to getVarFlag

2016-02-02 Thread Richard Purdie
This sets the scene for removing the default False for expansion from getVarFlag. This would later allow True to become the default. On the most part this is an automatic translation with: sed -e 's:\(\.getVarFlag([^,()]*, [^,()]*\)):\1, True):g' -i `grep -ril getVar *` In this case, the

[OE-core] openssl parallel make error (again)?

2016-02-02 Thread Jianxun Zhang
One of my builds hit parallel make error in openssl today. After some search, I guess it could be an old issue and see parallel make has been toggling several times around this problem in openssl recipe in the history. Is anyone or auto-builder seeing same issue recently? |

Re: [OE-core] openssl parallel make error (again)?

2016-02-02 Thread Andre McCurdy
On Tue, Feb 2, 2016 at 3:11 PM, Jianxun Zhang wrote: > One of my builds hit parallel make error in openssl today. After some > search, I guess it could be an old issue and see parallel make has been > toggling several times around this problem in openssl recipe in

Re: [OE-core] [PATCH 21/21] classes/testimage: Fix exportTests function.

2016-02-02 Thread Paul Eggleton
On Tue, 02 Feb 2016 12:09:37 Aníbal Limón wrote: > With new structure of TestContext now holds suite and variable > that contains unittest instances, it can't be exported using > JSON causing and exception. > > Adds the suite variable for avoid export it. > > Signed-off-by: Aníbal Limón

Re: [OE-core] [PATCH 0/3] Remove unhelpful default value of EXTRA_OEMAKE

2016-02-02 Thread Richard Purdie
On Tue, 2016-02-02 at 21:04 +, Mike Crowe wrote: > On Tuesday 02 February 2016 at 16:01:14 +, Richard Purdie wrote: > > On Tue, 2016-02-02 at 14:49 +, Mike Crowe wrote: > > > bitbake.conf currently contains: > > > > > > EXTRA_OEMAKE = "-e MAKEFLAGS=" > > > > > > Back in November[1] I

[OE-core] [PATCH] piglit: don't use /tmp to write generated sources to

2016-02-02 Thread Ross Burton
If there are multiple builds on the same machine then piglit writing it's generated sources to /tmp will race. Instead, export TEMP to tell the tempfile module to use a temporary directory under ${B}. Signed-off-by: Ross Burton ---

[OE-core] [PATCH v2 27/28] classes/testimage: exportTests simple improvment to use list instead of test expresions.

2016-02-02 Thread Aníbal Limón
It's better to use a list instead if variable isn't match some value. Signed-off-by: Aníbal Limón --- meta/classes/testimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass

[OE-core] [PATCH v2 28/28] classes/test{image, sdk}: Update Copyrights to match the true dates.

2016-02-02 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- meta/classes/testimage.bbclass | 2 +- meta/classes/testsdk.bbclass | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 7fff29f..6992a18 100644

Re: [OE-core] [PATCH] gcc-configure-common.inc: drop --enable-target-optspace from configure

2016-02-02 Thread Andre McCurdy
On Mon, Feb 1, 2016 at 6:47 PM, Khem Raj wrote: > >> On Feb 1, 2016, at 6:21 PM, Andre McCurdy wrote: >> >> On Mon, Feb 1, 2016 at 4:19 PM, Khem Raj wrote: >>> What is the size increase in gcc runtime when u do this >> >> No

[OE-core] [PATCH] gtk+3: Tweak getVar to use True, not 1

2016-02-02 Thread Richard Purdie
Cosmetic change to use "True", not 1 as expand parameter for getVar. Signed-off-by: Richard Purdie diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3.inc index 353c521..fa9281b 100644 --- a/meta/recipes-gnome/gtk+/gtk+3.inc +++

[OE-core] [PATCH v2 01/28] testimage: Modularize helper functions for get test lists.

2016-02-02 Thread Aníbal Limón
Test lists functions can be used in other parts so modularize it and move to oeqa/oetest.py library. Testimage class was updated to meet the new sign of the functions. Signed-off-by: Aníbal Limón --- meta/classes/testimage.bbclass | 78

[OE-core] [PATCH v2 00/28] Add Extensible SDK test suite

2016-02-02 Thread Aníbal Limón
Summary of changes, - Add new class called testsdk that now have the tests for SDK and eSDK. - TestContext -> {Image, SDK, SDKExt}: Remove all duplicate code inside testimage and testsdk class move into oeqa/oetest and create class per type of Test. -

[OE-core] [PATCH v2 10/28] testimage/testsdk: Modularize TestContext.

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón Move anonymous duplicated class TestContext from testimage/testsdk to oeqa/oetest now we have two new classes ImageTestContext and SDKTestContext with common code in TestContext class. Signed-off-by: Aníbal Limón ---

[OE-core] [PATCH v2 07/28] bb/fetch2: Move export_proxies function from wget to utils.

2016-02-02 Thread Aníbal Limón
In order to use in other modules since is a common function when needs to get proxies working. Signed-off-by: Aníbal Limón --- bitbake/lib/bb/fetch2/wget.py | 17 + bitbake/lib/bb/utils.py | 19 +++ 2 files changed, 20

[OE-core] [PATCH v2 04/28] populate_sdk_ext: Set TOOLCHAINEXT_OUTPUTNAME.

2016-02-02 Thread Aníbal Limón
This variable is needed by testextsdk to known the name of extensible sdk file generated. Signed-off-by: Aníbal Limón --- meta/classes/populate_sdk_ext.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH v2 12/28] oetest.py/TestContext: Move loadTests and runTests inside it.

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón Method's for loadTests and runTests make sense to define inside TestContext because it can be different around Image, SDK, SDKExt. Signed-off-by: Aníbal Limón --- meta/classes/testimage.bbclass | 6 +-

[OE-core] [PATCH v2 03/28] classes/testimage: Add defeault inherit for testsdk.

2016-02-02 Thread Aníbal Limón
For compatibility adds default inherit of the new class testsdk for now, we need to review the code base. Signed-off-by: Aníbal Limón --- meta/classes/testimage.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/testimage.bbclass

[OE-core] [PATCH v2 09/28] toolchain-shar-extract.sh: Add proxy variable to new env.

2016-02-02 Thread Aníbal Limón
Extensible SDK needs to do network operations so add proxies to environment. Signed-off-by: Aníbal Limón --- meta/files/toolchain-shar-extract.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/files/toolchain-shar-extract.sh

[OE-core] [PATCH v2 05/28] get_test_suites: Add sdkext type for load test suites.

2016-02-02 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- meta/lib/oeqa/oetest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index 18b2209..6470129 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py @@ -271,6 +271,8

[OE-core] [PATCH v2 08/28] classes/testsdk: Add call to export_proxies on testsdkext.

2016-02-02 Thread Aníbal Limón
Extensible SDK needs to use network and some networks requires proxies then export it. Signed-off-by: Aníbal Limón --- meta/classes/testsdk.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass

[OE-core] [PATCH v2 02/28] classes/testsdk: Add new class testsdk.

2016-02-02 Thread Aníbal Limón
Moves all the testsdk code from testimage in order to have it's own class because new tests will be added for extensible SDK. The old paths for store logs "${WORKDIR}/testimage" and sdk "${WORKDIR}/testimage-sdk" was maintained for compatibility may be change to point testsdk after review the

[OE-core] [PATCH v2 13/28] oeqa/oetest.py: Fix missing oeqa.runtime import.

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón oeqa.runtime import is used in TestContext to get data fixtures directory. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/oetest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oeqa/oetest.py

[OE-core] [PATCH v2 06/28] classes/testsdk: Add testsdkext task only install.

2016-02-02 Thread Aníbal Limón
Add task for test extensible sdk for now only install the SDK. Signed-off-by: Aníbal Limón --- meta/classes/testsdk.bbclass | 45 1 file changed, 45 insertions(+) diff --git a/meta/classes/testsdk.bbclass

[OE-core] [PATCH v2 18/28] classes/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón Extensible SDK needs to point to the correct manifest so add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST variables. oeqa/oetest.py: Fix SDKExtTestContext for load the correct manifests. Signed-off-by: Aníbal Limón ---

[OE-core] [PATCH v2 11/28] testimage/testsdk: Move get test suites routine inside TestContext.

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón In order to provide better abstraction move functions to get the test suite inside the TestContext. Signed-off-by: Aníbal Limón --- meta/classes/testimage.bbclass | 11 +-- meta/classes/testsdk.bbclass | 19 +---

[OE-core] [PATCH v2 20/28] classes/testsdk: Add help information on how to run tests.

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón Signed-off-by: Aníbal Limón --- meta/classes/testsdk.bbclass | 10 ++ 1 file changed, 10 insertions(+) diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass index 9f32848..cce889b 100644 ---

[OE-core] [PATCH v2 22/28] oeqa/sdkext/devtool.py: Add location test to ensure that devtool is the eSDK one.

2016-02-02 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- meta/lib/oeqa/sdkext/devtool.py | 7 +++ 1 file changed, 7 insertions(+) diff --git a/meta/lib/oeqa/sdkext/devtool.py b/meta/lib/oeqa/sdkext/devtool.py index 0262ed3..c5bb310 100644 --- a/meta/lib/oeqa/sdkext/devtool.py +++

[OE-core] [PATCH v2 14/28] classes/testsdk: Add function run_test_context

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón This helper functions will be serve as well to run extensible sdk tests so generalize it to get function context as arg. Signed-off-by: Aníbal Limón --- meta/classes/testsdk.bbclass | 62

[OE-core] [PATCH v2 23/28] Revert "classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable"

2016-02-02 Thread Aníbal Limón
This reverts commit 303985d3f402013c7c4a3355f19d48b1cef1c12f. As discussion with Paul Eggleton, he don't want to have env variables to change the behaviour of what the env script needs to print, i'll redirect the output in oeSDK.run() method. I didn't agree because it can hides another messages

[OE-core] [PATCH v2 25/28] oeqa/oetest.py: SDK{Ext, } improve host and target manifest load.

2016-02-02 Thread Aníbal Limón
Don't pass variable name instead of it expands the host and target manifest at init of the classes. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/oetest.py | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/meta/lib/oeqa/oetest.py

[OE-core] [PATCH v2 26/28] oeqa/oetest: Fix compatibility SDK tests using eSDK.

2016-02-02 Thread Aníbal Limón
When run SDK tests over eSDK we need to use SDKExtTestContext instead of SDKTestContext because if we use SDKTestContext search for SDK manifest and depends on the SDK manifest generation so populate_sdk needs to be executed. Adds a compatibility mode flag to SDKExtTestContext for search tests

[OE-core] [PATCH v2 16/28] classes/testsdk: Add compatibility SDK testsuite to eSDK

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón Extensible SDK is compatible with SDK test suite so it need to execute the same tests over it. Signed-off-by: Aníbal Limón --- meta/classes/testsdk.bbclass | 26 +- 1 file changed, 21 insertions(+), 5

[OE-core] [PATCH v2 15/28] classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón Sometimes we need to load environment without show help information only useful when user is interacting with the SDK. For example: For test extensible SDK. Signed-off-by: Aníbal Limón ---

[OE-core] [PATCH v2 19/28] oeqa/sdkext: Add devtool basic tests for eSDK.

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón Add simple myapp application is a C app that prints hello world and exit. Add devtool test for that this app to the workspace, build and reset it. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/sdkext/devtool.py | 25

[OE-core] [PATCH v2 17/28] testsdkext: Add skeleton for support Extensible SDK tests.

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón oeqa/sdkext: Add module and __init__.py will contain eSDK tests. classes/testsdk: Add support for run eSDK tests. oeqa/oetest: Create oeSDKExtTest for now only inherit oeSDKTest, modified SDKExtTestContext now inherit SDKTestContext

[OE-core] [PATCH v2 24/28] oeqa/oetest: oeSDKTest when run a command redirect env output to null

2016-02-02 Thread Aníbal Limón
Some tests are failing because the eSDK env load script shows a help message on the output so redirect this to /dev/null. classes/testsdk: Removed deprecated OE_SDK_EXT_SILENT variable. See Revert "classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable" commit for details. Signed-off-by:

[OE-core] [PATCH v2 21/28] classes/testimage: Fix exportTests function.

2016-02-02 Thread Aníbal Limón
With new structure of TestContext now holds suite and variable that contains unittest instances, it can't be exported using JSON causing and exception. Adds the suite variable for avoid export it. Signed-off-by: Aníbal Limón --- meta/classes/testimage.bbclass | 2

Re: [OE-core] [PATCH] linux-libc-headers: backport uapi header list

2016-02-02 Thread Bruce Ashfield
On Tue, Feb 2, 2016 at 1:40 PM, Saul Wold wrote: > On Tue, 2016-02-02 at 20:05 +0200, Alexandru But wrote: > > nvme uapi header was renamed from nvme.h to nvme_ioctl.h in linux > > 4.4, but the > > header list was not updated. This causes efivar (and maybe other) > >

Re: [OE-core] [PATCH 1/3] gnutls.inc: minor formatting improvements

2016-02-02 Thread Khem Raj
On Tue, Feb 2, 2016 at 2:12 PM, Andre McCurdy wrote: > Reordering, plus combine two LDFLAGS_append_libc-uclibc lines into one. > > Signed-off-by: Andre McCurdy > --- > meta/recipes-support/gnutls/gnutls.inc | 41 > +- >

[OE-core] [PATCH] glibc: fix CVE-2015-8777 and CVE-2015-8779

2016-02-02 Thread Yuanjie Huang
From: Yuanjie Huang According to http://seclists.org/oss-sec/2016/q1/153 CVE-2015-8777 LD_POINTER_GUARD was an environment variable which controls security-related behavior, but was not ignored for privileged binaries (in AT_SECURE mode). This might allow local

[OE-core] [PATCH] mktemp: lower the priority of standalone mktemp package

2016-02-02 Thread Zhixiong Chi
Lower the priority of the standalone mktemp package, so that finally the mktemp command installed into SDK image is coreutils.mktemp. coreutils.mktemp is widely extended to support more feature, and could not break some existing scripts and common usecases. For example: at least three 'X's, and

Re: [OE-core] Default value for FULL_OPTIMIZATION

2016-02-02 Thread Khem Raj
> On Feb 2, 2016, at 12:52 PM, Phil Blundell wrote: > > On Tue, 2016-02-02 at 14:26 +0100, Pascal Bach wrote: >> I'm not sure if the documentation is wrong or if the default set in >> bitbake.conf is incorrect. >> Maybe somebody can shed some light on this. > >

[OE-core] [PATCH 0/1] copy_buildsystem: add ability to exclude layers

2016-02-02 Thread Chen Qi
The following changes since commit 2218490b075b077683f17b643ab211c7716d0dfc: documentation.conf: align the documentation for DEBUG_OPTIMIZATION and FULL_OPTIMIZATION with bitbake.conf (2016-02-02 17:48:00 +) are available in the git repository at:

[OE-core] [PATCH 1/1] copy_buildsystem: add ability to exclude layers

2016-02-02 Thread Chen Qi
In some cases, we may have some kind of download layers in BBLAYERS, so that we can set BB_NO_NETWORK to "1". This results in extremely large extensible SDK. And we actually don't need these download layers in the SDK. Add a new variable, SDK_LAYERS_EXCLUDE, to enable users to explicitly exclude

[OE-core] [PATCH 1/1] Revert "kernel/kernel-arch: Explicitly mapping between i386/x86_64 and x86 for kernel ARCH"

2016-02-02 Thread Ioan-Adrian Ratiu
This reverts commit 8d310b24927d0f348fb431895f0583733db2aad0. That commit completely breaks KBUILD_DEFCONFIG because it relies on $ARCH to match between the target OE arch and the kernel subdirectory containing the defconfigs. In the kernel all defconfigs for everything x86-based (including

[OE-core] [PATCH 18/20] classes/populate_sdk_ext: Add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón Extensible SDK needs to point to the correct manifest so add SDK_EXT_TARGET_MANIFEST and SDK_EXT_HOST_MANIFEST variables. oeqa/oetest.py: Fix SDKExtTestContext for load the correct manifests. Signed-off-by: Aníbal Limón ---

[OE-core] [PATCH 19/20] oeqa/sdkext: Add devtool basic tests for eSDK.

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón Add simple myapp application is a C app that prints hello world and exit. Add devtool test for that this app to the workspace, build and reset it. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/sdkext/devtool.py | 25

[OE-core] [PATCH 10/20] testimage/testsdk: Modularize TestContext.

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón Move anonymous duplicated class TestContext from testimage/testsdk to oeqa/oetest now we have two new classes ImageTestContext and SDKTestContext with common code in TestContext class. Signed-off-by: Aníbal Limón ---

[OE-core] [PATCH 06/20] classes/testsdk: Add testsdkext task only install.

2016-02-02 Thread Aníbal Limón
Add task for test extensible sdk for now only install the SDK. Signed-off-by: Aníbal Limón --- meta/classes/testsdk.bbclass | 45 1 file changed, 45 insertions(+) diff --git a/meta/classes/testsdk.bbclass

[OE-core] [PATCH 07/20] bb/fetch2: Move export_proxies function from wget to utils.

2016-02-02 Thread Aníbal Limón
In order to use in other modules since is a common function when needs to get proxies working. Signed-off-by: Aníbal Limón --- bitbake/lib/bb/fetch2/wget.py | 17 + bitbake/lib/bb/utils.py | 19 +++ 2 files changed, 20

[OE-core] [PATCH 05/20] get_test_suites: Add sdkext type for load test suites.

2016-02-02 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- meta/lib/oeqa/oetest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index 18b2209..6470129 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py @@ -271,6 +271,8

[OE-core] [PATCH 08/20] classes/testsdk: Add call to export_proxies on testsdkext.

2016-02-02 Thread Aníbal Limón
Extensible SDK needs to use network and some networks requires proxies then export it. Signed-off-by: Aníbal Limón --- meta/classes/testsdk.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass

[OE-core] [PATCH 15/20] classes/populate_sdk_ext: Add OE_SDK_EXT_SILENT env variable

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón Sometimes we need to load environment without show help information only useful when user is interacting with the SDK. For example: For test extensible SDK. Signed-off-by: Aníbal Limón ---

[OE-core] [PATCH 17/20] testsdkext: Add skeleton for support Extensible SDK tests.

2016-02-02 Thread Aníbal Limón
From: Aníbal Limón oeqa/sdkext: Add module and __init__.py will contain eSDK tests. classes/testsdk: Add support for run eSDK tests. oeqa/oetest: Create oeSDKExtTest for now only inherit oeSDKTest, modified SDKExtTestContext now inherit SDKTestContext

[OE-core] [wic][PATCH] wic: default to empty bootloader config

2016-02-02 Thread Maciej Borzecki
A kickstart file for non-x86 boards may have no 'bootloader' stanza. It is the usual case if bootloader is setup using other mechanism than through wic, and is for instance a part of u-boot configuration. In such case the 'bootloader' field in the KickStart class will be uninitialized. Instead of

[OE-core] [PATCH][jethro] busybox: fix build of last applet

2016-02-02 Thread Ross Burton
If CONFIG_FEATURE_LAST_SMALL is enabled the build fails because of a broken __UT_NAMESIZE test. [ YOCTO #8869 ] Signed-off-by: Ross Burton --- .../busybox/busybox/0001-randconfig-fix.patch | 33 ++ meta/recipes-core/busybox/busybox_1.23.2.bb

  1   2   >