Re: [OE-core] [PATCH 1/1] Use weak assignment for SERIAL_CONSOLES in qemu configuration files

2016-12-08 Thread Robert P. J. Day
On Fri, 9 Dec 2016, Chen Qi wrote: > Use weak assignment for SERIAL_CONSOLES in qemu configuration files so that > the value could serve as a default value and could be easily overridden in > configuration files like local.conf. > > When using the default value for SERAIL_CONSOLES in

Re: [OE-core] [PATCH 01/11] buildstats: add system state sampling

2016-12-08 Thread Patrick Ohly
On Fri, 2016-12-09 at 01:29 +0100, Andreas Oberritter wrote: > Hi Patrick, > > On 28.11.2016 16:33, Patrick Ohly wrote: > > +def sample(self, force): > > +now = time.time() > > +if (now - self.last > self.min_seconds) or force: > > +for filename, output in

Re: [OE-core] [PATCH 01/11] buildstats: add system state sampling

2016-12-08 Thread Patrick Ohly
On Fri, 2016-12-09 at 01:29 +0100, Andreas Oberritter wrote: > Hi Patrick, > > On 28.11.2016 16:33, Patrick Ohly wrote: > > +def sample(self, force): > > +now = time.time() > > +if (now - self.last > self.min_seconds) or force: > > +for filename, output in

[OE-core] [PATCH 1/1] Use weak assignment for SERIAL_CONSOLES in qemu configuration files

2016-12-08 Thread Chen Qi
Use weak assignment for SERIAL_CONSOLES in qemu configuration files so that the value could serve as a default value and could be easily overridden in configuration files like local.conf. When using the default value for SERAIL_CONSOLES in qemux86-64,we would have annoying messages on console

[OE-core] [PATCH 0/1] Use weak assignment for SERIAL_CONSOLES in qemu configuration files

2016-12-08 Thread Chen Qi
The following changes since commit ad00a31fbe93e073a2d83616efcd08c5a7ef37c9: gdb-cross-canadian: Depend on nativesdk-python3-importlib (2016-12-08 10:26:15 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib ChenQi/qemu-console

Re: [OE-core] [PATCH] glibc: Enable backtrace from abort on ARM

2016-12-08 Thread Khem Raj
On Thu, Dec 8, 2016 at 11:03 AM, Mark Hatle wrote: > +do_configure_append_arm () { > + echo "CFLAGS-abort.c = -funwind-tables" >> ${B}/configparms > + echo "CFLAGS-raise.c = -funwind-tables" >> ${B}/configparms > +} perhaps using

[OE-core] [PATCH 8/8] gstreamer-vaapi-1.0: check for "opengl" feature

2016-12-08 Thread Khem Raj
From: Ismo Puustinen If "opengl" distro feature is not set, libva recipe is skipped. Since missing libva breaks gstreamer-vaapi-1.0 build, the same check has to be done in gstreamer-vaapi-1.0 recipe too. Signed-off-by: Ismo Puustinen

[OE-core] [PATCH 7/8] libva: check for "opengl" feature

2016-12-08 Thread Khem Raj
From: Ismo Puustinen In case "opengl" is missing from DISTRO_FEATURES, libva fails to satisfy its dependencies. The dependency check is done by BitBake when meta-world-pkgdata gathers information about all available packages during image builds, even if libva isn't

[OE-core] [PATCH 6/8] puzzles: Upgrade and fix with clang

2016-12-08 Thread Khem Raj
Delete upstreamed patches Signed-off-by: Khem Raj --- ...arify-conditions-to-avoid-compiler-errors.patch | 48 ++ ...mpiler-errors-about-uninitialized-use-of-.patch | 32 --- meta/recipes-sato/puzzles/puzzles_git.bb | 4 +- 3 files

[OE-core] [PATCH 4/8] gstreamer1.0-rtsp-server: Add libcheck to deps

2016-12-08 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc

[OE-core] [PATCH 5/8] gstreamer1.0-vaapi: Import from meta-intel

2016-12-08 Thread Khem Raj
Update to 1.10.1 at the same time Signed-off-by: Khem Raj --- .../gstreamer/gstreamer1.0-vaapi.inc | 36 ++ .../gstreamer1.0-vaapi/install-tests.patch | 43 ++ .../gstreamer/gstreamer1.0-vaapi_1.10.1.bb | 6

[OE-core] [PATCH 2/8] systemd-boot: Use PV in recipe name

2016-12-08 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-bsp/systemd-boot/{systemd-boot.bb => systemd-boot_232.bb} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename meta/recipes-bsp/systemd-boot/{systemd-boot.bb => systemd-boot_232.bb} (100%) diff --git

[OE-core] [PATCH 1/8] gstreamer1.0: Upgrade to 1.10.1

2016-12-08 Thread Khem Raj
Remove backported patches and upstreamed ones Drop --disable-trace its no more in 1.10.x Add packageconfig option for kms, keep it disabled by default in bad plugins recipe Signed-off-by: Khem Raj --- ...libav_1.8.3.bb => gstreamer1.0-libav_1.10.1.bb} | 5 +-

[OE-core] [PATCH 3/8] gstreamer1.0-plugins-bad: Define and use WAYLAND_PROTOCOLS_SYSROOT_DIR for output of pkg-config

2016-12-08 Thread Khem Raj
When configure pokes for wayland-protocols isntallations it ended up using the ones from host, which is because it did not account for sysroot prefix Remove MACHINE from variable reference tracking to avoid unnessary rebuilds for different machine with same arch Signed-off-by: Khem Raj

Re: [OE-core] [PATCH 3/5] libsdl2: add EXTRA_OECONF[vardepsexclude] = "MACHINE"

2016-12-08 Thread Khem Raj
On Tue, Dec 6, 2016 at 12:00 AM, Andreas Müller wrote: > On Tue, Dec 6, 2016 at 1:24 AM, Khem Raj wrote: >> There probably is no need to use this additional variable. We can just use >> PKG_CONFIG_SYSROOT > Problem is not finding the wrong .pc

Re: [OE-core] [PATCH] insane: Add SH4 musl mapping to the QA arch tests

2016-12-08 Thread Khem Raj
On Thu, Dec 8, 2016 at 6:42 PM, Vladimir Zapolskiy wrote: > Hello Khem, > > On 12/09/2016 03:29 AM, Khem Raj wrote: >> >>> On Dec 6, 2016, at 7:17 AM, Vladimir Zapolskiy wrote: >>> >>> This change allows to pass QA for packages built with sh4-oe-linux-musl >>>

Re: [OE-core] [PATCH] insane: Add SH4 musl mapping to the QA arch tests

2016-12-08 Thread Vladimir Zapolskiy
Hello Khem, On 12/09/2016 03:29 AM, Khem Raj wrote: > >> On Dec 6, 2016, at 7:17 AM, Vladimir Zapolskiy wrote: >> >> This change allows to pass QA for packages built with sh4-oe-linux-musl >> toolchain, the problem is reproted while building core-image-minimal target: >> >>

Re: [OE-core] [PATCH] insane: Add SH4 musl mapping to the QA arch tests

2016-12-08 Thread Khem Raj
> On Dec 6, 2016, at 7:17 AM, Vladimir Zapolskiy wrote: > > This change allows to pass QA for packages built with sh4-oe-linux-musl > toolchain, the problem is reproted while building core-image-minimal target: > > ERROR: readline-7.0-r0 do_package_qa: > Error executing a

Re: [OE-core] [PATCH 01/11] buildstats: add system state sampling

2016-12-08 Thread Andreas Oberritter
Hi Patrick, On 28.11.2016 16:33, Patrick Ohly wrote: > /proc/[diskstats|meminfo|stat] get sampled and written to the same > proc_.log files as during normal bootchat logging. This will > allow rendering the CPU, disk and memory usage charts. > > Right now sampling happens once a second,

[OE-core] [PATCH v2 31/33] package_deb.bbclass: compress control.tar with the same algorithm as data.tar

2016-12-08 Thread Andreas Oberritter
Yields better compression with xz and fixes a problem invoking gzip. Signed-off-by: Andreas Oberritter --- meta/classes/package_deb.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/package_deb.bbclass

[OE-core] [PATCH v2 30/33] dpkg: use correct path for perl libraries

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/dpkg/dpkg.inc | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index 40cfc45..1d55837 100644 ---

[OE-core] [PATCH v2 32/33] apt: fix rpath error during configure

2016-12-08 Thread Andreas Oberritter
| checking for shared library run path origin... /bin/sh: ../apt-1.0.10.1/buildlib/config.rpath: No such file or directory Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt_1.2.12.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git

[OE-core] [PATCH v2 33/33] apt: dselect depends on perl

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt_1.2.12.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/apt/apt_1.2.12.bb b/meta/recipes-devtools/apt/apt_1.2.12.bb index 5dc50a4..0b640f9 100644 ---

[OE-core] [PATCH v2 27/33] dpkg: simplify replacing perl interpreter in scripts

2016-12-08 Thread Andreas Oberritter
Target scripts already contain the correct value. Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/dpkg/dpkg.inc | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/meta/recipes-devtools/dpkg/dpkg.inc

[OE-core] [PATCH v2 26/33] dpkg: remove unneeded do_configure override

2016-12-08 Thread Andreas Oberritter
Exporting PERL_LIBDIR is enough, compiler.m4 isn't needed. Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/dpkg/dpkg.inc | 6 -- 1 file changed, 6 deletions(-) diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index

[OE-core] [PATCH v2 29/33] dpkg: always install dpkg-configure.service

2016-12-08 Thread Andreas Oberritter
systemd.bbclass handles everything based on DISTRO_FEATURES. Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/dpkg/dpkg.inc | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/meta/recipes-devtools/dpkg/dpkg.inc

[OE-core] [PATCH v2 28/33] dpkg: update packages and files to match Debian more closely

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- v2: Drop gpgv from RRECOMMENDS and RSUGGESTS, gnupg implies it. meta/recipes-devtools/dpkg/dpkg.inc | 53 + 1 file changed, 48 insertions(+), 5 deletions(-) diff --git

[OE-core] [PATCH v2 20/33] package_manager/deb: let apt-get handle postinst scripts

2016-12-08 Thread Andreas Oberritter
With all required environment variables and configuration options in apt.conf in place, apt-get is able to install packages offline, i.e. when creating the rootfs, including the execution of postinst scripts and updating the package database. This is new behaviour. At the time the deleted code

[OE-core] [PATCH v2 22/33] package_manager/deb: implement BAD_RECOMMENDATIONS

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/classes/rootfs_deb.bbclass | 6 -- meta/lib/oe/package_manager.py | 27 +++ meta/lib/oe/rootfs.py | 2 ++ 3 files changed, 29 insertions(+), 6 deletions(-) diff --git

[OE-core] [PATCH v2 25/33] dpkg: clean-up packaging of start-stop-daemon

2016-12-08 Thread Andreas Oberritter
Dpkg-start-stop is not an intuitive name. Just call the package start-stop-daemon. Don't rdepend on it, because it might be empty. Install start-stop-daemon to /sbin to match Debian and busybox. Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/dpkg/dpkg.inc |

[OE-core] [PATCH v2 24/33] dpkg: set license field to more common "GPLv2+"

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/dpkg/dpkg.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index 4e39fba..cf09b35 100644 ---

[OE-core] [PATCH v2 14/33] apt-native: drop obsolete patches

2016-12-08 Thread Andreas Oberritter
0001-Revert-always-run-dpkg-configure-a-at-the-end-of-our.patch and noconfigure.patch are obsolete due to dpkg's new --force-script-chrootless option. db_linking_hack.patch and environment.patch are marked as backports from 2007. no-curl.patch: curl-native is already a prerequisite.

[OE-core] [PATCH v2 19/33] apt: recommend gnupg

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt_1.2.12.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-devtools/apt/apt_1.2.12.bb b/meta/recipes-devtools/apt/apt_1.2.12.bb index 2c4f11d..4d781a2 100644 ---

[OE-core] [PATCH v2 23/33] dpkg: use PACKAGECONFIG

2016-12-08 Thread Andreas Oberritter
Keep default dependencies as before. Set default compressor to xz if selected, gzip otherwise. Signed-off-by: Andreas Oberritter --- v2: Rebased (conflicted with PATCH v2 01/33) meta/recipes-devtools/dpkg/dpkg.inc | 30 -- 1 file changed, 16

[OE-core] [PATCH v2 18/33] apt: more fine-grained packaging

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt_1.2.12.bb | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/apt/apt_1.2.12.bb b/meta/recipes-devtools/apt/apt_1.2.12.bb index a350b36..2c4f11d 100644 ---

[OE-core] [PATCH v2 21/33] package_manager/deb: create Packages.xz

2016-12-08 Thread Andreas Oberritter
apt-get prefers it over Packages.gz. Signed-off-by: Andreas Oberritter --- v2: Added dependencies on xz-native to callers of write_index(). meta/classes/package_deb.bbclass | 1 + meta/classes/rootfs_deb.bbclass | 4 ++-- meta/lib/oe/package_manager.py | 2 ++ 3

[OE-core] [PATCH v2 16/33] apt: merge apt.inc into .bb

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt.inc | 38 meta/recipes-devtools/apt/apt_1.2.12.bb | 39 - 2 files changed, 38 insertions(+), 39 deletions(-) delete mode 100644

[OE-core] [PATCH v2 17/33] apt: group variables (license, configuration, packaging)

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt_1.2.12.bb | 32 +--- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/meta/recipes-devtools/apt/apt_1.2.12.bb b/meta/recipes-devtools/apt/apt_1.2.12.bb index

[OE-core] [PATCH v2 15/33] apt: merge with apt-native

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt-native_1.2.12.bb | 50 -- meta/recipes-devtools/apt/apt.inc | 3 ++ meta/recipes-devtools/apt/apt_1.2.12.bb| 11 ++ 3 files changed, 14 insertions(+), 50

[OE-core] [PATCH v2 07/33] apt-native: merge apt-native.inc into .bb

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt-native.inc | 70 meta/recipes-devtools/apt/apt-native_1.2.12.bb | 74 -- 2 files changed, 71 insertions(+), 73 deletions(-) delete mode 100644

[OE-core] [PATCH v2 11/33] apt: use default packaging rules for base package, prepend apt-utils

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt_1.2.12.bb | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/meta/recipes-devtools/apt/apt_1.2.12.bb b/meta/recipes-devtools/apt/apt_1.2.12.bb index ba49571..ec93eb8 100644 ---

[OE-core] [PATCH v2 13/33] apt: rewrite do_install

2016-12-08 Thread Andreas Oberritter
Install missing files and directories (apt, apt-ftparchive, apt-helper, apt-mark, trusted.gpg.d). Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt_1.2.12.bb | 73 ++--- 1 file changed, 41 insertions(+), 32 deletions(-) diff

[OE-core] [PATCH v2 12/33] apt: use default packaging rules for -dev package

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt_1.2.12.bb | 1 - 1 file changed, 1 deletion(-) diff --git a/meta/recipes-devtools/apt/apt_1.2.12.bb b/meta/recipes-devtools/apt/apt_1.2.12.bb index ec93eb8..c531a49 100644 ---

[OE-core] [PATCH v2 10/33] apt: use default packaging rules for manpages

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt_1.2.12.bb | 35 + 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/meta/recipes-devtools/apt/apt_1.2.12.bb b/meta/recipes-devtools/apt/apt_1.2.12.bb index

[OE-core] [PATCH v2 09/33] apt-native: use sed to prepare apt.conf.sample

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt-native_1.2.12.bb | 32 +- .../apt/{files/apt.conf => apt/apt.conf.in}| 6 ++-- 2 files changed, 10 insertions(+), 28 deletions(-) rename

[OE-core] [PATCH v2 01/33] dpkg: implement offline mode for update-alternatives

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- v2: Make update-alternatives optional. Enable it by default for class-target or if PREFERRED_PROVIDER_virtual/update-alternatives-native is set to dpkg-native. This should match the behaviour of opkg-utils. Added

[OE-core] [PATCH v2 08/33] apt: merge apt-package.inc into .bb

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/apt-package.inc | 78 -- meta/recipes-devtools/apt/apt_1.2.12.bb | 79 ++- 2 files changed, 78 insertions(+), 79 deletions(-) delete mode 100644

[OE-core] [PATCH v2 06/33] debianutils: Allow native builds

2016-12-08 Thread Andreas Oberritter
Apt has a runtime dependency on it. Signed-off-by: Andreas Oberritter --- meta/recipes-support/debianutils/debianutils_4.8.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/debianutils/debianutils_4.8.bb

[OE-core] [PATCH v2 00/33] Accumulated patches for deb packaging

2016-12-08 Thread Andreas Oberritter
These are most of my patches which accumulated since our distro switched from opkg to dpkg and apt two years ago. They were tested thoroughly on dora and krogoth and just a little bit on master. Most importantly, this adds support for Debian's update-alternatives on rootfs creation time. For this

[OE-core] [PATCH v2 03/33] dpkg-native: hardcode SYSCONFDIR to sysconfdir_native in update-alternatives

2016-12-08 Thread Andreas Oberritter
It needs to be relative to DPKG_INSTDIR when installing. Signed-off-by: Andreas Oberritter --- v2: Use ${sysconfdir_native} instead of /etc. meta/recipes-devtools/dpkg/dpkg.inc | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/dpkg/dpkg.inc

[OE-core] [PATCH v2 04/33] apt-native: Use option --force-script-chrootless for rootfs

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/apt/files/apt.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/apt/files/apt.conf b/meta/recipes-devtools/apt/files/apt.conf index 0335135..9ad61cc 100644 ---

[OE-core] [PATCH v2 02/33] dpkg: update-alternatives-dpkg should conflict with other providers

2016-12-08 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/dpkg/dpkg.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc index 5695a35..2285f23 100644 --- a/meta/recipes-devtools/dpkg/dpkg.inc

[OE-core] [PATCH v2 05/33] package_manager/deb: pass option --force-script-chrootless to dpkg

2016-12-08 Thread Andreas Oberritter
Fixes removal of packages with new dpkg version. Signed-off-by: Andreas Oberritter --- meta/lib/oe/package_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 7ba2e4d..4ef4f6d

[OE-core] [PATCH] archiver: don't change directory when generating tarball

2016-12-08 Thread Ross Burton
There's no need to chdir() as tarfile.add() can be told what name to use in the archive. Signed-off-by: Ross Burton --- meta/classes/archiver.bbclass | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/meta/classes/archiver.bbclass

Re: [OE-core] [PATCH] perl-native: Remove usage of -fstack-protector=strong

2016-12-08 Thread Burton, Ross
On 8 December 2016 at 19:16, Andre McCurdy wrote: > Is it correct that native sstate from a host with gcc < 4.9 should be > reused by a host with gcc >= 4.9 ? > > Doesn't the change in NATIVELSBSTRING prevent that from happening? > Yes, we recently landed a change so that

Re: [OE-core] [PATCH 02/33] dpkg: update-alternatives-dpkg should conflict with other providers

2016-12-08 Thread Andreas Oberritter
On 08.12.2016 17:16, Burton, Ross wrote: > With PACKAGE_CLASSES="package_rpm package_deb" this happens: > > ERROR: dpkg-native-1.18.7-r0 do_populate_sysroot: The recipe dpkg-native > is trying to install files into a shared area when those files already > exist. Those files and their manifest

Re: [OE-core] [PATCH] perl-native: Remove usage of -fstack-protector=strong

2016-12-08 Thread Andre McCurdy
>>> On 12/01/2016 04:39 PM, Khem Raj wrote: On Thu, Dec 1, 2016 at 8:34 AM, Aníbal Limón wrote: > Some distributions (like opensuse421) supported by the project > comes with older gcc releases, -fstack-protector=strong is supported > by

Re: [OE-core] [morty] [PATCH] glibc: Enable backtrace from abort on ARM

2016-12-08 Thread Mark Hatle
Forgot to mention, also applicable to Morty. --Mark On 12/8/16 1:03 PM, Mark Hatle wrote: > From: Yuanjie Huang > > ARM stack frames for abort and raise were limited to the the actual > abort and raise call, such as: > > Obtained 4 stack frames. >

[OE-core] [PATCH] glibc: Enable backtrace from abort on ARM

2016-12-08 Thread Mark Hatle
From: Yuanjie Huang ARM stack frames for abort and raise were limited to the the actual abort and raise call, such as: Obtained 4 stack frames. ./test-app(print_trace+0x1c) [0x10a08] ./test-app() [0x10b3c] /lib/libc.so.6(__default_sa_restorer+0) [0x4adae1e0]

[OE-core] [PATCH 8/8] linux-yocto/4.x: CVE-2016-8655

2016-12-08 Thread Bruce Ashfield
Backporting upstream commit 84ac726023 [packet: fix race condition in packet_set_ring] to address CVE-2016-8655 Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_4.1.bb | 2 +- meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb | 2 +-

[OE-core] [PATCH 7/8] linux-yocto-rt/4.4: update to -rt43

2016-12-08 Thread Bruce Ashfield
After the update to 4.4.36 -rt no longer builds. The fixes for the issues are found in the v4.4-rt43 release. Signed-off-by: Bruce Ashfield --- meta/recipes-kernel/linux/linux-yocto-rt_4.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH 5/8] linux-yocto/4.8: update to v4.8.12

2016-12-08 Thread Bruce Ashfield
shortlog of the changes follow: 356ccf6d2b0c Linux 4.8.12 f81c90012f2f scsi: mpt3sas: Unblock device after controller reset 3de3eebb10fd flow_dissect: call init_default_flow_dissectors() earlier 7838fbe25a95 mm, oom: stop pre-mature high-order OOM killer invocations 374ff835e2b6

[OE-core] [PATCH 6/8] kern-tools: ensure that no shared directories are used

2016-12-08 Thread Bruce Ashfield
We need to avoid using shared/common directories for any files that are part of specific build, since permissions issues in multi user environments will cause issues. Integrating the following commit to solve the issue: scc: move unused patch queue under output dir Signed-off-by: Bruce

[OE-core] [PATCH 4/8] linux-yocto/4.4: update to v4.4.36

2016-12-08 Thread Bruce Ashfield
shortlog of the changes follow: 87c6c6ef5b17 Linux 4.4.36 6eddf5c993dd scsi: mpt3sas: Unblock device after controller reset c178e4809df7 flow_dissect: call init_default_flow_dissectors() earlier 0b7860d6e88c mei: fix return value on disconnection bab2f72f70ea mei: me: fix place for

[OE-core] [PATCH 3/8] linux-yoct/4.1: update to v4.1.36

2016-12-08 Thread Bruce Ashfield
Shortlog of the changes: 8576fa45c10e Linux 4.1.36 39f99860357c kbuild: add -fno-PIE bf5d3d296abf firewire: net: fix fragmented datagram_size off-by-one c604dec3d5a6 firewire: net: guard against rx buffer overflows 9fe6256c0020 parisc: Ensure consistent state when switching to

[OE-core] [PATCH 2/8] linux-yocto/4.4/4.8: Fix remaining kernel_configcheck warnings in Intel BSPs

2016-12-08 Thread Bruce Ashfield
Integrating the following meta-data change to remove warnings during kernel configuration checking: bec7e0ace0e5 leds.cfg: Remove CONFIG_LEDS_TRIGGER_CPU cc857e64ea34 bsp/intel-quark: Remove bosch-pressure-sensor-i2c 3198ab25af74 features/i2c: Support I2C_MUX by default Signed-off-by:

[OE-core] [PATCH 1/8] linux-yocto/4.8: aufs warning and ixgbe calltrace

2016-12-08 Thread Bruce Ashfield
Integrating the following commits to fix aufs/ixgbe issues: Author: Liwei Song Date: Mon Dec 5 00:50:16 2016 -0500 ixgbe: initialize u64_stats_sync structures early at ixgbe_probe Fix the following CallTrace: INFO: trying to register

[OE-core] [PATCH 0/8] linux-yocto: consolidated pull request

2016-12-08 Thread Bruce Ashfield
Hi all, Here are the pending changes in my queue. There are a few bug & CVE fixes: - aufs warning - kernel_configcheck warnings - linux-yocto/4.x: CVE-2016-8655 Stable updates: - v4.1.36 - v4.4.36 - v4.8.12 -rt refreshes: - 4.4-rt43 And a kern-tools fix to get rid of the

Re: [OE-core] [PATCH] perl-native: Remove usage of -fstack-protector=strong

2016-12-08 Thread Aníbal Limón
ping, :D alimon On 12/01/2016 06:19 PM, Khem Raj wrote: > On Thu, Dec 1, 2016 at 2:46 PM, Aníbal Limón > wrote: >> >> >> On 12/01/2016 04:39 PM, Khem Raj wrote: >>> On Thu, Dec 1, 2016 at 8:34 AM, Aníbal Limón >>> wrote:

[OE-core] [PATCH] oe-trim-schemas: create usage output

2016-12-08 Thread Ed Bartosh
Created usage output for oe-trim-schemas script. [YOCTO #10751] Signed-off-by: Ed Bartosh --- scripts/oe-trim-schemas | 9 + 1 file changed, 9 insertions(+) diff --git a/scripts/oe-trim-schemas b/scripts/oe-trim-schemas index 66a1b8d..7c199ef 100755 ---

[OE-core] [PATCHv3 30/30] oeqa: Fix files handling on runtime tests.

2016-12-08 Thread Aníbal Limón
Common files was move to oeqa/files from oeqa/runtime/files because the same files are used across Runtime,SDK,eSDK tests. Signed-off-by: Aníbal Limón --- meta/classes/testexport.bbclass | 5 + meta/lib/oeqa/oetest.py | 1 + meta/lib/oeqa/runtime/gcc.py

[OE-core] [PATCHv3 29/30] oeqa/runtime: Fix TargetBuildProject instances

2016-12-08 Thread Aníbal Limón
TargetBuildProject was refactored to avoid bitbake dependency so the instance don't allow to pass data store anymore. classes/testimage: Export proxies before run tests The TargetBuildProject based tests download archives from network. Signed-off-by: Aníbal Limón

[OE-core] [PATCHv3 27/30] classes/testsdk: Migrate to use the new OESDKExtTestContext

2016-12-08 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- meta/classes/testsdk.bbclass | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass index 24529ca..1d6547a 100644 --- a/meta/classes/testsdk.bbclass

[OE-core] [PATCHv3 28/30] oeqa/sdkext/cases: Migrate test case to new OEQA framework

2016-12-08 Thread Aníbal Limón
Summary, - Changes base case class to OESDKExtTest. - Changes decorator classes to new ones. - Chnages variable names sdktestdir -> sdk_dir. - Added missing license to MIT. Signed-off-by: Aníbal Limón --- meta/lib/oeqa/sdk/cases/buildgalculator.py | 2 +-

[OE-core] [PATCHv3 26/30] oeqa/sdkext: Adds case and context modules.

2016-12-08 Thread Aníbal Limón
The extensible sdk context and case modules extends the sdk ones, this means that the tests from sdk are run also the sdkext tests. Enables support in context for use oe-test esdk command for run the test suites, the same options of sdk are required for run esdk tests. Removes old related to

[OE-core] [PATCHv3 25/30] oeqa/sdkext: Move test cases inside cases directory

2016-12-08 Thread Aníbal Limón
For match with the new structure of the OEQA framework. In the new framework Test component base directory in this case sdk module will contain case and context implementations. [YOCTO #10599] Signed-off-by: Aníbal Limón --- meta/lib/oeqa/sdkext/__init__.py

[OE-core] [PATCHv3 23/30] oeqa/sdk/cases: Migrate tests to the new OEQA framework

2016-12-08 Thread Aníbal Limón
Summary of the changes: - Remove auto extend_path using pkgutil at __init__, is not needed. - Change base class to OESDKTestCase. - Add td_vars attr to set dependencies of certain variables in test data. - Change skips from module level to class level because Test context (tc) now isn't at

[OE-core] [PATCHv3 24/30] classes/testsdk: Remove the need of TEST_LOG_DIR variable

2016-12-08 Thread Aníbal Limón
The TEST_LOG_DIR was used for store sdk_target_log this log contains the output of the run of build commands now that information could be found also on log.do_testsdk under WORKDIR. The log will continue to store into SDK_DIR instead of TEST_LOG_DIR. Signed-off-by: Aníbal Limón

[OE-core] [PATCHv3 22/30] oeqa/utils: {Target, SDK, }BuildProject remove dependency of bb

2016-12-08 Thread Aníbal Limón
Don't use bitbake references inside utils modules, in order todo that changes getVar calls for arguments in the __init__ method like dl_dir for all the classes and testlogdir, builddatetime in SDKBUildProject. Also don't export proxies inside _download_archive method, a good practice is to setup

[OE-core] [PATCHv3 17/30] oeqa/sdk: Move test cases inside cases directory

2016-12-08 Thread Aníbal Limón
For match with the new structure of the OEQA framework. In the new framework Test component base directory in this case sdk module will contain case and context implementations. [YOCTO #10599] Signed-off-by: Aníbal Limón Signed-off-by: Mariano Lopez

[OE-core] [PATCHv3 21/30] oeqa/utils: Move targetbuild to buildproject module

2016-12-08 Thread Aníbal Limón
The new buildproject module will contain only BuildProject class a helper class for build source code. The remaining classes TargetBuildProject and SDKBuildProject was move to runtime and sdk respectively. [YOCTO #10599] Signed-off-by: Aníbal Limón Signed-off-by:

[OE-core] [PATCHv3 20/30] classes/testsdk: Migrates testsdk.bbclass to use new OESDKTestContext

2016-12-08 Thread Aníbal Limón
The functionality provided is the same with imporvements on code reuse and better interfaces. Signed-off-by: Aníbal Limón --- meta/classes/testsdk.bbclass | 67 1 file changed, 55 insertions(+), 12 deletions(-) diff

[OE-core] [PATCHv3 18/30] oeqa/{runtime, sdk}/files: Move testsdkmakefile from runtime to sdk module

2016-12-08 Thread Aníbal Limón
It doesn't make sense to have files related to sdk module into runtime module. [YOCTO #10599] Signed-off-by: Aníbal Limón Signed-off-by: Mariano Lopez --- meta/lib/oeqa/{runtime => sdk}/files/testsdkmakefile | 0 1 file changed, 0

[OE-core] [PATCHv3 19/30] oeqa/sdk: Add case and context modules for the SDK component

2016-12-08 Thread Aníbal Limón
Adds case and context modules for SDK based on oetest.py old code. Enables SDK Test component usage with oe-test, the SDK Test component adds command line options for specify sdk installed dir, sdk environment and target/hosts maniftest. [YOCTO #10599] Signed-off-by: Aníbal Limón

[OE-core] [PATCHv3 13/30] oe/data: Add export2json function

2016-12-08 Thread Aníbal Limón
The export2json function export the variables contained in the data store to JSON format, the main usage for now will be to provide test data to QA framework. Signed-off-by: Aníbal Limón --- meta/lib/oe/data.py | 28 1 file changed, 28

[OE-core] [PATCHv3 15/30] classes/populate_sdk_base: Add write_sdk_test_data to postprocess

2016-12-08 Thread Aníbal Limón
This function will generates testdata.json per SDK type. [YOCTO #10231] Signed-off-by: Aníbal Limón --- meta/classes/populate_sdk_base.bbclass | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/meta/classes/populate_sdk_base.bbclass

[OE-core] [PATCHv3 16/30] oeqa: Move common files to oeqa/files instead of runtime only

2016-12-08 Thread Aníbal Limón
Those files are used by runtime and sdk test cases, so move to base directory of oeqa module. [YOCTO #10599] Signed-off-by: Aníbal Limón Signed-off-by: Mariano Lopez --- meta/lib/oeqa/{runtime => }/files/test.c | 0

[OE-core] [PATCHv3 14/30] classes/rootfs-postcommands: Add write_image_test_data

2016-12-08 Thread Aníbal Limón
This function will generates testdata.json by image type. [YOCTO #10231] Signed-off-by: Aníbal Limón --- meta/classes/rootfs-postcommands.bbclass | 18 ++ 1 file changed, 18 insertions(+) diff --git a/meta/classes/rootfs-postcommands.bbclass

[OE-core] [PATCHv3 10/30] oeqa/core/context: Add support of OETestContextExecutor

2016-12-08 Thread Aníbal Limón
The OETestContextExecutor class supports to use oe-test for run core test component also is a base class for the other test components (runtime, sdk, selftest). Te principal functionality is to support cmdline parsing and execution of OETestContext, the test components could extend the common

[OE-core] [PATCHv3 12/30] oeqa/core: Add README

2016-12-08 Thread Aníbal Limón
The README has an introduction and explains how to run the test suite and creates a new Test component. Signed-off-by: Aníbal Limón Signed-off-by: Mariano Lopez --- meta/lib/oeqa/core/README | 38

[OE-core] [PATCHv3 09/30] scripts/oe-test: Add new oe-test script

2016-12-08 Thread Aníbal Limón
The new oe-test script will be use to run test components with one single script. The oe-test script search for test components inside meta/lib/oeqa, the test components needs to implement OETestContextExecutor inside context module in order to be supported by oe-test. [YOCTO #10230]

[OE-core] [PATCHv3 11/30] oeqa/core/cases: Add example test cases

2016-12-08 Thread Aníbal Limón
Serves as an first input of how to the OEQA framework works. Signed-off-by: Aníbal Limón Signed-off-by: Mariano Lopez --- meta/lib/oeqa/core/cases/__init__.py | 0 meta/lib/oeqa/core/cases/example/data.json | 1 +

[OE-core] [PATCHv3 08/30] oeqa/core: Add tests for the OEQA framework

2016-12-08 Thread Aníbal Limón
From: Mariano Lopez This test suite covers the current functionality for the OEQA framework. For run certain test suite, $ cd meta/lib/oeqa/core/tests $ ./test_data.py Signed-off-by: Aníbal Limón Signed-off-by: Mariano Lopez

[OE-core] [PATCHv3 07/30] oeqa/core/decorator: Add support for OETestDataDepends and skipIfDataVar

2016-12-08 Thread Aníbal Limón
The OETestDataDepends decorator skips a test case if a variable isn't into test data (d). The skipIfDataVar decorator skips a test case if a variable has certain value. Signed-off-by: Aníbal Limón Signed-off-by: Mariano Lopez ---

[OE-core] [PATCHv3 05/30] oeqa/core/decorator: Add support for OETestID and OETestTag

2016-12-08 Thread Aníbal Limón
From: Mariano Lopez These two decorators stores certain TAG or ID for the test case also provides support for filtering in loading step. [YOCTO #10236] Signed-off-by: Mariano Lopez Signed-off-by: Aníbal Limón

[OE-core] [PATCHv3 06/30] oeqa/core/decorator: Add support for OETimeout decorator

2016-12-08 Thread Aníbal Limón
From: Mariano Lopez The OETimeout provides support for specify certain timeout in seconds for a test case, if the timeout is reach the SIGALRM is sent and an exception is raised to notify the timeout. [YOCTO #10235] Signed-off-by: Mariano Lopez

[OE-core] [PATCHv3 04/30] oeqa/core/decorator: Add support for OETestDepends

2016-12-08 Thread Aníbal Limón
The OETestDepends decorator could be used over test cases to define some dependency between them. At loading time sorting the tests to grauntee that a test case executes before also raise an exception if found a circular dependency between test cases. At before test case run reviews if the

[OE-core] [PATCHv3 03/30] oeqa/core: Add loader, context and decorator modules

2016-12-08 Thread Aníbal Limón
loader: Implements OETestLoader handling OETestDecorator and filtering support when load tests. The OETestLoader is responsible to set custom methods, attrs of the OEQA frameowork. [YOCTO #10231] [YOCTO #10317] [YOCTO #10353] decorator: Add base class OETestDecorator to provide a common way to

[OE-core] [PATCHv3 01/30] oeqa/core: Add base OEQA framework

2016-12-08 Thread Aníbal Limón
case: Defines OETestCase base class that provides custom methods/attrs defined by the framework. Every OETestCase instance contains a reference to the test data (d), the test context (tc) and the logger. Also implements _oe{SetUp,TearDown}Class for make special handling of OEQA

[OE-core] [PATCHv3 02/30] oeqa/core: Add utils module for OEQA framework

2016-12-08 Thread Aníbal Limón
From: Mariano Lopez misc: Functions for transform object to other types. path: Functions for path handling. test: Functions for operations related to test cases and suites. [YOCTO #10232] Signed-off-by: Mariano Lopez Signed-off-by:

  1   2   >