Re: [OE-core] KERNEL_IMAGETYPES and Image.gz

2017-06-02 Thread Kunihiko Hayashi
On 2017/06/03 4:18, nicolas.deche...@linaro.org (Nicolas Dechesne) wrote: Le ven. 2 juin 2017 ? 20:32, Kunihiko Hayashi < hayashi.kunih...@socionext.com> a ?crit : On 2017/06/03 1:24, nicolas.deche...@linaro.org (Nicolas Dechesne) wrote: On Fri, Jun 2, 2017 at 6:16 PM, Kunihiko Hayashi

Re: [OE-core] [oe-core][PATCH 1/1] tcf-agent: correct CFLAGS

2017-06-02 Thread Khem Raj
On Fri, Jun 2, 2017 at 4:07 PM, Joe Slater wrote: > Modify CFLAGS for several cases which will not compile otherwise. > Do not use the form CFLAGS_x_append because it will replace, not > append to CFLAGS for override x. actually the reason is that override and _append are

[OE-core] [oe-core][PATCH 1/1] tcf-agent: correct CFLAGS

2017-06-02 Thread Joe Slater
Modify CFLAGS for several cases which will not compile otherwise. Do not use the form CFLAGS_x_append because it will replace, not append to CFLAGS for override x. Signed-off-by: Joe Slater --- meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 17 + 1

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

2017-06-02 Thread Richard Purdie
I did get a laugh when this showed up in my mail client screen as: "Multi-threaded RP" :) Seriously, I am looking forward to trying and hopefully merging this, should make for some nice speedups. Cheers, RP -- ___ Openembedded-core mailing list

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

2017-06-02 Thread Leonardo Sandoval
Alex, I get this when bitbake core-image-minimal http://errors.yoctoproject.org/Errors/Build/38347/ HEAD is at http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=akanavin/parallel-rpm On Thu, 2017-06-01 at 20:37 +0300, Alexander Kanavin wrote: > On 06/01/2017 08:13 PM, Mark Hatle

Re: [OE-core] [PATCH 05/15] libidn: Fix hardened build with musl

2017-06-02 Thread Khem Raj
Armin Please backport this patch to pyro as well. On Sun, May 21, 2017 at 10:00 PM, Khem Raj wrote: > Re-introduce the patch that was deemed to be not needed > but it infact is still needed with musl > > Signed-off-by: Khem Raj > --- >

[OE-core] [PATCH] oeqa/core: Improve grammar in README and loader comments

2017-06-02 Thread Randy MacLeod
Signed-off-by: Randy MacLeod --- meta/lib/oeqa/core/README| 37 ++--- meta/lib/oeqa/core/loader.py | 8 2 files changed, 22 insertions(+), 23 deletions(-) diff --git a/meta/lib/oeqa/core/README

[OE-core] [PATCH] go: Upgrade to 1.8.3

2017-06-02 Thread Khem Raj
Add a comment to fix build musl<->glibc switch while using same TMPDIR Signed-off-by: Khem Raj --- meta/recipes-devtools/go/go-1.8.inc | 8 meta/recipes-devtools/go/go-cross.inc | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git

Re: [OE-core] KERNEL_IMAGETYPES and Image.gz

2017-06-02 Thread Nicolas Dechesne
Le ven. 2 juin 2017 à 20:32, Kunihiko Hayashi < hayashi.kunih...@socionext.com> a écrit : > > On 2017/06/03 1:24, nicolas.deche...@linaro.org (Nicolas Dechesne) wrote: > > On Fri, Jun 2, 2017 at 6:16 PM, Kunihiko Hayashi > > wrote: > >> I already suggested the

[OE-core] [PATCH v2] cmake: Upgrade to 3.8.2

2017-06-02 Thread Otavio Salvador
There was a set of changes, those are: - CMake now requires librhash for build and as there is no other users in OE-Core we make it use its internal copy instead; - Copyright.txt checksum has change due new contrubutors and 2017 year additions; - Patch

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

2017-06-02 Thread Andre McCurdy
On Fri, Jun 2, 2017 at 4:40 AM, Alexander Kanavin wrote: > On 06/01/2017 10:02 PM, Andre McCurdy wrote: >>> >>> 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

Re: [OE-core] KERNEL_IMAGETYPES and Image.gz

2017-06-02 Thread Kunihiko Hayashi
On 2017/06/03 1:24, nicolas.deche...@linaro.org (Nicolas Dechesne) wrote: On Fri, Jun 2, 2017 at 6:16 PM, Kunihiko Hayashi wrote: I already suggested the patch to solve this issue. https://patchwork.openembedded.org/patch/138596/ Although I've not received

[OE-core] ✗ patchtest: failure for #11283: wic rm

2017-06-02 Thread Patchwork
== Series Details == Series: #11283: wic rm Revision: 1 URL : https://patchwork.openembedded.org/series/7046/ 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 series

[OE-core] [PATCH 5/6] wic: implement removing directories

2017-06-02 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

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

2017-06-02 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/wic.py | 28 1 file changed, 28 insertions(+) diff --git

[OE-core] [PATCH 3/6] wic: add 'wic rm' command

2017-06-02 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(+)

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

2017-06-02 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 -

[OE-core] [PATCH 4/6] wic: implement removing files

2017-06-02 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(-)

[OE-core] [PATCH 1/6] wic: add wic_init_parser_rm

2017-06-02 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

[OE-core] [PATCH 0/6] #11283: wic rm

2017-06-02 Thread Ed Bartosh
Hi, This is an implementation of new wic subcommand 'wic rm'. It removes files or directories from vfat partitions: $ wic ls ./tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.wic:1 Volume in drive : is boot Volume Serial Number is 11D0-DE21 Directory for ::/ libcom32 c32186500

[OE-core] [PATCH v2 0/3] Two new devtool plugins: export and import

2017-06-02 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval These two plugins can be used to share the devtool workspace between users. Changes from v1 (mostly suggested by Paul E.) Export: * metatada file created and included on tar, containing workspace data (to be consume by

[OE-core] [PATCH v2 2/3] ftools: new function to replace strings inside a text file

2017-06-02 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Signed-off-by: Leonardo Sandoval --- meta/lib/oeqa/utils/ftools.py | 22 ++ 1 file changed, 22 insertions(+) diff --git a/meta/lib/oeqa/utils/ftools.py

[OE-core] [PATCH v2 3/3] import: new plugin to import the devtool workspace

2017-06-02 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Takes a tar archive created by 'devtool export' and export it (untar) to workspace. By default, the whole tar archive is imported, thus there is no way to limit what is imported.

[OE-core] [PATCH v2 1/3] export: new plugin to export the devtool workspace

2017-06-02 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval By default, exports the whole workspace (all recipes) including the source code. User can also limit what is exported with --included/--excluded flags. As a result of this operation, a tar archive containing only workspace

Re: [OE-core] KERNEL_IMAGETYPES and Image.gz

2017-06-02 Thread Kunihiko Hayashi
On 2017/05/30 6:13, nicolas.deche...@linaro.org (Nicolas Dechesne) wrote: > hi, > > i am trying to set KERNEL_IMAGETYPES="Image.gz" in my machine conf > file. But it doesn't work. I am seeing this error during > kernel_do_compile(): > > run.do_compile.30019: cannot open Image: No such file > >

Re: [OE-core] KERNEL_IMAGETYPES and Image.gz

2017-06-02 Thread Nicolas Dechesne
On Fri, Jun 2, 2017 at 6:16 PM, Kunihiko Hayashi wrote: > I already suggested the patch to solve this issue. > > https://patchwork.openembedded.org/patch/138596/ > > Although I've not received any comments on this yet, could you try to apply > it? thanks for

[OE-core] [PATCH] oeqa/runtime/context.py: Add support to specify port in target_ip

2017-06-02 Thread Aníbal Limón
Signed-off-by: Aníbal Limón --- meta/lib/oeqa/runtime/context.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/lib/oeqa/runtime/context.py b/meta/lib/oeqa/runtime/context.py index c4cd76c..0294003 100644 --- a/meta/lib/oeqa/runtime/context.py +++

[OE-core] [PATCH V3] distutils-base.bbclass: Do not use -pie with hardening

2017-06-02 Thread Khem Raj
Fix build when PIE is turned on. It tries to build .so file using -pie and -shared flags together because its doing compile and link in same step CFLAGS and LDFLAGS are combined and does not work, ending in errors e.g. |

[OE-core] [PATCH] linux-firmware: add support for mt7601u WiFi chip

2017-06-02 Thread Tim Orling
Mediatek MT7601U is a common 802.11 g/n WiFi USB chip Signed-off-by: Tim Orling --- meta/recipes-kernel/linux-firmware/linux-firmware_git.bb | 12 1 file changed, 12 insertions(+) diff --git

[OE-core] [PATCH] initscripts: Populate volatile from existing file

2017-06-02 Thread David Vincent
In some cases, it may be useful to populate a volatile file from an existing one, e.g. a file in a read-only rootfs that may be edited in a read-write destination. To provide this behavior, creation of volatile files has been updated to copy a file which has been given in the field. If set to

Re: [OE-core] [PATCH] cmake: Upgrade to 3.8.1

2017-06-02 Thread Otavio Salvador
On Wed, May 31, 2017 at 9:58 PM, Khem Raj wrote: > On Wed, May 31, 2017 at 5:31 PM, Otavio Salvador > wrote: >> There was a set of changes, those are: >> >> - CMake now requires librhash for build and as there is no other >>users in OE-Core we

[OE-core] [PATCH 00/41] Consolidated Pull

2017-06-02 Thread Ross Burton
Another Friday, another consolidated pull. The wic changes that were previously in here have been deferred as there were mysterious dependency problems that I can't replicate. Ross The following changes since commit 35ecff3cf077bd22cf7d0a6145732cdcc34f15dc: bitbake: fetch/git: add support

[OE-core] [PATCH V2] distutils-base.bbclass: Do not use -pie with hardening

2017-06-02 Thread Khem Raj
Fix build when PIE is turned on. It tries to build .so file using -pie and -shared flags together because its doing compile and link in same step CFLAGS and LDFLAGS are combined and does not work, ending in errors e.g. |

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

2017-06-02 Thread Alexander Kanavin
On 06/01/2017 07:02 PM, Alexander Kanavin wrote: On 06/01/2017 06:15 PM, 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. And now the pull request is

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

2017-06-02 Thread Alexander Kanavin
On 06/01/2017 10:02 PM, Andre McCurdy wrote: 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. Do you have any test results for that? Obviously build times will be

Re: [OE-core] [PATCH] cairo: Upgrade 1.14.8 -> 1.15.4

2017-06-02 Thread Burton, Ross
On 2 June 2017 at 07:30, Fan Xin wrote: > 1. Upgrade cairo from 1.14.8 to 1.15.4 > "Subject: cairo snapshot 1.15.4 now available" The recipe inherits upstream-version-is-even because odd minor versions are development snapshots. Ross --

Re: [OE-core] [PATCH 5/9] gstreamer1.0-plugins-ugly: upgrade to version 1.12.0

2017-06-02 Thread Carlos Rafael Giani
Note that this might be because of a change I did in gstreamer1.0-vaapi.inc. Previously, the PACKAGECONFIG line contained "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'glx', '', d)}". I replaced that with a PACKAGECONFIG_GL variable that can be overridden by distros and/or BSP

Re: [OE-core] [PATCH] sed: Upgrade 4.2.2 -> 4.4

2017-06-02 Thread Richard Purdie
On Fri, 2017-06-02 at 17:15 +0900, Fan Xin wrote: > 1. Upgrade sed from 4.2.2 to 4.4 > > 2. Update the SRC_URI >    The format of archive file is changed from .tar.gz to .tar.xz > > 3. Rename the folder from sed-4.2.2 to sed >    No need to update the folder name when version upgrade > > 4.

Re: [OE-core] [PATCH] sed: Upgrade 4.2.2 -> 4.4

2017-06-02 Thread Dengke Du
On 2017年06月02日 16:15, Fan Xin wrote: 1. Upgrade sed from 4.2.2 to 4.4 2. Update the SRC_URI The format of archive file is changed from .tar.gz to .tar.xz 3. Rename the folder from sed-4.2.2 to sed No need to update the folder name when version upgrade 4. Delete unncessary patch file

[OE-core] [PATCH] sed: Upgrade 4.2.2 -> 4.4

2017-06-02 Thread Fan Xin
1. Upgrade sed from 4.2.2 to 4.4 2. Update the SRC_URI The format of archive file is changed from .tar.gz to .tar.xz 3. Rename the folder from sed-4.2.2 to sed No need to update the folder name when version upgrade 4. Delete unncessary patch file due to the applied file is not exist.

[OE-core] [PATCH v3] kernel.bbclass: fix KERNEL_IMAGETYPE(S) for Image.gz

2017-06-02 Thread Nicolas Dechesne
KERNEL_IMAGETYPES lists all the kernel images that we want to build. in cb17b6c2a7 (kernel.bbclass: support kernel image type of vmlinux.gz), some logic was added to support vmlinux.gz which is not a target built by kernel makefiles (only vmlinux). It is clear that the goal of this logic is only

[OE-core] [PATCH] lzip: Upgrade 1.18 -> 1.19

2017-06-02 Thread Fan Xin
Signed-off-by: Fan Xin --- meta/recipes-extended/lzip/{lzip_1.18.bb => lzip_1.19.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/lzip/{lzip_1.18.bb => lzip_1.19.bb} (88%) diff --git a/meta/recipes-extended/lzip/lzip_1.18.bb

[OE-core] [PATCH] cups: Upgrade 2.2.2 -> 2.2.3

2017-06-02 Thread Fan Xin
Signed-off-by: Fan Xin --- meta/recipes-extended/cups/{cups_2.2.2.bb => cups_2.2.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/cups/{cups_2.2.2.bb => cups_2.2.3.bb} (40%) diff --git

[OE-core] [PATCH] cairo: Upgrade 1.14.8 -> 1.15.4

2017-06-02 Thread Fan Xin
1. Upgrade cairo from 1.14.8 to 1.15.4 2. Update the SRC_URI according to the release note https://www.cairographics.org/news/cairo-1.15.4/ 3. Fix the -dev package contains non-symlink .so error. Signed-off-by: Fan Xin ---

[OE-core] [PATCH] tcf-agent: Add missing leading space to CFLAGS appends

2017-06-02 Thread Khem Raj
Its a typo, that we see when building with musl Signed-off-by: Khem Raj --- meta/recipes-devtools/tcf-agent/tcf-agent_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb