[OE-core] [PATCH 0/2] *** oe-selftest: add an assertExists() function and change tests to use it ***

2017-05-21 Thread Yeoh Ee Peng
*** Add assertExists and assertNotExists, then add QA test for both functions *** Yeoh Ee Peng (2): base.py: add assertExists and assertNotExists to oeselftest selftest/oeselftest: add QA test for assertExists and assertNotExists meta/lib/oeqa/selftest/base.py | 13 + met

[OE-core] [PATCH 1/2] base.py: add assertExists and assertNotExists to oeselftest

2017-05-21 Thread Yeoh Ee Peng
Current osselftest print confusing assertion message when using self.assertTrue(os.path.exists(filepath)) to test file path, example of confusing assertion message: AssertionError: False is not true Add the assertExists and assertNotExists to improve assertion message and simplify coding,

[OE-core] [PATCH 2/2] selftest/oeselftest: add QA test for assertExists and assertNotExists

2017-05-21 Thread Yeoh Ee Peng
Add QA tests for assertExists and assertNotExists inside osSelfTest class. Add positive and negative testing for each assert function. [YOCTO #11356] Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/selftest/oeselftest.py | 35 +++ 1 file changed, 35 insertions(+)

[OE-core] [PATCH 02/15] libnsl2: Add recipe

2017-05-21 Thread Khem Raj
NIS functionality has been split out into independent library from glibc Signed-off-by: Khem Raj --- .../0001-include-sys-cdefs.h-explicitly.patch | 68 ++ .../0002-Define-glibc-specific-macros.patch| 57 ++ meta/recipes-extended/libnsl/libnsl2_gi

[OE-core] [PATCH 05/15] libidn: Fix hardened build with musl

2017-05-21 Thread Khem Raj
Re-introduce the patch that was deemed to be not needed but it infact is still needed with musl Signed-off-by: Khem Raj --- .../libidn/0001-idn-format-security-warnings.patch | 181 + meta/recipes-extended/libidn/libidn_1.33.bb| 1 + 2 files changed, 182 insertions(

[OE-core] [PATCH 03/15] grub: Update to 2.02

2017-05-21 Thread Khem Raj
Drop git recipe, add arm bits to 2.02 itself Signed-off-by: Khem Raj --- ...-mfpmath-sse-as-well-when-SSE-is-disabled.patch | 0 ...nforce-no-pie-if-the-compiler-supports-it.patch | 45 --- ...E-2015-8370-Grub2-user-pass-vulnerability.patch | 53 - ...ct-_llseek-code-and-require-

[OE-core] [PATCH 01/15] musl: Update to latest master

2017-05-21 Thread Khem Raj
* f9f686b7 have posix_spawnattr_setflags check for supported flags * 77e895dc add no-op POSIX_SPAWN_USEVFORK to spawn.h * 0416 s390x: provide sigcontext struct definition * bb439bb1 implement new posix_spawn flag POSIX_SPAWN_SETSID * 58e2396a remove va_arg hacks in printf core with undefined be

[OE-core] [PATCH 06/15] libgcrypt: Do not restrict to ARM ISA

2017-05-21 Thread Khem Raj
This works ok with thumb2 as well now a days It was added in 2006 http://git.openembedded.org/openembedded/commit/?id=037b00e3d629962e8d2bc4fcc944c9ecf9a240be Signed-off-by: Khem Raj --- meta/recipes-support/libgcrypt/libgcrypt.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipe

[OE-core] [PATCH 11/15] linux-yocto: Enable drm by default

2017-05-21 Thread Khem Raj
Helps in running XFCE on virtualbox with HD Signed-off-by: Khem Raj --- meta/recipes-kernel/linux/linux-yocto/drm.cfg | 10 ++ meta/recipes-kernel/linux/linux-yocto_4.9.bb | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 meta/recipes-kernel/linux/linux-yocto/drm.cfg diff

[OE-core] [PATCH 04/15] glew: Compile with -D_GNU_SOURCE

2017-05-21 Thread Khem Raj
Required with glibc 2.26 when x11 is not in distro features it errors out due to mising CLOCK_REALTIME error: 'CLOCK_REALTIME' undeclared (first use in this function); did you mean '_XOPEN_REALTIME'? if (clock_gettime(CLOCK_REALTIME, &ts) == -1) ^~

[OE-core] [PATCH 07/15] webkitgtk: Fix build for armv5

2017-05-21 Thread Khem Raj
Detect atomics during configure Signed-off-by: Khem Raj --- .../detect-atomics-during-configure.patch | 34 ++ meta/recipes-sato/webkit/webkitgtk_2.16.1.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-sato/webkit/webkitgtk/detect-

[OE-core] [PATCH 08/15] xkeyboard-config: Enable nls support explicitly

2017-05-21 Thread Khem Raj
Helps compile when distros disable NLS Signed-off-by: Khem Raj --- meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.20.bb inde

[OE-core] [PATCH 10/15] db: Add --tag=CC to cross libtool invocation

2017-05-21 Thread Khem Raj
Fixes errors like libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' Signed-off-by: Khem Raj --- meta/recipes-support/db/db_5.3.28.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/db/db_5.3.28.bb b/meta

[OE-core] [PATCH 12/15] iproute2: Fix build error due to missing stdint.h> include

2017-05-21 Thread Khem Raj
Signed-off-by: Khem Raj --- ...nclude-stdint.h-explicitly-for-UINT16_MAX.patch | 32 ++ .../iproute2/iproute2_4.10.0.bb| 1 + 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-connectivity/iproute2/iproute2/0001-include-stdint.h-explicitl

[OE-core] [PATCH 09/15] systemd: Make knobs for compiler specific nn, ar, ranlib

2017-05-21 Thread Khem Raj
These are used with LTO enabled so it has to be compiler specific, making it weak default, makes clang to override them when enabled. Signed-off-by: Khem Raj --- meta/recipes-core/systemd/systemd_232.bb | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/meta/recipes-c

[OE-core] [PATCH 15/15] nspr: Fix build error due to missing stdint.h> include

2017-05-21 Thread Khem Raj
Signed-off-by: Khem Raj --- ...int.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch | 30 ++ meta/recipes-support/nspr/nspr_4.14.bb | 1 + 2 files changed, 31 insertions(+) create mode 100644 meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE

[OE-core] [PATCH 14/15] libtirpc: Fix build error due to missing stdint.h> include

2017-05-21 Thread Khem Raj
Signed-off-by: Khem Raj --- .../0001-include-stdint.h-for-uintptr_t.patch | 32 ++ meta/recipes-extended/libtirpc/libtirpc_1.0.1.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-extended/libtirpc/libtirpc/0001-include-stdint.h-for-uintptr_t

[OE-core] [PATCH 13/15] nfs-utils: Fix build error due to missing stdint.h> include

2017-05-21 Thread Khem Raj
Signed-off-by: Khem Raj --- ...nclude-stdint.h-for-UINT16_MAX-definition.patch | 27 ++ .../nfs-utils/nfs-utils_1.3.4.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-connectivity/nfs-utils/nfs-utils/0001-include-stdint.h-for-UIN