[OE-core] [PATCH] libsndfile: Security Advisory - libsndfile - CVE-2014-9496

2015-06-05 Thread wenzong.fan
From: Yue Tao yue@windriver.com Backport two commits from libsndfile upstream to fix a segfault and two potential buffer overflows. Signed-off-by: Yue Tao yue@windriver.com --- ...src-sd2.c-Fix-segfault-in-SD2-RSRC-parser.patch | 211 +

[OE-core] [wic][PATCH 4/4] wic: pylinted partitionedfs.py

2015-06-05 Thread Ed Bartosh
Fixed some pylint findings in partitionedfs.py Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py index dcb63e5..902548f 100644 --- a/scripts/lib/wic/utils/partitionedfs.py +++

[OE-core] [wic][PATCH 0/4] Code cleanup and refactoring

2015-06-05 Thread Ed Bartosh
Hi, This patchset includes cleanup and refactoring patches made during implementation of partition UUID support. Without this work I'd end up in duplicating a lot of code, so I decided to clean it up a bit. Please, review. Ed Bartosh (4): wic: removed exec_cmd_quiet and exec_native_cmd_quiet

[OE-core] [wic][PATCH 2/4] wic: move checks to exec_native_cmd

2015-06-05 Thread Ed Bartosh
Checked for return code and output of native commands inside exec_native_cmd. Removed similar code from a lot of places where exec_native_cmd is called. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py

[OE-core] [wic][PATCH 3/4] wic: replaced __run_parted with exec_native_cmd

2015-06-05 Thread Ed Bartosh
There is no need for yet another wrapper around exec_native_cmd. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/utils/partitionedfs.py b/scripts/lib/wic/utils/partitionedfs.py index 8fd44a6..dcb63e5 100644 --- a/scripts/lib/wic/utils/partitionedfs.py +++

[OE-core] [wic][PATCH 1/4] wic: removed exec_cmd_quiet and exec_native_cmd_quiet

2015-06-05 Thread Ed Bartosh
These functions are not used anywhere. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/utils/oe/misc.py b/scripts/lib/wic/utils/oe/misc.py index 2f5299d..9eaf039 100644 --- a/scripts/lib/wic/utils/oe/misc.py +++ b/scripts/lib/wic/utils/oe/misc.py @@ -63,15 +63,6

[OE-core] [wic][PATCH 6/9] wic: Set type GUID and UUID for partition

2015-06-05 Thread Ed Bartosh
Set type GUID and UUID for partition using sgdisk utility. Type GUID can be specified for partition in .wks with --part-type option. UUID is generated when --use-uuid option is specified for partition. [YOCTO #7716] Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git

[OE-core] [wic][PATCH 5/9] wic: add parameter 'uuid' to Image.add_partition method

2015-06-05 Thread Ed Bartosh
With this parameter it's possible to pass generated UUID into Image class to set it for partition when it's created. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index 36150c9..2290ecd 100644 ---

[OE-core] [wic][PATCH 4/9] wic: refactored getting root device name

2015-06-05 Thread Ed Bartosh
Replaced DirectImageCreator._get_boot_config private method with a 'rootdev' property. Simplified the code and API. Used 'uuid' property instead of incorrectly used 'part_type'. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/imager/direct.py

[OE-core] [wic][PATCH 9/9] wic: Add help for --part-type and --use-uuid options

2015-06-05 Thread Ed Bartosh
Added help for two wks partition options specific to GUID partition table and globally unique identificators (GUID). Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py index e365a07..14f0ff1 100644 ---

[OE-core] [wic][PATCH 4/9] wic: Refactored getting root device name

2015-06-05 Thread Ed Bartosh
Replaced DirectImageCreator._get_boot_config private method with a 'rootdev' property. Simplified the code and API. Used 'uuid' property instead of incorrectly used 'part_type'. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/imager/direct.py

[OE-core] [wic][PATCH 5/9] wic: Add parameter 'uuid' to Image.add_partition method

2015-06-05 Thread Ed Bartosh
With this parameter it's possible to pass generated UUID into Image class to set it for partition when it's created. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index 36150c9..2290ecd 100644 ---

[OE-core] [PATCH] libxml2: Security Advisory - libxml2 - CVE-2015-1819

2015-06-05 Thread wenzong.fan
From: Yue Tao yue@windriver.com for CVE-2015-1819 Enforce the reader to run in constant memory Signed-off-by: Yue Tao yue@windriver.com --- meta/recipes-core/libxml/libxml2.inc | 1 + ...19-Enforce-the-reader-to-run-in-constant-.patch | 178 + 2 files

[OE-core] [wic][PATCH 1/9] wic: Add --use-uuid partition option

2015-06-05 Thread Ed Bartosh
Added --use-uuid option to the configuration of wks parser. Processing of this option will be implemented in the following commits. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py

[OE-core] [wic][PATCH 0/9] UUID support

2015-06-05 Thread Ed Bartosh
Hi, Please, review implementation of partition UUID support in wic. It contains two options: --part-type and --use-uuid --part-type allows to set partition type UUID. It was incorrectly implemted in wic and now it's hopefully fixed. --use-uuid makes wic to generate random globally unique

Re: [OE-core] [PATCH] alsa-tools: add dependency glib-2.0

2015-06-05 Thread Jack Mitchell
On 05/06/15 02:50, Kang Kai wrote: On 2015年06月04日 17:23, Jack Mitchell wrote: On 04/06/15 06:57, Kai Kang wrote: Add dependency glib-2.0 for alsa-tools. It is required by new added sub-component hdajacksensetest. Signed-off-by: Kai Kang kai.k...@windriver.com ---

[OE-core] [wic][PATCH 2/9] wic: Generate random uuid for partition

2015-06-05 Thread Ed Bartosh
'uuid' attribute of partition object is set to generated uuid when --use-uuid option is used for partition in .wks file. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py

[OE-core] [wic][PATCH 3/9] wic: Fix format string

2015-06-05 Thread Ed Bartosh
wic crashes with TypeError: %d format: a number is required, not str Due to incorrect format used for Wic_PartData.extra_size attribute. Using %s instead of %d should fix the crash. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git

[OE-core] [wic][PATCH 2/9] wic: generate random uuid for partition

2015-06-05 Thread Ed Bartosh
'uuid' attribute of partition object is set to generated uuid when --use-uuid option is used for partition in .wks file. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py

[OE-core] [wic][PATCH 3/9] wic: fixed format string

2015-06-05 Thread Ed Bartosh
wic crashes with TypeError: %d format: a number is required, not str Due to incorrect format used for Wic_PartData.extra_size attribute. Using %s instead of %d should fix the crash. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git

[OE-core] [wic][PATCH v2 4/9] wic: Refactored getting root device name

2015-06-05 Thread Ed Bartosh
Replaced DirectImageCreator._get_boot_config private method with a 'rootdev' property. Simplified the code and API. Used 'uuid' property instead of incorrectly used 'part_type'. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/imager/direct.py

[OE-core] [wic][PATCH v2 3/9] wic: Fix format string

2015-06-05 Thread Ed Bartosh
wic crashes with TypeError: %d format: a number is required, not str Due to incorrect format used for Wic_PartData.extra_size attribute. Using %s instead of %d should fix the crash. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git

[OE-core] [wic][PATCH v2 0/9] UUID support

2015-06-05 Thread Ed Bartosh
Hi, Please, review implementation of partition UUID support in wic. It contains two options: --part-type and --use-uuid --part-type allows to set partition type UUID. It was incorrectly implemted in wic and now it's hopefully fixed. --use-uuid makes wic to generate random globally unique

[OE-core] [wic][PATCH 7/9] wic: Use partition UUID in directdisk-gpt

2015-06-05 Thread Ed Bartosh
Used --use-uuid option for root partition in directdisk-gpt.wks This is useful to have example of image with UUID support. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/image/canned-wks/directdisk-gpt.wks b/scripts/lib/image/canned-wks/directdisk-gpt.wks index

[OE-core] [wic][PATCH v2 1/9] wic: Add --use-uuid partition option

2015-06-05 Thread Ed Bartosh
Added --use-uuid option to the configuration of wks parser. Processing of this option will be implemented in the following commits. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py

[OE-core] [wic][PATCH 8/9] wic: testing: configured testing of gpt/UUID image

2015-06-05 Thread Ed Bartosh
Added runtime dependency to gptfdisk-native to wic test suite to be able to test modified directdisk-gpt with UUID support. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index e97dd1d..358f09e 100644 ---

[OE-core] [wic][PATCH 8/9] wic: oe-selftest: Configure testing of gpt/UUID image

2015-06-05 Thread Ed Bartosh
Added runtime dependency to gptfdisk-native to wic test suite to be able to test modified directdisk-gpt with UUID support. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index e97dd1d..358f09e 100644 ---

[OE-core] [wic][PATCH 6/9] wic: set type GUID and UUID for partition

2015-06-05 Thread Ed Bartosh
Set type GUID and UUID for partition using sgdisk utility. Type GUID can be specified for partition in .wks with --part-type option. UUID is generated when --use-uuid option is specified for partition. [YOCTO #7716] Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git

[OE-core] [wic][PATCH v2 2/9] wic: Generate random uuid for partition

2015-06-05 Thread Ed Bartosh
'uuid' attribute of partition object is set to generated uuid when --use-uuid option is used for partition in .wks file. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/kickstart/custom_commands/partition.py

[OE-core] [wic][PATCH v2 5/9] wic: Add parameter 'uuid' to Image.add_partition method

2015-06-05 Thread Ed Bartosh
With this parameter it's possible to pass generated UUID into Image class to set it for partition when it's created. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/wic/imager/direct.py b/scripts/lib/wic/imager/direct.py index 36150c9..2290ecd 100644 ---

Re: [OE-core] [PATCH] alsa-tools: add dependency glib-2.0

2015-06-05 Thread Burton, Ross
On 5 June 2015 at 10:30, Jack Mitchell m...@communistcode.co.uk wrote: Ok, it's just quite a heavy dependancy for a package which is feasible to be installed on very small systems; as you have proved by glib-2.0 not beiing available in a non-x11 build. In this case I guess the way round it

[OE-core] [wic][PATCH v2 7/9] wic: Use partition UUID in directdisk-gpt

2015-06-05 Thread Ed Bartosh
Used --use-uuid option for root partition in directdisk-gpt.wks This is useful to have example of image with UUID support. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/image/canned-wks/directdisk-gpt.wks b/scripts/lib/image/canned-wks/directdisk-gpt.wks index

[OE-core] [wic][PATCH v2 6/9] wic: Set type GUID and UUID for partition

2015-06-05 Thread Ed Bartosh
Set type GUID and UUID for partition using sgdisk utility. Type GUID can be specified for partition in .wks with --part-type option. UUID is generated when --use-uuid option is specified for partition. [YOCTO #7716] Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git

[OE-core] [wic][PATCH v2 8/9] wic: oe-selftest: Configure testing of gpt/UUID image

2015-06-05 Thread Ed Bartosh
Added runtime dependency to gptfdisk-native to wic test suite to be able to test modified directdisk-gpt with UUID support. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py index e97dd1d..358f09e 100644 ---

[OE-core] [wic][PATCH v2 9/9] wic: Add help for --part-type and --use-uuid options

2015-06-05 Thread Ed Bartosh
Added help for two wks partition options specific to GUID partition table and globally unique identificators (GUID). Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py index e365a07..14f0ff1 100644 ---

[OE-core] [wic][PATCH] wic: Move validation of --ptable option to wks parser

2015-06-05 Thread Ed Bartosh
bootloader --ptable option has two valid choices: gpt and msdos Moved this check to wks parser by changing option type to 'choice'. Removed similar checks from 5 other places. Signed-off-by: Ed Bartosh ed.bart...@linux.intel.com --- scripts/lib/wic/kickstart/custom_commands/micboot.py | 3 ++-

Re: [OE-core] [PATCH] libxml2: Security Advisory - libxml2 - CVE-2015-1819

2015-06-05 Thread Burton, Ross
On 5 June 2015 at 09:23, wenzong@windriver.com wrote: +From 213f1fe0d76d30eaed6e5853057defc43e6df2c9 Mon Sep 17 00:00:00 2001 +From: Daniel Veillard veill...@redhat.com +Date: Tue, 14 Apr 2015 17:41:48 +0800 +Subject: [PATCH] CVE-2015-1819 Enforce the reader to run in constant memory +

Re: [OE-core] RFC: update_data removal

2015-06-05 Thread Richard Purdie
On Wed, 2015-05-27 at 23:43 +0100, Richard Purdie wrote: I've been experimenting with this and I do have a branch which basically works: http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=rpurdie/noupdatedata5 Testing showed up some issues. I've addressed those and this code is now as

[OE-core] [PATCH] oeqa/selftest: added an auto-test to filter packages by license

2015-06-05 Thread Costin Constantin
Signed-off-by: Costin Constantin costin.c.constan...@intel.com --- meta/lib/oeqa/selftest/buildoptions.py | 36 ++ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index

[OE-core] [PATCH] oeqa/selftest: added auto-test for directfb image on arm architecture

2015-06-05 Thread Costin Constantin
Signed-off-by: Costin Constantin costin.c.constan...@intel.com --- meta/lib/oeqa/selftest/buildoptions.py | 29 + 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index

[OE-core] [PATCH] oeqa/selftest: added auto-test for btrfs image type

2015-06-05 Thread Costin Constantin
Signed-off-by: Costin Constantin costin.c.constan...@intel.com --- meta/lib/oeqa/selftest/buildoptions.py | 33 - 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index

[OE-core] [PATCH] oeqa/selftest: added auto-test for archiving working dir and expeort source package

2015-06-05 Thread Costin Constantin
Signed-off-by: Costin Constantin costin.c.constan...@intel.com --- meta/lib/oeqa/selftest/buildoptions.py | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/meta/lib/oeqa/selftest/buildoptions.py b/meta/lib/oeqa/selftest/buildoptions.py index

[OE-core] Yocto Project Status WW23

2015-06-05 Thread Jolley, Stephen K
Current Dev Position: 1.9 Milestone 1 (M1) Next Deadline: M1 cut off of June 23rd SWAT team rotation: Anibal - Tracy https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: Bitbake's update_data datastore changes now on a bitbake branch after wider testing

Re: [OE-core] [PATCH 1/1] systemd: Don't create /var/tmp, log directories

2015-06-05 Thread Andrei Gherzan
On Sat, Jan 17, 2015 at 6:37 PM, Otavio Salvador ota...@ossystems.com.br wrote: Adding Armin in Cc. On Fri, Jan 16, 2015 at 11:43 AM, Andrei Gherzan and...@gherzan.ro wrote: Hi guys, On Fri, Jan 16, 2015 at 2:38 PM, Andrei Gherzan and...@gherzan.ro wrote: /var/tmp and /var/log are symlinks

Re: [OE-core] [wic][PATCH 3/4] wic: replaced __run_parted with exec_native_cmd

2015-06-05 Thread Ross Burton
On 05/06/2015 07:13, Ed Bartosh wrote: There is no need for yet another wrapper around exec_native_cmd. This doesn't appear to apply to master, can you rebase? (or does it depend on your other series?) Ross -- ___ Openembedded-core mailing list

[OE-core] [PATCH] External modules fail to load due to unknown symbols

2015-06-05 Thread Amy Fong
From da12fa5e6daca0c0b7bb15df030b1c79fbefa089 Mon Sep 17 00:00:00 2001 From: Amy Fong amy.f...@windriver.com Date: Mon, 1 Jun 2015 13:16:20 -0400 Subject: [PATCH] External modules fail to load due to unknown symbols When building external kernel modules, a failure can happen when the module has

Re: [OE-core] [PATCH V5 3/3] systemd: split modules into packages

2015-06-05 Thread Bottazzini, Bruno
Ping. On Ter, 2015-05-19 at 10:18 -0300, Bottazzini, Bruno wrote: On Qui, 2015-05-14 at 00:41 +0200, Andreas Oberritter wrote: Hello Bruno, On 13.05.2015 23:51, Bruno Bottazzini wrote: + +# Aggregation of Split

[OE-core] [PATCH] xserver-xorg: always enable DRI2 by default

2015-06-05 Thread Ross Burton
DRI2 is more abstract than the original DRI and isn't tied to OpenGL or any other rendering system, and as such is being used by more than OpenGL support in xserver. In particular, the new modesettings driver uses DRI2 to accelerate drawing, so enable DRI2 by default. This was spotted because

Re: [OE-core] [PATCH 1/1] linux-yocto: update beaglebone, mpc8315e and edgerouter to 3.19

2015-06-05 Thread Bruce Ashfield
On 2015-06-05 11:07 AM, Burton, Ross wrote: On 5 June 2015 at 05:13, Bruce Ashfield bruce.ashfi...@windriver.com mailto:bruce.ashfi...@windriver.com wrote: Bumping the linux-yocto SRCREVs to integrate fixes for the h/w reference BSPs to the 3.19 kernel. edgerouter fails for me:

Re: [OE-core] [PATCH 1/1] linux-yocto: update beaglebone, mpc8315e and edgerouter to 3.19

2015-06-05 Thread Bruce Ashfield
On 2015-06-05 11:07 AM, Burton, Ross wrote: On 5 June 2015 at 05:13, Bruce Ashfield bruce.ashfi...@windriver.com mailto:bruce.ashfi...@windriver.com wrote: Bumping the linux-yocto SRCREVs to integrate fixes for the h/w reference BSPs to the 3.19 kernel. edgerouter fails for me: |

Re: [OE-core] [PATCH] oeqa/selftest: added auto-test for directfb image on arm architecture

2015-06-05 Thread Richard Purdie
On Fri, 2015-06-05 at 16:33 +0300, Costin Constantin wrote: Signed-off-by: Costin Constantin costin.c.constan...@intel.com --- meta/lib/oeqa/selftest/buildoptions.py | 29 + 1 file changed, 9 insertions(+), 20 deletions(-) diff --git

Re: [OE-core] [PATCH] External modules fail to load due to unknown symbols

2015-06-05 Thread Richard Purdie
On Fri, 2015-06-05 at 13:18 -0400, Amy Fong wrote: From da12fa5e6daca0c0b7bb15df030b1c79fbefa089 Mon Sep 17 00:00:00 2001 From: Amy Fong amy.f...@windriver.com Date: Mon, 1 Jun 2015 13:16:20 -0400 Subject: [PATCH] External modules fail to load due to unknown symbols When building external

[OE-core] [fido][PATCH 00/13] devtool backports for fido (cover letter only)

2015-06-05 Thread Paul Eggleton
Some fixes for devtool in fido. The oe-selftest tests all pass with these applied. The following changes since commit b266977372f2d5704d00dd07b29ea49898ebf70e: combo-layer: handle unset dest_dir in sanity_check() (2015-05-29 13:00:52 +0100) are available in the git repository at:

Re: [OE-core] [PATCH 1/1] linux-yocto: update beaglebone, mpc8315e and edgerouter to 3.19

2015-06-05 Thread Burton, Ross
On 5 June 2015 at 05:13, Bruce Ashfield bruce.ashfi...@windriver.com wrote: Bumping the linux-yocto SRCREVs to integrate fixes for the h/w reference BSPs to the 3.19 kernel. edgerouter fails for me: | /data/poky-master/tmp/work-shared/edgerouter/kernel-source/fs/aufs/i_op.c: In function