[OE-core] [PATCH v6] u-boot: Add mkenvimage tool

2018-11-22 Thread Alexey Brodkin
This utility is used for creation of images containing usable in run-time U-Boot environment. As of today this utility is added per-board like here [1] for Intel Edison board. [1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-edison/tree/meta-intel-edison-bsp/recipes-bsp/u-boot/u-boot-too

[OE-core] [PATCH 2/4 v2] qemurunner: Add support for slirp

2018-11-22 Thread Yeoh Ee Peng
Enable qemurunner for slirp. Retrieved the ip & port from host machine to connect to qemu from host machine. [YOCTO#10713] Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/utils/qemurunner.py | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/meta/lib/oeqa/utils

[OE-core] [PATCH 0/4] Enable qemu slirp for testimage only

2018-11-22 Thread Yeoh Ee Peng
Changes: [v2] - enable qemu slirp and like kvm, enable it only for testimage - QemuRunner by default has use_slirp=False, where oe-selftest will skipped all the new logic related to slirp Yeoh Ee Peng (4): oeqa/qemu & runtime: qemu do not need ip input from external qemurunner: Add suppo

[OE-core] [PATCH 4/4 v2] testimage: Add support for slirp

2018-11-22 Thread Yeoh Ee Peng
Enable testimage to support qemu slirp. Configure "QEMU_USE_SLIRP" & "TEST_SERVER_IP" variables to enable slirp. [YOCTO#10713] Signed-off-by: Yeoh Ee Peng --- meta/classes/testimage.bbclass | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/classes/testimage.bbclass b/meta/classes/te

[OE-core] [PATCH 1/4 v2] oeqa/qemu & runtime: qemu do not need ip input from external

2018-11-22 Thread Yeoh Ee Peng
Qemu do not use the ip input from external. It will retrieve ip from QemuRunner instance and assign ip value. Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/core/target/qemu.py | 5 ++--- meta/lib/oeqa/runtime/context.py | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/meta

[OE-core] [PATCH 3/4 v2] oeqa/qemu: Add support for slirp

2018-11-22 Thread Yeoh Ee Peng
Enable qemu for slirp. Initialize Qemurunner with slirp. Setup ip and port attribute to enable connection with qemu running with slirp. [YOCTO#10713] Signed-off-by: Yeoh Ee Peng --- meta/lib/oeqa/core/target/qemu.py | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-)

Re: [OE-core] [PATCH v6] u-boot: Add mkenvimage tool

2018-11-22 Thread Otavio Salvador
Hello Alexey, On Thu, Nov 22, 2018 at 6:28 AM Alexey Brodkin wrote: > > This utility is used for creation of images containing > usable in run-time U-Boot environment. > > As of today this utility is added per-board like here [1] > for Intel Edison board. > > [1] > http://git.yoctoproject.org/cg

Re: [OE-core] [PATCH v6] u-boot: Add mkenvimage tool

2018-11-22 Thread Alexey Brodkin
Hi Otavio, On Thu, 2018-11-22 at 07:30 -0200, Otavio Salvador wrote: > Hello Alexey, > > On Thu, Nov 22, 2018 at 6:28 AM Alexey Brodkin > wrote: > > This utility is used for creation of images containing > > usable in run-time U-Boot environment. > > > > As of today this utility is added per-bo

[OE-core] [PATCH] terminal: Cope with unreleased versions of tmux

2018-11-22 Thread Mike Crowe
When tmux is built from a non-release Git version, its version number is "next-X" where X appears to be the expected version number for the next release. For example, when built from the current state of master, running "tmux -V" yields: tmux next-2.9 Currently check_tmux_pane_size only checks f

[OE-core] [PATCH 1/2] nopackages.bbclass: improve performance for cleansstate

2018-11-22 Thread Robert Yang
Leave the task in SSTATETASKS doesn't make sense when it is removed, so also remove it from SSTATETASKS. This can improve the performance a lot for "bitbake -ccleansstate" when there are a lot of sstate files. For example: * Before $ bitbake quilt-native -ccleansstate - Check log.do_cleanss

[OE-core] [PATCH 0/2] Improve performance for native/cross/crosssdk's cleansstate

2018-11-22 Thread Robert Yang
Hi RP and Ross, These 2 patches can improve performance a lot for native/cross/crosssdk's cleansstate: This test is based on more than 600,000 sstate files * Without disk caches # echo 3 >/proc/sys/vm/drop_caches $ bitbake -p $ time bitbake quilt-native -ccleansstate - Before: real

[OE-core] [PATCH 2/2] sstate.bbclass: set SSTATE_EXTRAPATHWILDCARD explicitly

2018-11-22 Thread Robert Yang
The glob.glob("/sstate/*/*/") is very time consuming, set SSTATE_EXTRAPATHWILDCARD explicity to avoid that. This can save a lot of time when there are many sstate files. For example, I have more than 600,000 sstate files: * Before - Without disk caches $ time python3 -c 'import glob; glob.glo

[OE-core] [PATCH] gcc: Select proper ARC CPU when build for target

2018-11-22 Thread Alexey Brodkin
By default GCC for ARC is configured with ARC700 CPU. This means when we don't pass "-mcpu=xxx": a) Code will be compiled for ARC700 b) Libs will used for ARC700 And if we happen to run on ARCv2 core like ARC HSxx we won't be able to use target gcc w/o "-mcpu=xxx" which is not very convenient as

[OE-core] [master][thud][PATCH] openssl: correct bad path on package preprocess

2018-11-22 Thread Christophe PRIOUZEAU
In case of SDK generation, /usr/bin/ path are not correct and must be replaced by ${bindir}. Signed-off-by: Christophe Priouzeau --- meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-connectivity/openssl/o

Re: [OE-core] [PATCH 1/2] nopackages.bbclass: improve performance for cleansstate

2018-11-22 Thread Richard Purdie
On Thu, 2018-11-22 at 19:51 +0800, Robert Yang wrote: > Leave the task in SSTATETASKS doesn't make sense when it is removed, > so also > remove it from SSTATETASKS. > > This can improve the performance a lot for "bitbake native/cross/crosssdk> > -ccleansstate" when there are a lot of sstate files

Re: [OE-core] [PATCH 1/2] nopackages.bbclass: improve performance for cleansstate

2018-11-22 Thread Yang, Liezhi
Sent from mobile phone > 在 2018年11月22日,20:15,Richard Purdie 写道: > >> On Thu, 2018-11-22 at 19:51 +0800, Robert Yang wrote: >> Leave the task in SSTATETASKS doesn't make sense when it is removed, >> so also >> remove it from SSTATETASKS. >> >> This can improve the performance a lot for "bitba

Re: [OE-core] [PATCH v6] u-boot: Add mkenvimage tool

2018-11-22 Thread Alexey Brodkin
Hi, Richard, Otavio, On Thu, 2018-11-22 at 11:28 +0300, Alexey Brodkin wrote: > This utility is used for creation of images containing > usable in run-time U-Boot environment. > > As of today this utility is added per-board like here [1] > for Intel Edison board. > > [1] > http://git.yoctoproje

Re: [OE-core] ✗ patchtest: failure for boost-context: Reproducibility: Set .file section for all *_elf_gas.S files (rev2)

2018-11-22 Thread Burton, Ross
On Thu, 22 Nov 2018 at 00:38, Douglas Royds wrote: > > On 22/11/18 1:33 PM, Patchwork wrote: > > > ... > > > > * Issue Upstream-Status is Submitted, but it is not mentioned > > where [test_upstream_status_presence_format] > >Suggested fixInclude where > > reproducibility-add-

Re: [OE-core] [PATCH v6] u-boot: Add mkenvimage tool

2018-11-22 Thread richard . purdie
On Thu, 2018-11-22 at 13:18 +, Alexey Brodkin wrote: > Hi, Richard, Otavio, > > On Thu, 2018-11-22 at 11:28 +0300, Alexey Brodkin wrote: > > This utility is used for creation of images containing > > usable in run-time U-Boot environment. > > > > As of today this utility is added per-board li

[OE-core] [PATCH 1/2] openssl: output the configure data in do_configure

2018-11-22 Thread Ross Burton
To aid debugging configure, dump the configdata in do_configure. Signed-off-by: Ross Burton --- meta/recipes-connectivity/openssl/openssl_1.1.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1.bb b/meta/recipes-connectivity/openssl/openssl_1

[OE-core] [PATCH 2/2] openssl: don't disable the AFALG engine based on host kernel

2018-11-22 Thread Ross Burton
Whether the AFALG engine (use of hardware crypto via AF_ALG) is enable or disable depends on whether the host kernel is 4.1 or above, which has no bearing on whether the target system supports it. Remove the complicated logic and simply enable/disable as requested. Signed-off-by: Ross Burton ---

[OE-core] [PATCH 01/16] gobject-introspection: update to 1.58.1

2018-11-22 Thread Alexander Kanavin
Also, change default meson option to building introspection files (previously they were not built by default). Signed-off-by: Alexander Kanavin --- ...0001-Port-cross-compilation-support-to-meson.patch | 11 ++- ...e-the-repository-directory-for-native-builds.patch | 2 +- ...tion_1.58.

[OE-core] [PATCH 02/16] openssl10: update to 1.0.2q

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../openssl10/0001-fix-CVE-2018-0734.patch| 33 --- ...penssl10_1.0.2p.bb => openssl10_1.0.2q.bb} | 5 ++- 2 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 meta/recipes-connectivity/openssl/openssl10/0001-fix-CVE-2018

[OE-core] [PATCH 03/16] openssl: update to 1.1.1a

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../openssl/0002-fix-CVE-2018-0734.patch | 108 -- .../openssl/0003-fix-CVE-2018-0735.patch | 50 .../{openssl_1.1.1.bb => openssl_1.1.1a.bb} | 6 +- 3 files changed, 2 insertions(+), 162 deletions(-) delete mode 100644

[OE-core] [PATCH 04/16] dmidecode: update to 3.2

2018-11-22 Thread Alexander Kanavin
Also, replace a sed hack with a proper patch. Signed-off-by: Alexander Kanavin --- ...mitting-changes-from-do_unpack_extra.patch | 24 +++ .../{dmidecode_3.1.bb => dmidecode_3.2.bb}| 13 -- 2 files changed, 29 insertions(+), 8 deletions(-) create mode 100644 meta/re

[OE-core] [PATCH 09/16] vala: update to 0.42.3

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/vala/{vala_0.42.0.bb => vala_0.42.3.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/vala/{vala_0.42.0.bb => vala_0.42.3.bb} (64%) diff --git a/meta/recipes-devtools/vala/vala_0.42.0.bb b/meta/

[OE-core] [PATCH 05/16] tiff: update to 4.0.10

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../libtiff/files/CVE-2017-17095.patch| 46 - .../libtiff/files/CVE-2017-18013.patch| 42 - .../libtiff/files/CVE-2017-9935.patch | 160 .../libtiff/files/CVE-2018-10963.patch| 39 .../libtiff/fi

[OE-core] [PATCH 07/16] icu: update to 63.1

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../icu/icu/fix-install-manx.patch| 21 --- .../icu/{icu_62.1.bb => icu_63.1.bb} | 4 ++-- 2 files changed, 11 insertions(+), 14 deletions(-) rename meta/recipes-support/icu/{icu_62.1.bb => icu_63.1.bb} (85%) diff --git

[OE-core] [PATCH 12/16] sysprof: update to 3.30.2

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...fix-non-literal-format-string-issues.patch | 34 - .../sysprof/files/wordsize.patch | 38 --- .../{sysprof_3.30.0.bb => sysprof_3.30.2.bb} | 6 +-- 3 files changed, 2 insertions(+), 76 deletions(-) delete mode

[OE-core] [PATCH 06/16] gdbm: update to 1.18.1

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-support/gdbm/{gdbm_1.18.bb => gdbm_1.18.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/gdbm/{gdbm_1.18.bb => gdbm_1.18.1.bb} (89%) diff --git a/meta/recipes-support/gdbm/gdbm_1.18.bb b/meta/recipes-s

[OE-core] [PATCH 08/16] btrfs-tools: update to 4.19

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../btrfs-tools/{btrfs-tools_4.17.1.bb => btrfs-tools_4.19.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_4.17.1.bb => btrfs-tools_4.19.bb} (96%) diff --git a/meta/recipes-devtools/btrfs-tool

[OE-core] [PATCH 11/16] psmisc: update to 23.2

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- ...001-Use-UINTPTR_MAX-instead-of-__WORDSIZE.patch | 14 +- .../psmisc/{psmisc_23.1.bb => psmisc_23.2.bb} | 2 +- 2 files changed, 6 insertions(+), 10 deletions(-) rename meta/recipes-extended/psmisc/{psmisc_23.1.bb => psmisc_23.2.bb} (87%)

[OE-core] [PATCH 10/16] webkitgtk: update to 2.22.4

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../webkit/{webkitgtk_2.22.3.bb => webkitgtk_2.22.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-sato/webkit/{webkitgtk_2.22.3.bb => webkitgtk_2.22.4.bb} (97%) diff --git a/meta/recipes-sato/webkit/webkitgtk_2.22.3

[OE-core] [PATCH 13/16] libwebp: update to 1.0.1

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../webp/{libwebp_1.0.0.bb => libwebp_1.0.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-multimedia/webp/{libwebp_1.0.0.bb => libwebp_1.0.1.bb} (93%) diff --git a/meta/recipes-multimedia/webp/libwebp_1.0.0.

[OE-core] [PATCH 15/16] libdnf: update to 0.22.3

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../libdnf/{libdnf_0.22.0.bb => libdnf_0.22.3.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/libdnf/{libdnf_0.22.0.bb => libdnf_0.22.3.bb} (95%) diff --git a/meta/recipes-devtools/libdnf/libdnf_0.22.0.bb

[OE-core] [PATCH 14/16] lighttpd: update to 1.4.51

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../lighttpd/{lighttpd_1.4.50.bb => lighttpd_1.4.51.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-extended/lighttpd/{lighttpd_1.4.50.bb => lighttpd_1.4.51.bb} (96%) diff --git a/meta/recipes-extended/lighttpd/lightt

[OE-core] [PATCH 16/16] dnf: update to 4.0.9

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/dnf/{dnf_4.0.4.bb => dnf_4.0.9.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-devtools/dnf/{dnf_4.0.4.bb => dnf_4.0.9.bb} (98%) diff --git a/meta/recipes-devtools/dnf/dnf_4.0.4.bb b/meta/recipes-devtools/

[OE-core] [PATCH] documentation: Add newlib to TCLIBC's [doc] entry

2018-11-22 Thread Richard Purdie
TCBLIC can be set to 'newlib' now, document this. [YOCTO #13032] Signed-off-by: Richard Purdie --- meta/conf/documentation.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index fc6d008807b..4d2a707563d 100644 -

[OE-core] ✗ patchtest: failure for "gobject-introspection: update ..." and 15 more

2018-11-22 Thread Patchwork
== Series Details == Series: "gobject-introspection: update ..." and 15 more Revision: 1 URL : https://patchwork.openembedded.org/series/15041/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

[OE-core] [PATCH] dmidecode: fix the Upstream-Status in a custom patch

2018-11-22 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- .../0001-Committing-changes-from-do_unpack_extra.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/dmidecode/dmidecode/0001-Committing-changes-from-do_unpack_extra.patch b/meta/recipes-devtools/dmidecod

[OE-core] ✗ patchtest: failure for dmidecode: fix the Upstream-Status in a custom patch

2018-11-22 Thread Patchwork
== Series Details == Series: dmidecode: fix the Upstream-Status in a custom patch Revision: 1 URL : https://patchwork.openembedded.org/series/15043/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have

Re: [OE-core] [PATCH] qemu.inc: Drop rng-tools

2018-11-22 Thread Martin Jansa
Hi all, I was just hit by this issue as well, we're using VirtualBox instead of QEmu, so of course we were missing "-device virtio-rng-pci" and I haven't found some equivalent of this for VirtualBox. Adding rng-tools back to our images allows to use ssh again (without rng-tools sshd never started

Re: [OE-core] [PATCH] qemu.inc: Drop rng-tools

2018-11-22 Thread Otavio Salvador
On Thu, Nov 22, 2018 at 3:40 PM Martin Jansa wrote: > I was just hit by this issue as well, we're using VirtualBox instead of QEmu, > so of course we were missing "-device virtio-rng-pci" and I haven't found > some equivalent of this for VirtualBox. > > Adding rng-tools back to our images allows

Re: [OE-core] ✗ patchtest: failure for boost-context: Reproducibility: Set .file section for all *_elf_gas.S files (rev2)

2018-11-22 Thread Douglas Royds
On 23/11/18 2:24 AM, Burton, Ross wrote: On Thu, 22 Nov 2018 at 00:38, Douglas Royds wrote: On 22/11/18 1:33 PM, Patchwork wrote: ... * Issue Upstream-Status is Submitted, but it is not mentioned where [test_upstream_status_presence_format] Suggested fixInclude where r

[OE-core] [PATCH v3] boost-context: Reproducibility: Set .file section for all *_elf_gas.S files

2018-11-22 Thread Douglas Royds
Add a .file directive explicitly for all *_elf_gas.S files to prevent the linker adding a host build-system path as a FILE symbol to the object file. This replaces the existing patch that added the .file directive to a small subset of these files. Upstream-Status: Submitted [https://github.com/bo

[OE-core] [PATCH 1/2] reproducible: Refactor: Break out fixed_source_date_epoch() function

2018-11-22 Thread Douglas Royds
Signed-off-by: Douglas Royds --- meta/classes/reproducible_build.bbclass | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass index 0eb696ac78..a0fd4d656b 100644 --- a/meta/classes/reproduci

[OE-core] [PATCH 2/2] reproducible: Don't look for youngest file when no source tarball

2018-11-22 Thread Douglas Royds
Some packages (eg. init-ifupdown) take their source files entirely from openembedded-core, that is, they download no source tarball. These recipes either don't use S at all (ie. it is empty at unpack time), or they set S = WORKDIR (as in init-ifupdown). Looking at the file timestamps in the WORKDIR

[OE-core] [PATCH 0/1] socat: fix LICENSE

2018-11-22 Thread Paul Eggleton
The following changes since commit c80972be1f3592d797da9eb0845b739420c6da4a: maintainers: Add entry for new recipe libdazzle (2018-11-22 10:00:12 +) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib paule/socat-license http://cgit.openembedde

[OE-core] [PATCH 1/1] socat: fix LICENSE

2018-11-22 Thread Paul Eggleton
According to both the README and source headers, the LICENSE value for socat is explicitly GPLv2, not v2 or later, so adjust LICENSE accordingly (leaving aside whether "GPL-2.0+-with-OpenSSL-exception" should actually be considered a valid LICENSE string or not). Signed-off-by: Paul Eggleton ---

[OE-core] [PATCH] arc: Disable LTTng

2018-11-22 Thread Alexey Brodkin
LTTng depends on liburcu which is not yet ported to ARC so disable LTTng on ARC for now. Signed-off-by: Alexey Brodkin --- meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | 3 +++ meta/recipes-devtools/gdb/gdb-common.inc | 1 + meta/recipes-kernel/ltt

[OE-core] [PATCH v7] u-boot: Add mkenvimage tool

2018-11-22 Thread Alexey Brodkin
This utility is used for creation of images containing usable in run-time U-Boot environment. As of today this utility is added per-board like here [1] for Intel Edison board. [1] http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-edison/tree/meta-intel-edison-bsp/recipes-bsp/u-boot/u-boot-too

Re: [OE-core] [PATCH 16/16] dnf: update to 4.0.9

2018-11-22 Thread Richard Purdie
On Thu, 2018-11-22 at 16:41 +0100, Alexander Kanavin wrote: > Signed-off-by: Alexander Kanavin > --- > meta/recipes-devtools/dnf/{dnf_4.0.4.bb => dnf_4.0.9.bb} | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > rename meta/recipes-devtools/dnf/{dnf_4.0.4.bb => dnf_4.0.9.bb} > (98%) > > d

Re: [OE-core] [PATCH 08/16] btrfs-tools: update to 4.19

2018-11-22 Thread Richard Purdie
On Thu, 2018-11-22 at 16:41 +0100, Alexander Kanavin wrote: > Signed-off-by: Alexander Kanavin > --- > .../btrfs-tools/{btrfs-tools_4.17.1.bb => btrfs-tools_4.19.bb} | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > rename meta/recipes-devtools/btrfs-tools/{btrfs-tools_4.17.1.bb => > b

Re: [OE-core] [PATCH v2] python3: add tk support

2018-11-22 Thread Yu, Mingli
Ping. Thanks, On 2018年11月14日 17:36, mingli...@windriver.com wrote: From: Mingli Yu Add support to enable tk via PACKAGECONFIG. before this patch: # python3 Python 3.5.6 (default, Nov 8 2018, 04:53:45) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more info

Re: [OE-core] [PATCH v3] python: add tk support

2018-11-22 Thread Yu, Mingli
Ping. Thanks, On 2018年11月14日 17:38, mingli...@windriver.com wrote: From: Mingli Yu Add support to enable tk via PACKGECONFIG. before the patch: # python Python 2.7.15 (default, Nov 8 2018, 04:53:50) [GCC 8.2.0] on linux2 Type "help", "copyright", "credits" or "license" for more infor

[OE-core] [PATCH V3 0/9] Fixes for busybox ptest

2018-11-22 Thread Chen Qi
Changes in V2: * fix bzip2 recipe to extend its alternatives list * check CONFIG_DESKTOP beforing using 'od -t' in test cases Changes in V3: * add a symlink farm for busybox ptest to ensure utilities provided by busybox are used in ptest * default hostname to 'localhost' * drop the patch to remov

[OE-core] [PATCH 3/9] busybox: add zip to RDEPENDS of ptest package

2018-11-22 Thread Chen Qi
busybox's unzip test case requires zip command. However, busybox itself does not provide one. So add zip as a runtime dependency. Signed-off-by: Chen Qi --- meta/recipes-core/busybox/busybox.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/

[OE-core] [PATCH 5/9] busybox: use example.org instead of google.com in wget test case

2018-11-22 Thread Chen Qi
Use example.org to ensure it's always reachible. Signed-off-by: Chen Qi --- ...e-use-www.example.org-for-wget-test-cases.patch | 62 ++ meta/recipes-core/busybox/busybox_1.29.2.bb| 1 + 2 files changed, 63 insertions(+) create mode 100644 meta/recipes-core/busybox/

[OE-core] [PATCH 2/9] bzip2: extend alternatives list to include bzip2

2018-11-22 Thread Chen Qi
bzip2 could also be provided by busybox. So extend the alternatives list to include bzip2. Signed-off-by: Chen Qi --- meta/recipes-extended/bzip2/bzip2_1.0.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/bzip2/bzip2_1.0.6.bb b/meta/recipes-extended

[OE-core] [PATCH 1/9] busybox: enable bzip2 by default

2018-11-22 Thread Chen Qi
bunzip2 is enabled by default, but bzip2 is not. This is kind of strange, and it also causes busybox's ptest failure regarding bunzip2, as bunzip2's test case needs bzip2 command. Signed-off-by: Chen Qi --- meta/recipes-core/busybox/busybox/defconfig | 2 +- 1 file changed, 1 insertion(+), 1 del

[OE-core] [PATCH 4/9] busybox: check uudecode before using it in test case

2018-11-22 Thread Chen Qi
Check uudecode before using it in test case to avoid unexpected failure. Signed-off-by: Chen Qi --- ...-testsuite-check-uudecode-before-using-it.patch | 45 ++ meta/recipes-core/busybox/busybox_1.29.2.bb| 1 + 2 files changed, 46 insertions(+) create mode 100644 me

[OE-core] [PATCH 7/9] busybox: check CONFIG_DESKTOP before using 'od -t' in test case

2018-11-22 Thread Chen Qi
The '-t' option support for 'od' is enabled by CONFIG_DESKTOP. So check it before using it in test cases. Signed-off-by: Chen Qi --- ...te-check-CONFIG_DESKTOP-before-using-od-t.patch | 83 ++ meta/recipes-core/busybox/busybox_1.29.2.bb| 1 + 2 files changed, 84 inse

[OE-core] [PATCH 9/9] base-files: default hostname to localhost

2018-11-22 Thread Chen Qi
Previously we default hostname to be ${MACHINE}, but there's no entry in /etc/hosts, and `hostname -f' command fails. So change it to 'localhost'. Signed-off-by: Chen Qi --- meta/recipes-core/base-files/base-files_3.0.14.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/

[OE-core] [PATCH 8/9] busybox: ship a symlink farm for ptest

2018-11-22 Thread Chen Qi
From: Ross Burton Ship a symlink farm for busybox, which correctly considers SUID split. This ensures that all utilities used in busybox's test cases will first use that ones that are provided by busybox. Modify run-ptest to prepend the directory to PATH, and also change variable name from curre

[OE-core] [PATCH 6/9] busybox: fix du-l-works test case

2018-11-22 Thread Chen Qi
64 + 64 + 16 = 144K 144 + sizeof_a_directory >= 145 So fix to use 145 instead of 144. Signed-off-by: Chen Qi --- ...-du-l-works-fix-to-use-145-instead-of-144.patch | 32 ++ meta/recipes-core/busybox/busybox_1.29.2.bb| 1 + 2 files changed, 33 insertions(+) create mo

[OE-core] [PATCH V2 2/2] sstate.bbclass: set SSTATE_EXTRAPATHWILDCARD explicitly

2018-11-22 Thread Robert Yang
The glob.glob("/sstate/*/*/") is very time consuming, set SSTATE_EXTRAPATHWILDCARD explicity to avoid that. This can save a lot of time when there are many sstate files. For example, I have more than 600,000 sstate files: * Before - Without disk caches $ time python3 -c 'import glob; glob.glo

[OE-core] [PATCH V2 1/2] sstate.bbclass: Only remove sstate file when task is existed

2018-11-22 Thread Robert Yang
This can improve the performance a lot for "bitbake -ccleansstate" when there are a lot of sstate files. For example: * Before $ bitbake quilt-native -ccleansstate - Check log.do_cleansstate: Removing /sstate-cache/*/*/sstate:quilt-native:x86_64-linux:0.65:r0:x86_64:3:*_package.tgz* Rem

[OE-core] [PATCH V2 0/2] Improve performance for native/cross/crosssdk's cleansstate

2018-11-22 Thread Robert Yang
* V2 - Teach sstate.bbclass rather than edit nopackages.bbclass to fix the problem. * V1 These 2 patches can improve performance a lot for native/cross/crosssdk's cleansstate: This test is based on more than 600,000 sstate files * Without disk caches # echo 3 >/proc/sys/vm/drop_caches $ bit

[OE-core] oe-selftest : Unset SANITY_TESTED_DISTROS bugzilla: 11933

2018-11-22 Thread Bheemanadhuni, SrikanthX X
Hi, unset the SANITY_TESTED_DISTROS in the function _add_layer_libs() file b/meta/lib/oeqa/selftest/context.py And added function remove_variables() which is called in final: self.remove_variables() the function will comment the the unset SANITY_TESTED_DISTROS in local.conf Thanks

[OE-core] [PATCH] mdadm: improve the run-ptest

2018-11-22 Thread mingli.yu
From: Mingli Yu * There are 120+ cases under ${libdir}/mdadm/ptest/tests, but the test will break if one test fails as below logic in run-ptest. ./test &>./test.log That's to say, the tests after the failed test have no chance to run with the current logic. To guarantee all the test

[OE-core] [PATCH 1/4] elfutils: 0.174 -> 0.175

2018-11-22 Thread Hongxu Jia
- Drop backport CVE patches 0001-libdwfl-Sanity-check-partial-core-file-data-reads.patch 0001-size-Handle-recursive-ELF-ar-files.patch 0001-arlib-Check-that-sh_entsize-isn-t-zero.patch - Drop patches that upstream has fixed 0005-fix-a-stack-usage-warning.patch [9a74c19 backends: ppc use de

[OE-core] [PATCH 4/4] ncurses: upgrade 6.1 -> 6.1+20181013

2018-11-22 Thread Hongxu Jia
Signed-off-by: Hongxu Jia --- .../ncurses/{ncurses_6.1+20180714.bb => ncurses_6.1+20181013.bb}| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-core/ncurses/{ncurses_6.1+20180714.bb => ncurses_6.1+20181013.bb} (86%) diff --git a/meta/recipes-core/ncurses/ncurses

[OE-core] [PATCH 0/4] Upgrade elfutils/gnupg/libgcrypt/ncurses

2018-11-22 Thread Hongxu Jia
The following changes since commit fc5418e7bbdecfb27bafe595084e0fd0f991a388: meta/icecc.bbclass: Update system blacklists (2018-11-21 11:48:18 +) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib hongxu/upgrade-20181109 http://cgit.openembedd

[OE-core] [PATCH 2/4] gnupg: upgrade 2.2.10 -> 2.2.11

2018-11-22 Thread Hongxu Jia
Signed-off-by: Hongxu Jia --- .../0001-configure.ac-use-a-custom-value-for-the-location-of-.patch | 4 ++-- meta/recipes-support/gnupg/gnupg/relocate.patch | 2 +- meta/recipes-support/gnupg/{gnupg_2.2.10.bb => gnupg_2.2.11.bb} | 4 ++-- 3 files changed, 5 insertions

[OE-core] [PATCH 3/4] libgcrypt: upgrade 1.8.3 -> 1.8.4

2018-11-22 Thread Hongxu Jia
Signed-off-by: Hongxu Jia --- .../libgcrypt/{libgcrypt_1.8.3.bb => libgcrypt_1.8.4.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/libgcrypt/{libgcrypt_1.8.3.bb => libgcrypt_1.8.4.bb} (93%) diff --git a/meta/recipes-support/libgcrypt/libgc

[OE-core] [question] rpm: nss problem on arm32be

2018-11-22 Thread Zheng, Ruoqin
Hi All: When I use rpm on arm32be, I found a Header SHA1 digest problem as follows: # rpm -qpi test-manual-1.2.3-20181012.noarch.rpm error: test-manual-1.2.3-20181012.noarch.rpm: Header SHA1 digest: BAD (Expected f1deb7dc4a10742d88ccd1e967dbc62ae45095a5 !=4ad9d7dad6d70d6086eefec62612ad5d77f2fe8