[OE-core] [master][krogoth][PATCH 4/4] busybox: musl mips64 ip fix

2016-04-27 Thread Armin Kuster
From: Armin Kuster Signed-off-by: Armin Kuster --- ...lem_on_mips64_n64_big_endian_musl_systems.patch | 90 ++ meta/recipes-core/busybox/busybox_1.24.1.bb| 1 + 2 files changed, 91 insertions(+) create mode 100644 meta/recipes-core/busybox/busybox/ip_fix_problem_o

[OE-core] [master][krogoth][PATCH 3/4] busybox: Security fix CVE-2016-2147

2016-04-27 Thread Armin Kuster
From: Armin Kuster busybox <= 1.24.2 Signed-off-by: Armin Kuster --- .../busybox/busybox/CVE-2016-2147.patch| 57 ++ .../busybox/busybox/CVE-2016-2147_2.patch | 32 meta/recipes-core/busybox/busybox_1.24.1.bb| 2 + 3 files changed,

[OE-core] [master][krogoth][PATCH 2/4] busybox: Security Fix CVE-2016-2148

2016-04-27 Thread Armin Kuster
From: Armin Kuster busybox <= 1.24.2 Signed-off-by: Armin Kuster --- .../busybox/busybox/CVE-2016-2148.patch| 74 ++ meta/recipes-core/busybox/busybox_1.24.1.bb| 1 + 2 files changed, 75 insertions(+) create mode 100644 meta/recipes-core/busybox/busybo

[OE-core] [master][krogoth][PATCH 1/4] openssh: Security Fix CVE-2016-3115

2016-04-27 Thread Armin Kuster
From: Armin Kuster opehssh <= 7.2 Signed-off-by: Armin Kuster --- .../openssh/openssh/CVE-2016-3115.patch| 84 ++ meta/recipes-connectivity/openssh/openssh_7.1p2.bb | 4 +- 2 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-conne

[OE-core] [for-master][PATCH 3/4] scripts/lib/argparse_oe: simplify options title change

2016-04-27 Thread Christopher Larson
From: Christopher Larson There's no need to iterate over the action groups here, as self._optionals and self._positionals are available. Signed-off-by: Christopher Larson --- scripts/lib/argparse_oe.py | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/lib/argparse

[OE-core] [for-master][PATCH 4/4] scripts/lib/argparse_oe: also change 'positional arguments' to 'arguments'

2016-04-27 Thread Christopher Larson
From: Christopher Larson This aligns with our existing 'optional arguments' to 'options' change, and seems more intuitive for users. Signed-off-by: Christopher Larson --- scripts/lib/argparse_oe.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lib/argparse_oe.py b/scripts/lib/arg

[OE-core] [for-master][PATCH 2/4] scripts/lib/argparse_oe: show subparser help for unrecognized args

2016-04-27 Thread Christopher Larson
From: Christopher Larson As an example, `recipetool create foo bar baz` shows `recipetool: error: unrecognized arguments: bar baz` and then displays the main help, not the help for the create command. Fix by saving the subparser name and using it in parse_args() to look up the subparser. Signed-

[OE-core] [for-master][PATCH 1/4] scripts/lib/argparse_oe: show self.prog in the error message

2016-04-27 Thread Christopher Larson
From: Christopher Larson This aligns our subclassed error() with that in the original class, using _print_message and self.prog. Also add a docstring based on the original. Signed-off-by: Christopher Larson --- scripts/lib/argparse_oe.py | 9 +++-- 1 file changed, 7 insertions(+), 2 deleti

[OE-core] [for-master][PATCH 0/4] A few argparse_oe changes/fixes

2016-04-27 Thread Christopher Larson
From: Christopher Larson The following changes since commit e2dbe5eb869b8336b91023b83d7ca866197efa73: license.bbclass: make sure that image manifest dir exists (2016-04-22 16:28:47 +0100) are available in the git repository at: git://github.com/kergoth/openembedded-core argparse-oe-fixes

Re: [OE-core] [PATCH v3 2/4] u-boot: deploy u-boot-nodtb and dtb files

2016-04-27 Thread Tom Rini
On Wed, Apr 27, 2016 at 04:20:54PM +0200, Yannick Gicquel wrote: > This enable the deployment of u-boot-nodtb.bin and u-boot.dtb files. > > Signed-off-by: Yannick Gicquel Reviewed-by: Tom Rini -- Tom -- ___ Openembedded-core mailing list Openembed

Re: [OE-core] [PATCH v3 3/4] kernel: fitimage: support device tree compiler options

2016-04-27 Thread Tom Rini
On Wed, Apr 27, 2016 at 04:20:55PM +0200, Yannick Gicquel wrote: > This introduces a new variable to set the device tree compiler options while > calling mkimage ('-D' option). By default, this variable is not set but it can > be defined in a configuration file, as following example: > > UBOOT_MK

Re: [OE-core] [PATCH v3 4/4] kernel: fitimage: basic support for fitimage signature

2016-04-27 Thread Tom Rini
On Wed, Apr 27, 2016 at 04:20:56PM +0200, Yannick Gicquel wrote: > This is an initial support of fitImage signature to enable U-Boot verified > boot. This feature is implemented by adding a signature tag to the > configuration section of the generated fit-image.its file. > > When a UBOOT_SIGN_ENA

Re: [OE-core] [PATCH v3 1/4] u-boot: basic support of dtb append for verified boot

2016-04-27 Thread Tom Rini
On Wed, Apr 27, 2016 at 04:20:53PM +0200, Yannick Gicquel wrote: > This introduces a new uboot-sign.class to support U-Boot verified boot. > > This part delivers the new class file, with related environment variables, and > a new task intended to run before do_install task and which performs the

Re: [OE-core] [yocto] [RFT] GCC 6 Recipes

2016-04-27 Thread Tom Rini
On Wed, Apr 27, 2016 at 10:53:52AM -0700, Khem Raj wrote: > thanks I think most of them come to these categories. So any help in > fixing them is welcome. > > 1. kernel older than 4.4, backport needed fixed into these branches or > move to newer kernels. > 2. uboot dont have gcc6 compiler header f

Re: [OE-core] [PATCH 3/4] Backporting binutils bug fix to the 2.25 branch

2016-04-27 Thread Tristan Van Berkom
On Tue, 2016-04-26 at 09:34 -0700, Khem Raj wrote: > > On Apr 26, 2016, at 9:31 AM, Tristan Van Berkom > codethink.co.uk> wrote: > > > > On Mon, 2016-04-25 at 13:55 -0700, Khem Raj wrote: > > > > On Apr 25, 2016, at 1:44 PM, Tristan Van Berkom > > > > > > > codethink.co.uk> wrote: > > > > > > >

[OE-core] [PATCH][jethro] binutils: backport bug fix to the 2.25 branch for jethro

2016-04-27 Thread Tristan Van Berkom
We fail to build webkit on aarch64 due to this binutils bug: https://sourceware.org/bugzilla/show_bug.cgi?id=19353 Applying patch which fixes this, stripped out changelog entry from patch to make it apply without error. --- meta/recipes-devtools/binutils/binutils-2.25.1.inc | 1 + ...plying

Re: [OE-core] [PATCH 2/2] mesa-demos: provide option for disabling GLX demos

2016-04-27 Thread Burton, Ross
On 22 April 2016 at 14:24, Awais Belal wrote: > +PACKAGECONFIG ?= "drm osmesa freetype2 gbm egl gles1 gles2 glx \ >${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 > glew glu', '', d)}" > Shouldn't glx be inside the x11 DISTRO_FEATURE check? Ross -- _

Re: [OE-core] [PATCH 1/1] metadata_scm.bbclass: Do not assume ${COREBASE} is a Git repo

2016-04-27 Thread Christopher Larson
On Tue, Apr 26, 2016 at 12:49 PM, Peter Kjellerstedt < peter.kjellerst...@axis.com> wrote: > The functions base_detect_revision() and base_detect_branch() try to > extract SCM meta information from the path returned by > base_get_scmbasepath(), which currently returns ${COREBASE}. However, > makin

Re: [OE-core] [yocto] [RFT] GCC 6 Recipes

2016-04-27 Thread Mark Hatle
On 4/27/16 12:53 PM, Khem Raj wrote: > thanks I think most of them come to these categories. So any help in > fixing them is welcome. > > 1. kernel older than 4.4, backport needed fixed into these branches or > move to newer kernels. > 2. uboot dont have gcc6 compiler header files, backport the ne

Re: [OE-core] [yocto] [RFT] GCC 6 Recipes

2016-04-27 Thread Khem Raj
thanks I think most of them come to these categories. So any help in fixing them is welcome. 1. kernel older than 4.4, backport needed fixed into these branches or move to newer kernels. 2. uboot dont have gcc6 compiler header files, backport the needed fixes 2. meta-qt4 needs to use gnu++98 3. gc

[OE-core] [PATCH] dbus-test: install executables not libtool wrapper scripts

2016-04-27 Thread Ross Burton
All of the binaries are linked with libtool now, so install the binaries and not the wrapper scripts. Also remove dbus-1.init from SRC_URI as dbus-test doesn't use it. [ YOCTO #9528 ] Signed-off-by: Ross Burton --- meta/recipes-core/dbus/dbus-test_1.10.6.bb | 13 + 1 file changed,

Re: [OE-core] [PATCH 1/1] image.bbclass: don't expand IMAGE_CMD when setting do_image task

2016-04-27 Thread Matt Madison
On Wed, Apr 27, 2016 at 7:39 AM, Burton, Ross wrote: > > On 27 April 2016 at 15:19, Matt Madison wrote: >> >> There are other variables that can cause this, too - ${DATE} and >> ${TIME} by themselves, for example, which aren't deleted. > > > If DATE and TIME were removed would the variables you'r

Re: [OE-core] [PATCH] arch-armv7ve: inherit armv7a tunes file

2016-04-27 Thread Denys Dmytriyenko
After using Martin's tune test script I can report that nothing is broken. On the other hand, I noticed that it can be improved even further, so I'll try to make a second version soon. -- Denys On Mon, Apr 25, 2016 at 08:38:24PM -0400, Denys Dmytriyenko wrote: > From: Denys Dmytriyenko > >

[OE-core] Staging Security fixes for Jethro and Fido

2016-04-27 Thread akuster808
I am integrating security fixes for both Jethro and Fido in my poky-contrib branches for those who may want to cherry-pick them before I submit pull requests. I am still working on a few more. http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akuster/jethro_cve_fixes http://git.yoct

Re: [OE-core] [PATCH 1/1] image.bbclass: don't expand IMAGE_CMD when setting do_image task

2016-04-27 Thread Burton, Ross
On 27 April 2016 at 15:19, Matt Madison wrote: > There are other variables that can cause this, too - ${DATE} and > ${TIME} by themselves, for example, which aren't deleted. > If DATE and TIME were removed would the variables you're using stop changing? Ross --

[OE-core] [PATCH v3 3/4] kernel: fitimage: support device tree compiler options

2016-04-27 Thread Yannick Gicquel
This introduces a new variable to set the device tree compiler options while calling mkimage ('-D' option). By default, this variable is not set but it can be defined in a configuration file, as following example: UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb -p 2000" Signed-off-by: Yannick Gicquel ---

[OE-core] [PATCH v3 1/4] u-boot: basic support of dtb append for verified boot

2016-04-27 Thread Yannick Gicquel
This introduces a new uboot-sign.class to support U-Boot verified boot. This part delivers the new class file, with related environment variables, and a new task intended to run before do_install task and which performs the concatenation of the u-boot-nodtb.bin and the device tree blob. The 'cat'

[OE-core] [PATCH v3 0/4] U-Boot verified boot basic support

2016-04-27 Thread Yannick Gicquel
Changes since v2: * Support custom u-boot recipe name based on PREFERRED_PROVIDER_u-boot * Introduces new tasks instead of '_append' and '_prepend' on existing tasks Changes since v1: * Uses a class uboot-sign.bbclass file instead of include file. * 'assemble_dtb' task removed and replace

[OE-core] [PATCH v3 2/4] u-boot: deploy u-boot-nodtb and dtb files

2016-04-27 Thread Yannick Gicquel
This enable the deployment of u-boot-nodtb.bin and u-boot.dtb files. Signed-off-by: Yannick Gicquel --- meta/classes/uboot-sign.bbclass | 22 ++ 1 file changed, 22 insertions(+) diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bbclass index ad84c44..82c

[OE-core] [PATCH v3 4/4] kernel: fitimage: basic support for fitimage signature

2016-04-27 Thread Yannick Gicquel
This is an initial support of fitImage signature to enable U-Boot verified boot. This feature is implemented by adding a signature tag to the configuration section of the generated fit-image.its file. When a UBOOT_SIGN_ENABLE variable is set to "1", the signature procedure is activated and perform

Re: [OE-core] [PATCH 1/1] image.bbclass: don't expand IMAGE_CMD when setting do_image task

2016-04-27 Thread Matt Madison
On Wed, Apr 27, 2016 at 6:03 AM, Richard Purdie wrote: > On Wed, 2016-04-27 at 05:32 -0700, Matt Madison wrote: >> Expanding it causes the do_image_x function to include values of >> variables that may contain date/time stamps, rather than references >> to the variable names, leading to spurious t

[OE-core] [PATCH 2/2] recipetool: create: fix falling back to declared license for npm packages

2016-04-27 Thread Paul Eggleton
Fix two problems falling back to the "license" field from package.json when no license file is present: 1) The function that was supposed to return the license field value was always explicitly returning None, and this was never noticed (because the test cases never exercised the fallback as

[OE-core] [PATCH 0/2] recipetool npm fixes

2016-04-27 Thread Paul Eggleton
The following changes since commit e2dbe5eb869b8336b91023b83d7ca866197efa73: license.bbclass: make sure that image manifest dir exists (2016-04-22 16:28:47 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib paule/recipetool-npm-fixes http

[OE-core] [PATCH 1/2] recipetool: create: fix picking up false npm package directories

2016-04-27 Thread Paul Eggleton
It is possible for a Node.js module to have node_modules subdirectories that contain no package.json file (e.g. iotivity-node has such a directory). It appears these should simply be ignored, or else with the way the current code works we will get errors later. Signed-off-by: Paul Eggleton --- m

[OE-core] [PATCH] webkitgtk: remove gnome-common dependency

2016-04-27 Thread Ross Burton
webkitgtk ported to CMake long ago, so by definition can't use gnome-common's autoconf macros anymore. Signed-off-by: Ross Burton --- meta/recipes-sato/webkit/webkitgtk_2.10.7.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-sato/webkit/webkitgtk_2.10.7.bb b

Re: [OE-core] [PATCH 1/1] image.bbclass: don't expand IMAGE_CMD when setting do_image task

2016-04-27 Thread Richard Purdie
On Wed, 2016-04-27 at 05:32 -0700, Matt Madison wrote: > Expanding it causes the do_image_x function to include values of > variables that may contain date/time stamps, rather than references > to the variable names, leading to spurious taskhash mismatch errors. > > Signed-off-by: Matt Madison >

[OE-core] [PATCH 2/2] gnome-desktop3: remove redundant gnome-common dependency

2016-04-27 Thread Ross Burton
The gnomebase class already depends on gnome-common-native, so there's no need to depend on it again. Signed-off-by: Ross Burton --- meta/recipes-gnome/gnome-desktop/gnome-desktop3_3.18.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-gnome/gnome-desktop/gnom

[OE-core] [PATCH 1/2] python-pygobject: remove redundant gnome-common dependency

2016-04-27 Thread Ross Burton
The gnomebase class already depends on gnome-common-native, so there's no need to depend on it again. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python-pygobject_3.18.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python-pyg

Re: [OE-core] moving OpenEmbedded-core to Python 3

2016-04-27 Thread Alexander Kanavin
On 04/25/2016 06:11 PM, akuster808 wrote: we want to deprecate Python 2 in oe-core and set Python 3 as the default, preferred choice. What does this mean? What is the target to make Python3 default, 2.2? There is no specific target when the task is 'totally done', it's an ongoing activity t

[OE-core] [PATCH] arch-powerpc64.inc: disable the use of qemu usermode on ppc64

2016-04-27 Thread Alexander Kanavin
It simply does not work at all: https://lists.yoctoproject.org/pipermail/yocto/2016-April/029698.html Signed-off-by: Alexander Kanavin --- meta/conf/machine/include/powerpc/arch-powerpc64.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/conf/machine/include/powerpc/arch-powerpc64.

[OE-core] [PATCH 1/1] image.bbclass: don't expand IMAGE_CMD when setting do_image task

2016-04-27 Thread Matt Madison
Expanding it causes the do_image_x function to include values of variables that may contain date/time stamps, rather than references to the variable names, leading to spurious taskhash mismatch errors. Signed-off-by: Matt Madison --- meta/classes/image.bbclass | 2 +- 1 file changed, 1 insertion

[OE-core] [PATCH 0/1] image.bbclass: don't expand IMAGE_CMD when setting do_image task

2016-04-27 Thread Matt Madison
After being vexed with numerous taskhash mismatch errors on my image builds, I think I hit on the source of the problem - the value of the do_image_ function reported by bitbake-dumpsig had fully-expanded values for all of the variables referenced in the function - so date and time stamps were

[OE-core] [PATCH v2 3/3] selftest: add bmap test

2016-04-27 Thread Ed Bartosh
Added test_bmap to imagefeatures tests. It tests if bmap file is generated for the images and if the image is sparse. [YOCTO #9414] Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/imagefeatures.py | 27 +++ 1 file changed, 27 insertions(+) diff --git a/meta/lib/oeq

[OE-core] [PATCH v2 2/3] image types: add bmap generation option

2016-04-27 Thread Ed Bartosh
From: "Alexander D. Kanevskiy" bmap image conversion type allows to create block map files for sparse images. Bmap file can be used together with bmap-tools for efficiently flash images to raw devices (hdd or usb drive) [YOCTO #9414] Signed-off-by: Alexander D. Kanevskiy Signed-off-by: Ed Bart

[OE-core] [PATCH v2 1/3] bmap-tools: initial commit, version 3.2

2016-04-27 Thread Ed Bartosh
Bmap-tools - tools to generate block map (AKA bmap) and flash images using bmap. Bmaptool is a generic tool for creating the block map (bmap) for a file and copying files using the block map. The idea is that large file containing unused blocks, like raw system image files, can be copied or flashe

[OE-core] [PATCH v2 0/3] bmaptool support

2016-04-27 Thread Ed Bartosh
Hi, This patchset adds ability to use bmaptool to flash images faster than using traditional methods. Bmaptool is a generic tool for creating the block map (bmap) for a file and and copying files using the block map. The idea is that large file containing unused blocks, like raw system image file

[OE-core] [PATCH] eudev: add PACKAGECONFIG for hwdb

2016-04-27 Thread Ross Burton
Some users may not want the hwdb at all, so add a PACKAGECONFIG option to disable building it entirely. Signed-off-by: Ross Burton --- meta/recipes-core/udev/eudev_3.1.5.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/recipes-core/udev/eudev_3.1.5.bb b/meta/recipe

[OE-core] [PATCH][jethro] glew: Correct version in autotooling patches

2016-04-27 Thread Martyn Welch
The additional autotooling patched into glew claims the version is 1.9.0 whilst we are building 1.12.0. The version in the autotooling is used to set the version number in the pkgconfig file, this results in the configuration of packages which depend on glew > 1.9.0 failing. This patch updates the

[OE-core] [Oe-core][jethro][PATCH] glibc: Fix CVE-2015-8778

2016-04-27 Thread Yuanjie Huang
CVE: CVE-2015-8778 Improve check against integer wraparound in hcreate_r [BZ #18240] This is an integer overflow in hcreate and hcreate_r which can result in an out-of-bound memory access. This could lead to application crashes or, potentially, arbitrary code execution. Upstream-Status: Backpor

Re: [OE-core] [yocto] [RFT] GCC 6 Recipes

2016-04-27 Thread Burton, Ross
Finally made errors.yp do the right thing: http://errors.yoctoproject.org/Errors/Latest/?filter=91ef7bf5ad13304827e2ef06738f7fc28ed650f6&type=commit is a list of all the failures. Ross On 27 April 2016 at 09:02, Burton, Ross wrote: > > On 21 April 2016 at 04:06, Khem Raj wrote: > >> I have upd

[OE-core] [PATCH v2] mdadm: add systemd support

2016-04-27 Thread Li Xin
Add mdadm.service to support systemd systems and add configuration file. Signed-off-by: Li Xin --- meta/recipes-extended/mdadm/files/mdadm.service | 13 + meta/recipes-extended/mdadm/mdadm_3.4.bb| 14 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mod

[OE-core] [PATCH] qemu: remove explicit but redundant native build dependencies

2016-04-27 Thread Ross Burton
qemu-native was optionally depending on libxext-native if the DISTRO_FEATURES included x11. This dependency was required back when we didn't build libsdl-native and causes an undesirable relationship between DISTRO_FEATURES and qemu-native. As the dependency isn't required anymore, remove it. Si

Re: [OE-core] [yocto] [RFT] GCC 6 Recipes

2016-04-27 Thread Burton, Ross
On 21 April 2016 at 04:06, Khem Raj wrote: > I have updated > > http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/gcc-6 > > With few more patches added now. Most of packages in OE-Core are > building fine except linux-yocto on mips and ppc > I threw this at the autobuilder. Lots