[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: git://git.openembedded.org/openembedded

[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 s

[OE-core] [PATCH 6/6] gcc: musl related fixes for unwinding, ppc/secure-plt and gthr

2016-02-02 Thread Khem Raj
These issues are fixing building gcc for target, ppc issue helps in fixing discrepency between gcc cmdline and linker cmdline Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-5.3.inc | 3 + ...-weak-reference-logic-in-gthr.h-for-os-ge.patch | 78 ++ ...

[OE-core] [PATCH 5/6] gcc: Assume libssp and dl_iterate_phdr on musl

2016-02-02 Thread Khem Raj
gcc configure fails to set these settings correctly on musl based builds Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-5.3.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/gcc/gcc-5.3.inc b/meta/recipes-devtools/gcc/gcc-5.3.inc index e12bfad..83e061f 100

[OE-core] [PATCH 3/6] security_flags: Disable fstack-protector for gcc runtime libs

2016-02-02 Thread Khem Raj
it causes a catch-22 situation where we build libssp in gcc-runtime but also pass -fstack-protector flags which require libssp, these libraries are special as well. also flush out ldflags Signed-off-by: Khem Raj --- meta/conf/distro/include/security_flags.inc | 9 ++--- 1 file changed, 6 in

[OE-core] [PATCH 1/6] nss-myhostname: Fix build on musl

2016-02-02 Thread Khem Raj
provide needed data types if nss.h is not available Signed-off-by: Khem Raj --- ...tname-Check-for-nss.h-presense-before-use.patch | 53 ++ .../nss-myhostname/nss-myhostname_0.3.bb | 4 +- 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 meta/r

[OE-core] [PATCH 4/6] security_flags: Replace -fstack-protector-all with -fstack-protector-strong

2016-02-02 Thread Khem Raj
since gcc 4.9 this is new option added to gcc which is a better version of fstack-protector-all with reduced stack usage and better performance yet giving same amount of coverage. pass fstack-protector-strong to linker flags as well so ld is passed flags to link with ssp libraries https://outflux

[OE-core] [PATCH 0/6] Fix issues when using security_flags on musl

2016-02-02 Thread Khem Raj
security_flags enabled builds revealed several issues when building on musl especially compiling gcc runtime libs we should not use fstack-protector another change is to replace with -fstack-protector-all with -fstack-protector-strong which is available since 4.9 and has best of both worlds (stack

[OE-core] [PATCH 2/6] gcc: Fix build on musl with -fstack-protector

2016-02-02 Thread Khem Raj
When enabling the secutity flags on musl based targets the builds fail due to libssp(gcc-runtime) build asking to link with libssp and libssp_nonshared.a when configuring libssp itself. This does not work with musl since it does provide ssp implementation but not like glibc where these libraries ar

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. > > FULL_OPTIMIZATION in bitbake.con

[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 m

[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 attackers (who can supply the en

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 > +- > 1 file changed, 21 insertions(+), 20 deleti

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

2016-02-02 Thread Khem Raj
> On Feb 2, 2016, at 4:36 PM, Andre McCurdy wrote: > > 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 sig

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 significant changes. >> >> Binaries which link statically with libgcc a

[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 --- a/meta/classes/testimage.b

[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 index 57858e6..7fff29f 100644 -

[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 b/meta/lib/oeqa/oetest.py index

[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 ove

[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 l

[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 --- a/meta/classes/testsdk.bbclass +++ b/meta/classes/testsdk

[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 +++ b/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 +++- 1 file changed, 32 insertions(+), 30 delet

[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: A

[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 +- 1 file changed, 1 insertio

[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 deletions(-) diff --git a/meta/classes/testsdk.bb

[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 --- meta/classes/populate_sdk_ext.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 delet

[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 + meta/lib/oeqa/sdkext/

[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 and set sdkext file

[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 --- meta/classes/populate_sdk_ext.bbclass | 3 +++ me

[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 +--- meta/lib/oeqa/oetest.py| 192 +

[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 b/meta/lib/oeqa/oetest.py index 28577ef..16705cc 100

[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 +- meta/classes/testsdk.bbclass | 6 +- meta/lib/oeqa/oetest.py

[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 +++--- meta/lib/oeqa/o

[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. - Ex

[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 insertions(+), 16 deletions(-) diff --

[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 a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk

[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 b/meta/files/toolchain-shar-extract.sh in

[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 @@ def get_test_suites(d, type

[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 index c169742..3665593 100644 ---

[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 code

[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 b/meta/classes/testimage.bbclass index ce7

[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 --- meta/classes/testimage.bbclass | 40 ++

[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 b/meta/classes/testsdk.bbclass index d81c456.

[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 +++ b/meta/recipes-gnome/gtk+/gtk+3.inc @@

[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 defa

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 the history. > > Is anyone or aut

[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? | ../../libcrypto.so:

[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 --- meta/recipes-graphics/piglit/piglit_git.bb | 6 ++ 1 file c

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

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 avoid

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] [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 two unit files which are from Fedora 23 > 2. auto load

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 > > Ext

[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 McC

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 >> reset it. >> >> Signed-

[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 --git a/meta/recipes-su

[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 a/meta/recipes-support/gnutls/gnutls.inc b/meta/

[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(-)

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 correct manifest so add

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 and SDK_EXT_HOST_MANIFES

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 > --- > meta/lib/oeqa/sdkext/dev

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: Fix SDKExtTestContext for

[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 changed, 5 insertions(+) dif

[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

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. > > Signed-off-by: Aníb

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

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 same information. > >

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. ali

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 th

[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 a/meta/recipes-kernel/linux/linux-yocto_3.19.bb b/meta/r

[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 deletions(-) diff --git a/meta/recipes-ker

[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 deletions(-) diff --git a/meta/recipes-k

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 t

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

2016-02-02 Thread Paul Eggleton
OK, then you need to say that in the commit message rather than saying that you're fixing a missing import - it's an optimisation, rather than a fix. Cheers, Paul On Tue, 02 Feb 2016 15:31:06 Aníbal Limón wrote: > Yes, but i think is better to import only the module that we need. :) > > On 02/0

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 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. >> >> Signed-off-by: Aníb

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 eSDK

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 insertion(+), 1 deletion(-) > > diff --git a/meta/

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 pr

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 03

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 > --- > meta/classes/pop

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 overrid

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 m

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 mailto:haris...@gmail.com>> wrote: Any concerns pulling this into master as-is? We briefly discussed the possibility of building out-of-tree modules against multiple kernels b

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 > > > header list was not updat

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 layers with the yocto-bsp tool. More detail on eac

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) > > package build > > to fail. Th

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 >> curl has been built against and that inform

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 > the

[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 file. [YOCTO #8486] (From meta-yocto rev:

[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: ab895be90a0cae7dfa77a8aab3b19e5571e7e7bc) 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 yocto-bsp: Avoid duplication of user patches

[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 rev: 283665d9295c3c10f964496dc0110137e358daa6)

[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 Signed-off-by: Richard Purdie (cherry picked from commit a35f79ddd8afe54835ad927b21b8

[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 +- 1 file changed, 1 insertio

[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 --- ...i-update-install-lis

[OE-core] [wic][PATCH v2 09/14] wic-image-minimal: update .wks to boot by qemu

2016-02-02 Thread Ed Bartosh
With below list of changes wic-image-minimal can be boot by qemu: - Changed device name sda -> vda. - Added root=/dev/vda2 to the kernel command line. - Changed mount point for core partition to /mnt to have it mounted on boot time. Signed-off-by: Ed Bartosh --- meta-selftest/r

[OE-core] [wic][PATCH v2 12/14] wic-image-minimal: use uuid for root partition

2016-02-02 Thread Ed Bartosh
Used --uuid option to generate PARTUUID for root partion and gpt partition type. As this image is used in runtime testing under qemu it makes sense to ensure that this way of specifying root partition works. Added dependency to gptfdisk-native to wic-image-minimal recipe to be able to create gpt p

[OE-core] [wic][PATCH v2 08/14] wic-image-minimal: change IMAGE_FSTYPES

2016-02-02 Thread Ed Bartosh
Replaced wic.bz2 -> wic in IMAGE_FSTYPES. wic-image-minimal is going to be booted in qemu and tested. As runqemu doesn't support compressed images this recipe needs to produce raw wic image. Signed-off-by: Ed Bartosh --- meta-selftest/recipes-test/images/wic-image-minimal.bb | 2 +- 1 file chan

  1   2   3   >