[OE-core] [PATCH] iproute2: backport a patch to make adding vxlan link success

2014-10-29 Thread rongqing.li
From: Roy.Li rongqing...@windriver.com If without this patch: $ ip link add vxlan0 type vxlan id 51 group 238.1.1.1 dev eth0 Error: argument vxlan0 is wrong: Unknown device $ With this patch; $ ip link add vxlan0 type vxlan id 51 group 238.1.1.1 dev eth0 $ ifconfig -a |grep

Re: [OE-core] [PATCH] base bbclass: add support for tar.lz

2014-10-29 Thread Koen Kooi
Op 28 okt. 2014, om 23:22 heeft Richard Purdie richard.pur...@linuxfoundation.org het volgende geschreven: On Tue, 2014-10-28 at 10:36 +0100, Koen Kooi wrote: Op 27 okt. 2014, om 14:15 heeft Burton, Ross ross.bur...@intel.com het volgende geschreven: On 27 October 2014 13:06, Koen

[OE-core] [PATCH 0/1] docbook-xsl-stylesheets: add perl to RDEPENDS

2014-10-29 Thread Chong Lu
The following changes since commit 4faca22b8fe63a86d820990207aaf84b3fa83e01: ref-manual: Updates to the migrating to YP 1.7 section. (2014-10-28 22:31:18 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib chonglu/doc

[OE-core] [PATCH 1/1] docbook-xsl-stylesheets: add perl to RDEPENDS

2014-10-29 Thread Chong Lu
This solves the following warning: docbook-xsl-stylesheets-1.78.1: docbook-xsl-stylesheets requires /usr/bin/perl, /bin/bash, but no providers in its RDEPENDS [file-rdeps] Signed-off-by: Chong Lu chong...@windriver.com --- meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.78.1.bb | 2

[OE-core] [PATCH] ltp: update to 20140828 release

2014-10-29 Thread Fathi Boudra
bump SRCREV to 20140828 tag drop automake-foreign patch - fixed upstream (commit 18594de and edbae29) update realtime tests fixes upstream status from submitted to backported - merged upstream Signed-off-by: Fathi Boudra fathi.bou...@linaro.org ---

Re: [OE-core] [PATCH] gcc-common: Only apply fpu settings to target gcc

2014-10-29 Thread Kristof Robot
[re-adding the mailinglist] On Wed, Oct 29, 2014 at 9:41 AM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Wed, 2014-10-29 at 07:47 +0100, Kristof Robot wrote: On Tue, Oct 28, 2014 at 11:08 PM, Richard Purdie richard.pur...@linuxfoundation.org wrote: On Tue, 2014-10-28 at 19:11

Re: [OE-core] [PATCH] gcc: fix ICE in dwarf2out_var_location

2014-10-29 Thread Peter A. Bigot
On 10/28/2014 10:41 PM, Khem Raj wrote: On Tue, Oct 28, 2014 at 7:34 PM, jackie.hu...@windriver.com wrote: From: Jackie Huang jackie.hu...@windriver.com Fixed the ICE: internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21261 this looks ok. but we need the test case too. and

[OE-core] [PATCH 2/2] python-2.7.3:remove BOM insertion code

2014-10-29 Thread Kai Kang
Backport patch from: https://hg.python.org/cpython/rev/af46a001d5ec SysLogHandler converts message to utf8 and adds BOM, supposedly to conform with RFC5424, but the implementation is broken: the RFC specifies that the BOM should prefix only unstructured message part, but current Python

[OE-core] [PATCH 1/2] beecrpty: add option --with-dev-dsp

2014-10-29 Thread Kai Kang
Add this configure option for developer to control if the /dev/dsp should be used on target. Instead of judging it based on the very device file of build server. Signed-off-by: Zhang Xiao xiao.zh...@windriver.com Signed-off-by: Kai Kang kai.k...@windriver.com ---

Re: [OE-core] [PATCH 2/2] python-2.7.3:remove BOM insertion code

2014-10-29 Thread Kang Kai
On 2014年10月29日 19:06, Kai Kang wrote: Backport patch from: https://hg.python.org/cpython/rev/af46a001d5ec SysLogHandler converts message to utf8 and adds BOM, supposedly to conform with RFC5424, but the implementation is broken: the RFC specifies that the BOM should prefix only unstructured

[OE-core] [PATCH 0/2] V2: patches for python and beecrypt

2014-10-29 Thread Kai Kang
V2: * Fix wrong Upstream-Status of remove-BOM-insection-code.patch Kai Kang (2): beecrpty: add option --with-dev-dsp python-2.7.3:remove BOM insertion code .../python/python/remove-BOM-insection-code.patch | 24 +++ meta/recipes-devtools/python/python_2.7.3.bb | 1 +

[OE-core] [PATCH 1/2] beecrpty: add option --with-dev-dsp

2014-10-29 Thread Kai Kang
Add this configure option for developer to control if the /dev/dsp should be used on target. Instead of judging it based on the very device file of build server. Signed-off-by: Zhang Xiao xiao.zh...@windriver.com Signed-off-by: Kai Kang kai.k...@windriver.com ---

[OE-core] [PATCH 2/2] python-2.7.3:remove BOM insertion code

2014-10-29 Thread Kai Kang
Backport patch from: https://hg.python.org/cpython/rev/af46a001d5ec SysLogHandler converts message to utf8 and adds BOM, supposedly to conform with RFC5424, but the implementation is broken: the RFC specifies that the BOM should prefix only unstructured message part, but current Python

[OE-core] [RFC 2/2] meta: rm __pycache__ in glib.inc::do_install_append()

2014-10-29 Thread Martin Hundebøll
Python3 places bytecode files in./ __pycache__ instead of simple .pyc and .pyo in the script folder. With python3 as the default python binary (i.e. /usr/bin/python - python3), the building glib-2.0 fails in do_package() due to the mentioned python cache files not being installed/removed. Fix

[OE-core] [RFC 0/2] Explicit use of python 2

2014-10-29 Thread Martin Hundebøll
Hi, I am new to yocto/openembedded, and wanted to work with yocto on Arch Linux. As you might know, Arch has python3 as it default version, but seamlessly supports python2 scripts by using /usr/bin/python2 instead. This will also be needed as more and more distributions start moving to python3.

[OE-core] [RFC 1/2] scripts: use python2 explicitly in shebangs

2014-10-29 Thread Martin Hundebøll
As distributions start moving to python3, scripts should explicity request python2 in the shebang. This patch changes all occurences of #!/usr/bin/python and #!/usr/bin/env python to #!/usr/bin/env python2 The change was done using the a massive oneline[1]; followed by some manual

Re: [OE-core] [RFC 1/2] scripts: use python2 explicitly in shebangs

2014-10-29 Thread Paul Barker
On 29 October 2014 11:18, Martin Hundebøll mar...@hundeboll.net wrote: As distributions start moving to python3, scripts should explicity request python2 in the shebang. This patch changes all occurences of #!/usr/bin/python and #!/usr/bin/env python to #!/usr/bin/env python2 snip

Re: [OE-core] [PATCH] gcc: fix ICE in dwarf2out_var_location

2014-10-29 Thread Mark Hatle
On 10/29/14, 5:59 AM, Peter A. Bigot wrote: On 10/28/2014 10:41 PM, Khem Raj wrote: On Tue, Oct 28, 2014 at 7:34 PM, jackie.hu...@windriver.com wrote: From: Jackie Huang jackie.hu...@windriver.com Fixed the ICE: internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21261 this

Re: [OE-core] [RFC 1/2] scripts: use python2 explicitly in shebangs

2014-10-29 Thread Martin Hundebøll
Hi Paul, On 2014-10-29 14:05, Paul Barker wrote: On 29 October 2014 11:18, Martin Hundebøll mar...@hundeboll.net wrote: As distributions start moving to python3, scripts should explicity request python2 in the shebang. This patch changes all occurences of #!/usr/bin/python and

Re: [OE-core] [PATCH] gcc: fix ICE in dwarf2out_var_location

2014-10-29 Thread Mark Hatle
On 10/29/14, 8:15 AM, Mark Hatle wrote: On 10/29/14, 5:59 AM, Peter A. Bigot wrote: On 10/28/2014 10:41 PM, Khem Raj wrote: On Tue, Oct 28, 2014 at 7:34 PM, jackie.hu...@windriver.com wrote: From: Jackie Huang jackie.hu...@windriver.com Fixed the ICE: internal compiler error: in

Re: [OE-core] [PATCH] gcc: fix ICE in dwarf2out_var_location

2014-10-29 Thread Peter A. Bigot
On 10/29/2014 08:32 AM, Mark Hatle wrote: On 10/29/14, 8:15 AM, Mark Hatle wrote: On 10/29/14, 5:59 AM, Peter A. Bigot wrote: On 10/28/2014 10:41 PM, Khem Raj wrote: On Tue, Oct 28, 2014 at 7:34 PM, jackie.hu...@windriver.com wrote: From: Jackie Huang jackie.hu...@windriver.com Fixed the

[OE-core] [PATCH 4/4] license_class: Fix remove + trim in license_create_manifest.

2014-10-29 Thread Aníbal Limón
Signed-off-by: Aníbal Limón anibal.li...@linux.intel.com --- meta/classes/license.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index a055660..74de364 100644 --- a/meta/classes/license.bbclass +++

[OE-core] [PATCH 2/4] license_class: Added support for INCOMPATIBLE_LICENSE into license_create_manifest

2014-10-29 Thread Aníbal Limón
Now license_create_manifest handle INCOMPATIBLE_LICENSE to avoid put them into license.manifest and copy them into target image. Generalized license_ok(license) to license_ok(bad_licenses, license) to avoid duplicate code. [YOCTO #6765] Signed-off-by: Aníbal Limón anibal.li...@linux.intel.com

[OE-core] [PATCH 3/4] license_class: Added LICENSE_PRIORITY support

2014-10-29 Thread Aníbal Limón
Now you can specify LICENSE_PRIORITY for license manifest creation. This means that if you have LICENSE expression with OR's only one license is selected based on LICENSE_PRIORITY and INCOMPATIBLE_LICENSE. [YOCTO #6757] Signed-off-by: Aníbal Limón anibal.li...@linux.intel.com ---

[OE-core] [PATCH 1/4] license_class: Reimplemented manifest creation in python

2014-10-29 Thread Aníbal Limón
Reimplemented license_manifest_create from shell to python, in order to use oe.license module for handle INCOMPATIBLE_LICENSE and add License prorities into OR's evaluation. Signed-off-by: Aníbal Limón anibal.li...@linux.intel.com --- meta/classes/license.bbclass | 161

[OE-core] [PATCH 0/4] license_class: Added support for LICENSE_PRIORITY in manifest creation

2014-10-29 Thread Aníbal Limón
Now you can specify LICENSE_PRIOTIY that enables the distro to set the license preferences for manifest creation. The major change is when you have OR'ed LICENSE only one is choose according LICENSE_PRIORITY preferences if LICENSE_PRIORITY isn't specified the left one is choosen. The test was

Re: [OE-core] [PATCH 1/4] license_class: Reimplemented manifest creation in python

2014-10-29 Thread Richard Purdie
On Wed, 2014-10-29 at 12:34 -0600, Aníbal Limón wrote: Reimplemented license_manifest_create from shell to python, in order to use oe.license module for handle INCOMPATIBLE_LICENSE and add License prorities into OR's evaluation. Signed-off-by: Aníbal Limón anibal.li...@linux.intel.com ---

[OE-core] [PATCH 1/6] wic: Don't allow mkfs to fail silently in partition command

2014-10-29 Thread Tom Zanussi
The return code from the mkfs command used by the partition creation command was being ignored, allowing it to silently fail and leaving users mystified as to why the resulting filesystem was corrupted. This became obvious when failures occurred when creating large e.g. sdk filesystems [YOCTO

[OE-core] [PATCH 0/6] some wic bugfixes

2014-10-29 Thread Tom Zanussi
This patchset fixes a couple serious wic bugs: [YOCTO #6863] - Wic fails to create a working image for a large file system [YOCTO #6290] - Update WIC for gummiboot I generated core-image-sdk images for each of the wic image types and was able to fsck/mount the resulting filesystems. These

[OE-core] [PATCH 5/6] wic: Remove special-case bootimg_dir

2014-10-29 Thread Tom Zanussi
The first iterations of wic very shortsightedly catered to two specific use-cases and added special-purpose params for those cases so that they could be directly given their corresponding boot artifacts. (hdddir and staging_data_dir). As more use-cases are added, it becomes rather obvious that

[OE-core] [PATCH 6/6] wic: Update bootimg-partition to use bootimg_dir

2014-10-29 Thread Tom Zanussi
Update bootimg-partition to use bootimg_dir instead of img_deploy_dir, to match similar usage in other plugins. As mentioned elsewhere, plugins should use the passed-in value for bootimg_dir directly if non-null, which corresponds to a user-assigned value specified via a -b command-line param,

[OE-core] [PATCH 3/6] wic: Update the help text to include -D (--debug)

2014-10-29 Thread Tom Zanussi
The --debug option is missing from the wic help text; this adds it and at the same time rearranges the usage into a more logical arrangement. Signed-off-by: Tom Zanussi tom.zanu...@linux.intel.com --- scripts/lib/image/help.py | 21 +++-- 1 file changed, 15 insertions(+), 6

[OE-core] [PATCH 4/6] Revert wic: set bootimg_dir when using image-name artifacts

2014-10-29 Thread Tom Zanussi
This reverts commit 7ce1dc13f91df70e8a2f420e7c3eba51cbc4bd48. This patch broke the assumption that a non-null boot_dir means a user-assigned (-b command-line param) value. Reverting doesn't break anything, since the case it was added for doesn't use the boot_dir for anything except debugging

[OE-core] [PATCH 2/6] wic: Use overhead factor when creating partitions from rootfs directories

2014-10-29 Thread Tom Zanussi
When creating partitions sized to given rootfs directories, filesystem creation could fail in cases where the calculated target partition size was too small to contain the filesystem created using mkfs. This occurred in particular when creating partitions to contain very large filesystems such as

[OE-core] [PATCH v2] image.bbclass: Added buildinfo IMAGE_FEATURE

2014-10-29 Thread Alejandro Hernandez
Writes build information to target filesystem to help developers [YOCTO #6770] Signed-off-by: Alejandro Hernandez alejandro.hernan...@linux.intel.com --- meta/classes/image.bbclass | 46 +- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git

[OE-core] [PATCH] pciutils: Fix multilib header conflict - pci/config.h

2014-10-29 Thread Ming Liu
pci/config.h conflicts between 32-bit and 64-bit versions. Signed-off-by: Ming Liu ming@windriver.com --- meta/recipes-bsp/pciutils/pciutils_3.2.1.bb | 4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-bsp/pciutils/pciutils_3.2.1.bb