[OE-core] [PATCH] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-08 Thread Changhyeok Bae
Patch fix-cipher-des-ede3-cfb1.patch was removed as it is included in this release. Signed-off-by: Changhyeok Bae --- .../openssl/openssl/fix-cipher-des-ede3-cfb1.patch | 21 - .../{openssl_1.0.2k.bb => openssl_1.0.2l.bb}| 7 +++ 2 files changed, 3 insertions(+)

Re: [OE-core] [PATCH 0/2] Yocto Compatible 2.0 support code

2017-06-08 Thread Richard Purdie
On Wed, 2017-06-07 at 10:43 -0500, Joshua Watt wrote: > On Wed, 2017-06-07 at 17:31 +0200, Patrick Ohly wrote: > > > > As discussed in the "[Openembedded-architecture] Yocto Compatible > > 2.0 > > + signature changes" mail thread, changes in a .bbappend cannot be > > done unconditionally. Making _

Re: [OE-core] [PATCH 2/2] utils.py: helper function for optional include files

2017-06-08 Thread Richard Purdie
On Wed, 2017-06-07 at 17:31 +0200, Patrick Ohly wrote: > By using oe.utils.optional_includes(), developers can simplify the > code which selects which additional include files need to be included > in a .bbappend. > > In the simple case (one distro feature and one include file) the code > is not s

Re: [OE-core] [PATCH v2] python3: make readline, gdbm, and db support conditional.

2017-06-08 Thread Puustinen, Ismo
On Wed, 2017-06-07 at 15:10 +0100, Burton, Ross wrote: > > On 7 June 2017 at 14:49, Ismo Puustinen > wrote: > > +RRECOMMENDS_${PN}-core = "${@bb.utils.contains('PACKAGECONFIG', > > 'readline', '${PN}-readline', '', d)}" > > > > Recommends can not exists, so I wouldn't bother with this > complic

Re: [OE-core] [PATCH 1/2] bitbake.conf: DISTRO_FEATURES as overrides

2017-06-08 Thread Richard Purdie
On Thu, 2017-06-08 at 08:04 +0200, Patrick Ohly wrote: > On Wed, 2017-06-07 at 16:11 +, Peter Kjellerstedt wrote: > > > > Rather than requiring that the wanted DISTRO_FEATURES that should > > be  > > available as overrides are defined in DISTRO_FEATURES_OVERRIDES > > (which  > > should not be

Re: [OE-core] [PATCH v2] python3: make readline, gdbm, and db support conditional.

2017-06-08 Thread Alexander Kanavin
On 06/07/2017 04:49 PM, Ismo Puustinen wrote: The three libraries' (readline, gdbm, and db) licenses belong to the GPLv3 family. Add them to to PACKAGECONFIG so they can be switched off if the licensing doesn't allow using them. Python build system autodetects the dependencies but doesn't allow t

Re: [OE-core] [PATCH v3] oeqa/selftest: Adds verification for the integrity compressed images

2017-06-08 Thread Burton, Ross
On 6 June 2017 at 20:29, Francisco Pedraza < francisco.j.pedraza.gonza...@intel.com> wrote: > Added verification for images compression divided in 3 steps. > 1. Add IMAGE_FSTYPES += "[type(s)]" to ~/conf/local.conf > 2. Build a "core-image-minimal" using this configuration. > 3. Verify that the im

Re: [OE-core] [PATCH] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-08 Thread Jussi Kukkonen
On 8 June 2017 at 11:18, Changhyeok Bae wrote: > Patch fix-cipher-des-ede3-cfb1.patch was removed as it is included > in this release. > > Signed-off-by: Changhyeok Bae > --- > .../openssl/openssl/fix-cipher-des-ede3-cfb1.patch | 21 > - > .../{openssl_1.0.2k.bb => openssl_

[OE-core] [master][pyro][PATCH] image-vm: Avoid use of fold, tac and paste commands for DISK_SIGNATURE

2017-06-08 Thread Jonathan Liu
These commands are not whitelisted by the HOSTTOOLS variable which silently prevents the MBR disk signature from being written to the image. Reported-by: Michael Davis Signed-off-by: Jonathan Liu --- meta/classes/image-vm.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [OE-core] [oe-core] DISK_SIGNATURE no longer functional

2017-06-08 Thread Jonathan Liu
Hi Michael, I have sent a patch to the mailing list and CC-ed you. Let me know if it fixes the issue. Regards, Jonathan On 8 June 2017 at 02:12, Davis, Michael wrote: > I tried using ROOT_VM = "root=PARTUUID=${DISK_SIGNATURE}-02" > > The resulting PARTUUID in syslinux append line still doesn’t

Re: [OE-core] [PATCH] libxml2: Fix CVE-2017-8872

2017-06-08 Thread Jussi Kukkonen
On 7 June 2017 at 11:51, Fan Xin wrote: > > CVE: CVE-2017-8872 > The htmlParseTryOrFinish function in HTMLparser.c in libxml2 2.9.4 allows attackers > to cause a denial of service (buffer over-read) or information disclosure. > > External References: > https://bugzilla.gnome.org/show_bug.cgi?id=77

Re: [OE-core] [master][pyro][PATCH] image-vm: Avoid use of fold, tac and paste commands for DISK_SIGNATURE

2017-06-08 Thread Burton, Ross
On 8 June 2017 at 12:07, Jonathan Liu wrote: > These commands are not whitelisted by the HOSTTOOLS variable which > silently prevents the MBR disk signature from being written to the > image. > Silently, ouch. Thanks, awk. Ross -- ___ Openembedded-c

Re: [OE-core] [master][pyro][PATCH] image-vm: Avoid use of fold, tac and paste commands for DISK_SIGNATURE

2017-06-08 Thread Jonathan Liu
Hi Ross, It is the shell not awk. For example: $ echo $(false) $ echo $? 0 Regards, Jonathan On 8 June 2017 at 21:18, Burton, Ross wrote: > > On 8 June 2017 at 12:07, Jonathan Liu wrote: >> >> These commands are not whitelisted by the HOSTTOOLS variable which >> silently prevents the MBR dis

Re: [OE-core] [PATCH v3] runtime/dnf: Add new dnf test cases

2017-06-08 Thread Alexander Kanavin
On 06/07/2017 08:31 PM, Jose Perez Carranza wrote: When I tried this test image was built without using states hence "busybox*.rpm" and "curl*.rpm"where present under "tmp/deploy/rpm/core2_64" hence the repo i taking tha packages form there to add them to repo and used on the image, but when usin

Re: [OE-core] [master][pyro][PATCH] image-vm: Avoid use of fold, tac and paste commands for DISK_SIGNATURE

2017-06-08 Thread Burton, Ross
On 8 June 2017 at 12:21, Jonathan Liu wrote: > For example: > $ echo $(false) > > $ echo $? > 0 > I stand corrected. Thanks, sh. Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailma

[OE-core] [PATCH v3] gzip: add ptest

2017-06-08 Thread Denys Zagorui
Signed-off-by: Denys Zagorui --- ...eturns_-rather-than-explicit-comparison-w.patch | 48 +++ .../0002-gzip-port-zdiff-zless-to-Busybox.patch| 55 ++ meta/recipes-extended/gzip/files/run-ptest | 6 +++ meta/recipes-extended/gzip/gzip_1.8.bb

[OE-core] ✗ patchtest: failure for gzip: add ptest (rev3)

2017-06-08 Thread Patchwork
== Series Details == Series: gzip: add ptest (rev3) Revision: 3 URL : https://patchwork.openembedded.org/series/5728/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed

Re: [OE-core] [PATCH v2] python3: make readline, gdbm, and db support conditional.

2017-06-08 Thread Puustinen, Ismo
On Thu, 2017-06-08 at 13:51 +0300, Alexander Kanavin wrote: > On 06/07/2017 04:49 PM, Ismo Puustinen wrote: > > The three libraries' (readline, gdbm, and db) licenses belong to > > the > > GPLv3 family. Add them to to PACKAGECONFIG so they can be switched > > off > > if the licensing doesn't allow

Re: [OE-core] [PATCH v2] python3: make readline, gdbm, and db support conditional.

2017-06-08 Thread Alexander Kanavin
On 06/08/2017 03:35 PM, Puustinen, Ismo wrote: db should be taken out from this patch, it's no longer a gplv3 concern now that we're providing db 5.x only :) I can leave db out of the patch then. Is db 5.x a long-term solution or do we have to change to 6.x at some point? Is anyone maintaining

Re: [OE-core] [PATCH v3] runtime/dnf: Add new dnf test cases

2017-06-08 Thread Jose Perez Carranza
On 06/08/2017 06:31 AM, Alexander Kanavin wrote: On 06/07/2017 08:31 PM, Jose Perez Carranza wrote: When I tried this test image was built without using states hence "busybox*.rpm" and "curl*.rpm"where present under "tmp/deploy/rpm/core2_64" hence the repo i taking tha packages form there to a

Re: [OE-core] [PATCH V2 2/3] kernel-fitimage: set replacementtype to vmlinux

2017-06-08 Thread Anders Darander
Hi, * C.R. Guo [170608 11:44]: > Can you apply these patches? No, I can't. > -Original Message- > From: C.R. Guo [mailto:chunrong@nxp.com] > Sent: Tuesday, June 06, 2017 4:05 PM Besides, wait a little longer for feedback / merging, before you start to send reminders. Everyone ha

Re: [OE-core] [PATCH v3] runtime/dnf: Add new dnf test cases

2017-06-08 Thread Alexander Kanavin
On 06/08/2017 03:49 PM, Jose Perez Carranza wrote: 1. bitbake core-image-sato using shared states (I'm using local sstates) When you do this, tmp/deploy/rpm should get re-populated with rpm packages, regardless of whether they're taken from sstate, or rebuilt. Can you check why this does no

[OE-core] [PATCH v2] openssl: Upgrade 1.0.2k -> 1.0.2l

2017-06-08 Thread Changhyeok Bae
Dropped obsolete patches, because the new version contains them: - fix-cipher-des-ede3-cfb1.patch - openssl-avoid-NULL-pointer-dereference-in-EVP_DigestInit_ex.patch Signed-off-by: Changhyeok Bae --- .../openssl/openssl/fix-cipher-des-ede3-cfb1.patch | 21 ...-pointer-de

[OE-core] State of bitbake world, Failed tasks 2017-06-06

2017-06-08 Thread Martin Jansa
http://www.openembedded.org/wiki/Bitbake_World_Status == Number of issues - stats == {| class='wikitable' !|Date !!colspan='3'|Failed tasks !!|Signatures !!colspan='14'|QA !!Comment |- || ||qemuarm ||qemux86 ||qemux86_64

[OE-core] [PATCH] opkg-utils: if Python support is disabled, delete the Python scripts

2017-06-08 Thread Ross Burton
To make it obvious what is lost when python is disabled, actually delete the scripts so the user can't attempt to use them. Signed-off-by: Ross Burton --- meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-devtools/opkg-utils/

Re: [OE-core] [PATCH v3] runtime/dnf: Add new dnf test cases

2017-06-08 Thread Jose Perez Carranza
On 06/08/2017 07:49 AM, Alexander Kanavin wrote: On 06/08/2017 03:49 PM, Jose Perez Carranza wrote: 1. bitbake core-image-sato using shared states (I'm using local sstates) When you do this, tmp/deploy/rpm should get re-populated with rpm packages, regardless of whether they're taken from

Re: [OE-core] [PATCH 1/2] bitbake.conf: DISTRO_FEATURES as overrides

2017-06-08 Thread Peter Kjellerstedt
> -Original Message- > From: Richard Purdie [mailto:richard.pur...@linuxfoundation.org] > Sent: den 8 juni 2017 12:45 > To: Patrick Ohly ; Peter Kjellerstedt > > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH 1/2] bitbake.conf: DISTRO_FEATURES as > overrides >

[OE-core] [PATCH 1/3] alsa-lib: 1.1.3 -> 1.1.4.1

2017-06-08 Thread Tanu Kaskinen
Changelogs: http://alsa-project.org/main/index.php/Changes_v1.1.3_v1.1.4 http://alsa-project.org/main/index.php/Changes_v1.1.4_v1.1.4.1 Dropped backported patch 0001-ucm-parser-needs-limits.h.patch. Signed-off-by: Tanu Kaskinen --- .../alsa-lib/0001-ucm-parser-needs-limits.h.patch | 33 ---

[OE-core] [PATCH 0/3] Update the alsa recipes

2017-06-08 Thread Tanu Kaskinen
The following changes since commit 186882ca62bf683b93cd7a250963921b89ba071f: buildhistory: skip tests if GitPython module is missing (2017-06-07 16:00:43 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib tanuk/updates http://cgit.openembed

[OE-core] [PATCH 2/3] alsa-utils: 1.1.3 -> 1.1.4

2017-06-08 Thread Tanu Kaskinen
Changelog: http://alsa-project.org/main/index.php/Changes_v1.1.3_v1.1.4 Signed-off-by: Tanu Kaskinen --- .../alsa/{alsa-utils-scripts_1.1.3.bb => alsa-utils-scripts_1.1.4.bb} | 0 .../alsa/{alsa-utils_1.1.3.bb => alsa-utils_1.1.4.bb} | 4 ++-- 2 files changed, 2 insertions(+), 2

[OE-core] [PATCH 3/3] alsa-plugins: 1.1.1 -> 1.1.4

2017-06-08 Thread Tanu Kaskinen
Changelog: http://alsa-project.org/main/index.php/Changes_v1.1.3_v1.1.4 Signed-off-by: Tanu Kaskinen --- .../alsa/{alsa-plugins_1.1.1.bb => alsa-plugins_1.1.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-multimedia/alsa/{alsa-plugins_1.1.1.bb =>

Re: [OE-core] [PATCH V2] python2/3: Remove building host path from packages

2017-06-08 Thread Burton, Ross
On 5 June 2017 at 10:15, Li Zhou wrote: > @@ -185,9 +185,14 @@ py_package_preprocess () { > install -m 0644 ${B}/Makefile.orig ${PKGD}/${libdir}/python${ > PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}/Makefile > # Remove references to buildmachine paths in target Makefile a

[OE-core] [PATCH v4] gzip: add ptest

2017-06-08 Thread Denys Zagorui
--- .../0001-gzip-port-zdiff-zless-to-Busybox.patch| 59 ++ meta/recipes-extended/gzip/files/run-ptest | 6 +++ meta/recipes-extended/gzip/gzip_1.8.bb | 20 +++- 3 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-exte

Re: [OE-core] [PATCH 0/2] Yocto Compatible 2.0 support code

2017-06-08 Thread Joshua Watt
On Thu, 2017-06-08 at 09:56 +0100, Richard Purdie wrote: > On Wed, 2017-06-07 at 10:43 -0500, Joshua Watt wrote: > > On Wed, 2017-06-07 at 17:31 +0200, Patrick Ohly wrote: > > > > > > As discussed in the "[Openembedded-architecture] Yocto Compatible > > > 2.0 > > > + signature changes" mail thread

[OE-core] ✗ patchtest: failure for gzip: add ptest (rev4)

2017-06-08 Thread Patchwork
== Series Details == Series: gzip: add ptest (rev4) Revision: 4 URL : https://patchwork.openembedded.org/series/5728/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed

[OE-core] [PATCH v5] gzip: add ptest

2017-06-08 Thread Denys Zagorui
Signed-of-by: Denys Zagorui --- .../0001-gzip-port-zdiff-zless-to-Busybox.patch| 59 ++ meta/recipes-extended/gzip/files/run-ptest | 6 +++ meta/recipes-extended/gzip/gzip_1.8.bb | 20 +++- 3 files changed, 84 insertions(+), 1 deletion(-) create m

Re: [OE-core] [PATCH v3] oeqa/selftest: Adds verification for the integrity compressed images

2017-06-08 Thread Leonardo Sandoval
On Thu, 2017-06-08 at 11:51 +0100, Burton, Ross wrote: > > On 6 June 2017 at 20:29, Francisco Pedraza > wrote: > Added verification for images compression divided in 3 steps. > 1. Add IMAGE_FSTYPES += "[type(s)]" to ~/conf/local.conf > 2. Build a "core-image-minimal" using

[OE-core] ✗ patchtest: failure for gzip: add ptest (rev5)

2017-06-08 Thread Patchwork
== Series Details == Series: gzip: add ptest (rev5) Revision: 5 URL : https://patchwork.openembedded.org/series/5728/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed

Re: [OE-core] [PATCH 0/2] Yocto Compatible 2.0 support code

2017-06-08 Thread Richard Purdie
On Thu, 2017-06-08 at 08:55 -0500, Joshua Watt wrote: > On Thu, 2017-06-08 at 09:56 +0100, Richard Purdie wrote: > > > > On Wed, 2017-06-07 at 10:43 -0500, Joshua Watt wrote: > > > > > > On Wed, 2017-06-07 at 17:31 +0200, Patrick Ohly wrote: > > > > > > > > > > > > As discussed in the "[Openemb

Re: [OE-core] [PATCH 2/2] utils.py: helper function for optional include files

2017-06-08 Thread Patrick Ohly
On Thu, 2017-06-08 at 10:20 +0100, Richard Purdie wrote: > On Wed, 2017-06-07 at 17:31 +0200, Patrick Ohly wrote: > > By using oe.utils.optional_includes(), developers can simplify the > > code which selects which additional include files need to be included > > in a .bbappend. > > > > In the simp

Re: [OE-core] [oe-core] DISK_SIGNATURE no longer functional

2017-06-08 Thread Davis, Michael
Jonathan, Yep that fixed it. Thanks, Mike -Original Message- From: Jonathan Liu [mailto:net...@gmail.com] Sent: Thursday, June 08, 2017 6:08 AM To: Davis, Michael Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [oe-core] DISK_SIGNATURE no longer functional Hi Micha

Re: [OE-core] [PATCH 1/2] bitbake.conf: DISTRO_FEATURES as overrides

2017-06-08 Thread Patrick Ohly
On Thu, 2017-06-08 at 13:16 +, Peter Kjellerstedt wrote: > > My feelings are: > > > > * We need to use a prefix. We've been burnt too many times in the past > > when not using these. "df-" is fine, users will just have to deal > > with it. Fine with me. > > * We should filter the list of

[OE-core] [PATCHv2 0/2] Multi-threaded RPM support

2017-06-08 Thread Alexander Kanavin
Changes in version 2: use openmp for multi-processing instead of NSPR library, as requested by upstream. Add a link to the upstream submission to patches. These two patches add multi-threaded features to RPM to speed up the do_package_write_rpm task. Specifically: 1) Multi-threaded xz compress

[OE-core] [PATCHv2 2/2] rpm: run binary package generation via thread pools

2017-06-08 Thread Alexander Kanavin
This greatly reduces build times when there is a large amount of small rpm packages to produce. The patches are rather invasive, and so will be submitted upstream. Signed-off-by: Alexander Kanavin --- ...y-package-building-into-a-separate-functi.patch | 83 ...-binary-package-creation-

[OE-core] [PATCHv2 1/2] package_rpm.bbclass: use multithreaded xz compression

2017-06-08 Thread Alexander Kanavin
RPM's default is single-threaded gz; the change greatly helps with both buildtimes (when there is a small number of large-sized packages) and disk space taken by resulting rpms. Signed-off-by: Alexander Kanavin --- meta/classes/package_rpm.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --

Re: [OE-core] [PATCH 0/2] Yocto Compatible 2.0 support code

2017-06-08 Thread Patrick Ohly
On Thu, 2017-06-08 at 15:33 +0100, Richard Purdie wrote: > Patrick for example mentioned IMAGE_FEATURES. This one is fraught with > problems since: > > a) Its a recipe level setting so using it in a base configuration > context would end badly We cannot even rely on DISTRO_FEATURES in the middle

[OE-core] [PATCH v6] gzip: add ptest

2017-06-08 Thread Denys Zagorui
Signed-off-by: Denys Zagorui --- .../0001-gzip-port-zdiff-zless-to-Busybox.patch| 59 ++ meta/recipes-extended/gzip/files/run-ptest | 6 +++ meta/recipes-extended/gzip/gzip_1.8.bb | 20 +++- 3 files changed, 84 insertions(+), 1 deletion(-) create

Re: [OE-core] [PATCH 0/2] Yocto Compatible 2.0 support code

2017-06-08 Thread Joshua Watt
On Thu, 2017-06-08 at 15:33 +0100, Richard Purdie wrote: > On Thu, 2017-06-08 at 08:55 -0500, Joshua Watt wrote: > > On Thu, 2017-06-08 at 09:56 +0100, Richard Purdie wrote: > > > > > > On Wed, 2017-06-07 at 10:43 -0500, Joshua Watt wrote: > > > > > > > > On Wed, 2017-06-07 at 17:31 +0200, Patric

[OE-core] [PATCH 00/25] #11283 wic ls & cp & rm

2017-06-08 Thread Ed Bartosh
Hi, This is a consolidated patchet made of previously sent 'wic ls' 'wic cp' and 'wic rm' patchset. It doesn't depend on generic efi implementation, which made these 3 patchsets pending. Please, review and merge. Thanks The following changes since commit 4a7612c7a12b9a381fb8343ba9586272b889fc15

[OE-core] [PATCH 02/25] filemap: add parameter 'length' to sparse_copy

2017-06-08 Thread Ed Bartosh
Added parameter 'length' to specify amount of data to write into destination file. This is useful when only part of source file should be written into destination file. Signed-off-by: Ed Bartosh --- scripts/lib/wic/filemap.py | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-)

[OE-core] [PATCH 05/25] wic: add help and usage content for 'wic ls'

2017-06-08 Thread Ed Bartosh
Added wic_ls_help and wic_ls_usage variables to help.py. These variables contain help content that will be used in 'wic ls help' and 'wic ls --help' output. Signed-off-by: Ed Bartosh --- scripts/lib/wic/help.py | 65 + 1 file changed, 65 insertions

[OE-core] [PATCH 01/25] filemap: fix skip logic

2017-06-08 Thread Ed Bartosh
Fixed bug in processing 'skip' parameter: don't read input file if end of bmap block is less than skip Simplified logic of positioning to the start of data inside a partially skipped bmap block. Signed-off-by: Ed Bartosh --- scripts/lib/wic/filemap.py | 11 +++ 1 file changed, 7 inse

[OE-core] [PATCH 04/25] wic: add wic_init_parser_ls

2017-06-08 Thread Ed Bartosh
Added parser for 'wic ls' command. Signed-off-by: Ed Bartosh --- scripts/wic | 25 + 1 file changed, 25 insertions(+) diff --git a/scripts/wic b/scripts/wic index 49cad86..6c9a30d 100755 --- a/scripts/wic +++ b/scripts/wic @@ -35,6 +35,8 @@ import os import sys import

[OE-core] [PATCH 03/25] bootimg-pcbios: make boot image file unique

2017-06-08 Thread Ed Bartosh
Plugin code uses boot.img file name for an image file. If there are two partitions that use bootimg-pcbios wic breaks with an error "file already exists: boot.img" Made image file name unique by adding wks like number to it to fix the issue. Signed-off-by: Ed Bartosh --- scripts/lib/wic/plugins

[OE-core] [PATCH 08/25] selftest: add new test case test_wic_ls

2017-06-08 Thread Ed Bartosh
Tested 'wic ls' functionality: - list of image partitions - list of directory content of vfat partition Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/cases/wic.py | 20 1 file changed, 20 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oe

[OE-core] [PATCH 07/25] engine: implement listing wic images

2017-06-08 Thread Ed Bartosh
Implemented 'wic ls' functionality: - list image partitions - list directory content of vfat partitions [YOCTO #11283] Signed-off-by: Ed Bartosh --- scripts/lib/wic/engine.py | 84 +-- 1 file changed, 82 insertions(+), 2 deletions(-) diff --git a/s

[OE-core] [PATCH 10/25] wic: add help and usage content for 'wic cp'

2017-06-08 Thread Ed Bartosh
Added wic_cp_help and wic_cp_usage variables to help.py. These variables contain help content that will be used in 'wic cp help' and 'wic cp --help' output. [YOCTO #11283] Signed-off-by: Ed Bartosh --- scripts/lib/wic/help.py | 62 + 1 file change

[OE-core] [PATCH 09/25] wic: add wic_init_parser_cp

2017-06-08 Thread Ed Bartosh
Add parser for 'wic cp' subcommand and a custom argument type. Signed-off-by: Ed Bartosh --- scripts/wic | 16 1 file changed, 16 insertions(+) diff --git a/scripts/wic b/scripts/wic index 4161f80..945dda8 100755 --- a/scripts/wic +++ b/scripts/wic @@ -341,6 +341,8 @@ def imgty

[OE-core] [PATCH 06/25] wic: add 'wic ls' command

2017-06-08 Thread Ed Bartosh
Added empty 'wic ls' command that does nothing. The functionality will be added by the next commits. Signed-off-by: Ed Bartosh --- scripts/lib/wic/engine.py | 4 scripts/wic | 15 +++ 2 files changed, 19 insertions(+) diff --git a/scripts/lib/wic/engine.py b/scri

[OE-core] [PATCH 24/25] wic: implement removing directories

2017-06-08 Thread Ed Bartosh
Added support for removing directories using mdeltree utility to Disk.del method [YOCTO #11283] Signed-off-by: Ed Bartosh --- scripts/lib/wic/engine.py | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.

[OE-core] [PATCH 15/25] filemap: check if dest is written for every block

2017-06-08 Thread Ed Bartosh
If lenght parameter is provided to sparse_copy call it's mandatory to check if the output file is fully written after reading unmapped block from input file. If it's not done then sparse_copy can write more data than specified length. Signed-off-by: Ed Bartosh --- scripts/lib/wic/filemap.py | 7

[OE-core] [PATCH 16/25] filemap: calculate dst size correctly

2017-06-08 Thread Ed Bartosh
Fixed calculation of the dst file size using skip, seek and length parameters. Current code does it incorrectly which causes sparse_copy API to create unnecessary big output files. Signed-off-by: Ed Bartosh --- scripts/lib/wic/filemap.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-)

[OE-core] [PATCH 11/25] wic: add 'wic cp' command

2017-06-08 Thread Ed Bartosh
Added empty 'wic cp' command that does nothing. The functionality will be added by the next commits. [YOCTO #11283] Signed-off-by: Ed Bartosh --- scripts/lib/wic/engine.py | 7 +++ scripts/wic | 13 + 2 files changed, 20 insertions(+) diff --git a/scripts/lib/wic

[OE-core] [PATCH 22/25] wic: add 'wic rm' command

2017-06-08 Thread Ed Bartosh
Added empty 'wic rm' command that does nothing. The functionality will be added by the next commits. [YOCTO #11283] Signed-off-by: Ed Bartosh --- scripts/lib/wic/engine.py | 7 +++ scripts/wic | 14 ++ 2 files changed, 21 insertions(+) diff --git a/scripts/lib/wi

[OE-core] [PATCH 12/25] wic: add Disk._prop helper

2017-06-08 Thread Ed Bartosh
Added generic helper to use in property methods to access commands in a lazy manner. Signed-off-by: Ed Bartosh --- scripts/lib/wic/engine.py | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py index f8f2844..e

[OE-core] [PATCH 17/25] wic: add Disk._put_part_image method

2017-06-08 Thread Ed Bartosh
This method copies partition image into the wic image. It will be used in 'wic cp' and 'wic rm' subcommands to copy changed partition back into wic image. Signed-off-by: Ed Bartosh --- scripts/lib/wic/engine.py | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/lib/wic/engine.py b/

[OE-core] [PATCH 20/25] wic: add wic_init_parser_rm

2017-06-08 Thread Ed Bartosh
Add parser for 'wic rm' subcommand. Signed-off-by: Ed Bartosh --- scripts/wic | 6 ++ 1 file changed, 6 insertions(+) diff --git a/scripts/wic b/scripts/wic index 5e81fad..fc192ec 100755 --- a/scripts/wic +++ b/scripts/wic @@ -379,6 +379,12 @@ def wic_init_parser_cp(subparser): subpars

[OE-core] [PATCH 18/25] wic: fully implement 'wic cp'

2017-06-08 Thread Ed Bartosh
Added implementation of Disk.copy method and wic_cp function that copies files/directories to the vfat partition of the partitioned image. [YOCTO #11283] Signed-off-by: Ed Bartosh --- scripts/lib/wic/engine.py | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scrip

[OE-core] [PATCH 19/25] selftest: add test_wic_cp test case

2017-06-08 Thread Ed Bartosh
Added test case for "wic cp" functionality. - copy file to vfat partition - copy directory to vfat partition Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/cases/wic.py | 46 - 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/meta/

[OE-core] [PATCH 25/25] selftest: add test_wic_rm test case

2017-06-08 Thread Ed Bartosh
Added test case for "wic rm" functionality. - remove file from vfat partition - remove directory from vfat partition Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/cases/wic.py | 30 ++ 1 file changed, 30 insertions(+) diff --git a/meta/lib/oeqa/selftes

[OE-core] [PATCH 23/25] wic: implement removing files

2017-06-08 Thread Ed Bartosh
Added implementation of Disk.del method and wic_r function that removes files from the vfat partition using mdel utility. [YOCTO #11283] Signed-off-by: Ed Bartosh --- scripts/lib/wic/engine.py | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/scripts/lib/wic/e

[OE-core] [PATCH 13/25] wic: add mcopy property

2017-06-08 Thread Ed Bartosh
Added property that points to the mcopy executable. Signed-off-by: Ed Bartosh --- scripts/lib/wic/engine.py | 5 + 1 file changed, 5 insertions(+) diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py index e3701c4..f24fb9a 100644 --- a/scripts/lib/wic/engine.py +++ b/scripts/l

[OE-core] [PATCH 21/25] wic: add help and usage content for 'wic rm'

2017-06-08 Thread Ed Bartosh
Added wic_rm_help and wic_rm_usage variables to help.py. These variables contain help content that will be used in 'wic rm help' and 'wic rm --help' output. Signed-off-by: Ed Bartosh --- scripts/lib/wic/help.py | 59 - 1 file changed, 58 insertions

[OE-core] [PATCH 14/25] filemap: change signature of sparse_copy function

2017-06-08 Thread Ed Bartosh
Renamed parameter offset->skip to match names of dd parameters. Changed affected sparse_copy calls. Added explanation of the parameters to docstring. Signed-off-by: Ed Bartosh --- scripts/lib/wic/filemap.py | 15 --- scripts/lib/wic/plugins/imager/direct.py | 2 +- 2

[OE-core] [PATCH 1/7] devtool/standard: Fix lock in _prep_extract_operation

2017-06-08 Thread Aníbal Limón
If for any reason the parse_recipe fail in extract command the process gets locked because Cooker is expecting the finish event by tinfoil. For example: $ devtool extract remake /tmp/remake ERROR: remake is unavailable: remake was skipped: PREFERRED_PROVIDER_virtual/make set to make, not remak

[OE-core] [PATCH 0/7] OEQA, devtool and YP compatible fixes

2017-06-08 Thread Aníbal Limón
The following changes since commit 4a7612c7a12b9a381fb8343ba9586272b889fc15: buildhistory: skip tests if GitPython module is missing (2017-06-07 16:00:49 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib alimon/simple_patches http://git.yoctoproject.or

[OE-core] [PATCH 2/7] scripts/yocto-compat-layer.py: Return non-zero when layer test fail

2017-06-08 Thread Aníbal Limón
If whatever layer tested fails returns 2 to indicate the failure. [YOCTO #11482] Signed-off-by: Aníbal Limón --- scripts/yocto-compat-layer.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/yocto-compat-layer.py b/scripts/yocto-compat-layer.py index 0d5700b..30c

[OE-core] [PATCH 3/7] scripts/yocto-compat-layer-wrapper: Use realpath of output_log

2017-06-08 Thread Aníbal Limón
We are using a temp directory, use the realpath for output log to store the results in the original BUILDDIR. [YOCTO #11571] Signed-off-by: Aníbal Limón --- scripts/yocto-compat-layer-wrapper | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/scripts/yocto-co

[OE-core] [PATCH 4/7] oeqa: Change the order to logDetails and logSummary

2017-06-08 Thread Aníbal Limón
Is better to log the summary at end to see in an easy way the actual result of the test run. [YOCTO #11622] Signed-off-by: Aníbal Limón --- meta/classes/testimage.bbclass| 2 +- meta/classes/testsdk.bbclass | 4 ++-- meta/lib/oeqa/core/context.py | 2 +- meta/lib/oeqa/selftest/cont

[OE-core] [PATCH 5/7] oeqa/core/loader: Allow unittest.TestCase's to be executed

2017-06-08 Thread Aníbal Limón
Currently there was a restriction to only execute tests that's inherits from OETestCase but in some circunstancies the features from the OEQA framework isn't needed so we need to support basic unittests. [YOCTO #10828] Signed-off-by: Aníbal Limón --- meta/lib/oeqa/core/loader.py | 12 +++---

[OE-core] [PATCH 6/7] oeqa/cases/oelib: Change default case class to unittest.case.TestCase

2017-06-08 Thread Aníbal Limón
Some tests doesn't need call bitbake so it is better to use the basic unittest case class. [YOCTO #10828] Signed-off-by: Aníbal Limón --- meta/lib/oeqa/selftest/cases/oelib/elf.py | 4 ++-- meta/lib/oeqa/selftest/cases/oelib/license.py | 6 +++--- meta/lib/oeqa/selftest/cases/oelib/path.py

[OE-core] [PATCH 7/7] oeqa/core/loader: Fix filtering on test modules with submodules

2017-06-08 Thread Aníbal Limón
Our filtering allows to specify which tests to run using, .[test_class].[test_name] But the module name logic was restricted to only accept one level, for example: runtime_test vs oelib.types, to support multiple submodules use only the first part for filtering. This allows to run the whole test

Re: [OE-core] [PATCH v3] runtime/dnf: Add new dnf test cases

2017-06-08 Thread Alexander Kanavin
On 06/07/2017 08:31 PM, Jose Perez Carranza wrote: When I tried this test image was built without using states hence "busybox*.rpm" and "curl*.rpm"where present under "tmp/deploy/rpm/core2_64" hence the repo i taking tha packages form there to add them to repo and used on the image, but when usin

Re: [OE-core] [PATCHv2 2/2] rpm: run binary package generation via thread pools

2017-06-08 Thread Mark Hatle
On 6/8/17 9:42 AM, Alexander Kanavin wrote: > This greatly reduces build times when there is a large amount of small > rpm packages to produce. The patches are rather invasive, > and so will be submitted upstream. > > Signed-off-by: Alexander Kanavin > --- > ...y-package-building-into-a-separate

Re: [OE-core] [PATCHv2 2/2] rpm: run binary package generation via thread pools

2017-06-08 Thread Alexander Kanavin
On 06/08/2017 07:55 PM, Mark Hatle wrote: +@@ -565,8 +559,8 @@ static rpmRC packageBinary(rpmSpec spec, Package pkg, const char *cookie, int ch + headerCopyTags(spec->packages->header, pkg->header, copyTags); + + headerPutString(pkg->header, RPMTAG_RPMVERSION, VERSION); +-

[OE-core] [PATCH][morty] linux-yocto/4.8: update to 4.8.24

2017-06-08 Thread Bruce Ashfield
Integration the -stable updates to 4.8, which comprise the following commits: ae51b3b4efe6 Linux 4.8.24 accb950219c0 nvme/pci: Disable on removal when disconnected 995be68699ef padata: avoid race in reordering bea2fdcc6d3e blk: improve order of bio handling in generic_make_request()

[OE-core] [PATCH 0/6] kernel-yocto: consolidated pull request

2017-06-08 Thread Bruce Ashfield
Hi all, This pull request includes -stable updates for all the kernels that are currently in master. I'll be dropping one kernel as I move to 4.12+ for the fall release, but for now, they all continue to get updates. I've done smoke build/boot testing on the updates, but the build matrix is huge

[OE-core] [PATCH 3/6] linux-yocto-rt: 4.9-rt18

2017-06-08 Thread Bruce Ashfield
Integrating the 4.9-rt18 port that Paul Gortmaker has prepared: f458d12de7f1 v4.9.27-rt18 82fcbd9f7e1f futex/rtmutex: Cure RT double blocking issue b4352b9fb961 futex: backported patches 0874a0a35318 random: avoid preempt_disable()ed section 07481e7a0e04 v4.9.27-rt17 76c86c0787fe v4.9.20-rt1

[OE-core] [PATCH 1/6] linux-yocto/meta: configuration changes (wifi, kexec and nft)

2017-06-08 Thread Bruce Ashfield
Making the following kernel configuration fragment changes available: c9f07d79f01d nftables: add more configuration options. 8d3cf0ad6c0c common-pc-wifi.cfg: add CONFIG_MT7601U module 55c9bf749c6d ktypes/developer: Enable CONFIG_KEXEC in config Signed-off-by: Bruce Ashfield --- meta/recip

[OE-core] [PATCH 2/6] kern-tools: avoid syntax errors when inheriting meta data

2017-06-08 Thread Bruce Ashfield
It is possible to inherit meta data for either patches + config or for just config. It is possible that the patch queue contains invalid (when sourced) shell characters in the patch names, which throws a syntax error and aborts processing. The patch + config case was fixed some time ago, but we r

[OE-core] [PATCH 4/6] linux-yocto/4.10: update to v4.10.17

2017-06-08 Thread Bruce Ashfield
Updating to the latest 4.10 -stable releases, which comprise the following changes: 17a4d4803381 Linux 4.10.17 291e716bb382 pstore: Shut down worker when unregistering e5590e3d9275 pstore: Fix flags to enable dumps on powerpc e3d4daa7f6d4 libnvdimm, pfn: fix 'npfns' vs section alignmen

[OE-core] [PATCH 5/6] linux-yocto/4.9: update to 4.9.31

2017-06-08 Thread Bruce Ashfield
Updating to the latest 4.9 -stable which comprises the following commits: f1aa865ae5d4 Linux 4.9.31 11214bd292ec xfs: Fix off-by-in in loop termination in xfs_find_get_desired_pgoff() 75c5afd58d46 xfs: fix unaligned access in xfs_btree_visit_blocks 7fb8ab8f0a38 xfs: avoid mount-time d

[OE-core] [PATCH 6/6] linux-yocto/4.4: update to v4.4.71

2017-06-08 Thread Bruce Ashfield
Updating the the latest 4.4 -stable release which comprises the following commits: 4bbbc7696405 Linux 4.4.71 9d65be36a7cc xfs: only return -errno or success from attr ->put_listent 1b03d85a4f37 xfs: in _attrlist_by_handle, copy the cursor back to userspace c56605c69ba6 xfs: fix unaligned access in

Re: [OE-core] [PATCH 0/2] Yocto Compatible 2.0 support code

2017-06-08 Thread Patrick Ohly
On Thu, 2017-06-08 at 10:28 -0500, Joshua Watt wrote: > Sure. I wouldn't suggest using an if statement for "just anything", you > can surely do terrible things that way. It would (by convention) be > restricted to the same sorts of things that the conditional includes > allow now. On a similar toke

Re: [OE-core] [PATCHv2 2/2] rpm: run binary package generation via thread pools

2017-06-08 Thread Mark Hatle
On 6/8/17 12:23 PM, Alexander Kanavin wrote: > On 06/08/2017 07:55 PM, Mark Hatle wrote: >>> +@@ -565,8 +559,8 @@ static rpmRC packageBinary(rpmSpec spec, Package pkg, >>> const char *cookie, int ch >>> + headerCopyTags(spec->packages->header, pkg->header, copyTags); >>> + >>> + headerPutSt

[OE-core] [PATCH] context: allow test execution with buildhistory unless version-going-backwards is present

2017-06-08 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Users constantly running oe-selftest find annoying to disable buildhistory before running 'oe-selftest' then enabling after it. To lessen the buildhistory restriction, allow buildhistory unless 'version-going-backwards' is present on ERROR_QA bitbake variable. [YOCTO #1

Re: [OE-core] [PATCHv2 0/2] Multi-threaded RPM support

2017-06-08 Thread Leonardo Sandoval
On Thu, 2017-06-08 at 17:42 +0300, Alexander Kanavin wrote: > Changes in version 2: use openmp for multi-processing instead of NSPR > library, as > requested by upstream. Add a link to the upstream submission to patches. > > These two patches add multi-threaded features to RPM to speed up the >

[OE-core] [PATCH 1/3] cpan-base.bbclass: Move PERLVERSION logic to a new file

2017-06-08 Thread Tom Rini
It is possible for non-CPAN recipes to contain perl modules. These perl modules must reside in the versioned perl library directory in order to work in normal circumstances.. Export this logic to a separate class so that it can be reused without the rest of the cpan logic. Without this, dpkg wil

[OE-core] [PATCH 2/3] dpkg: Fix perl modules by moving them to the versioned perl directory

2017-06-08 Thread Tom Rini
In order for the dpkg perl modules to be used the must reside in the versioned perl library directory (as to be in the default include path). Be explicit about this location in our FILES_${PN}-perl directive, so that if this breaks in the future, the recipe will fail). We can now drop the custom d

[OE-core] [PATCH 3/3] dpkg: Add missing RDEPENDS for dpkg-perl

2017-06-08 Thread Tom Rini
In order to be able to use dpkg-perl on a system various stock perl modules must also be installed on the system. Create the list of required modules based on a read of the code and testing with additional utilities and list them in RDEPENDS_${PN}-perl. Signed-off-by: Tom Rini --- meta/recipes-

  1   2   >