Re: [OE-core] [PATCH] Set XZ_COMPRESSION_LEVEL to -9

2019-04-12 Thread Adrian Bunk
On Fri, Apr 12, 2019 at 04:12:19PM -0700, Khem Raj wrote: > On Fri, Apr 12, 2019 at 2:09 PM Adrian Bunk wrote: > > > > It is consistent with other compressors also using their > > best compression. > > > > xz is currently the option that offers best compression, > > using settings even lower than

[OE-core] [PATCH] gcc: Remove Java support variables

2019-04-12 Thread Adrian Bunk
Java support was removed in upstream gcc 7. Signed-off-by: Adrian Bunk --- meta/recipes-devtools/gcc/gcc-8.3.inc | 1 - meta/recipes-devtools/gcc/gcc-configure-common.inc | 8 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/meta/recipes-devtools/gcc/gcc-8.3.in

Re: [OE-core] [PATCH] Set XZ_COMPRESSION_LEVEL to -9

2019-04-12 Thread Adrian Bunk
On Fri, Apr 12, 2019 at 02:44:05PM -0700, Andre McCurdy wrote: > On Fri, Apr 12, 2019 at 2:09 PM Adrian Bunk wrote: > > > > It is consistent with other compressors also using their > > best compression. > > > > xz is currently the option that offers best compression, > > using settings even lower

[OE-core] [PATCH] toolchain-scripts: make rpm work in toolchain

2019-04-12 Thread Zheng Ruoqin
Rpm need to read the arch info, but $script did not provide it, so add it. Signed-off-by: Zheng Ruoqin --- meta/classes/toolchain-scripts.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index 1a2ec4f..de

[OE-core] [PATCH v2] dnf: Enable nativesdk

2019-04-12 Thread Zheng Ruoqin
Make dnf work on nativesdk environment. Signed-off-by: Zheng Ruoqin --- meta/recipes-devtools/dnf/dnf_4.1.0.bb | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/meta/recipes-devtools/dnf/dnf_4.1.0.bb b/meta/recipes-devtools/dnf/dnf_4.1.0.bb index d45023e..8b4291a 100

[OE-core] [PATCH v2] kernel-fitimage: support RISC-V

2019-04-12 Thread Michael Scott
Support RISC-V kernel image, using the "Image" target. This change allows RISC-V support for fitImage via the following flow: OpenSBI -> u-boot (as payload) -> Linux kernel (as fitImage with ramdisk and dtb). This was tested using QEMU RISC-V 64-bit. Signed-off-by: Michael Scott --- meta/class

Re: [OE-core] [PATCH] kernel-fitimage: support RISC-V

2019-04-12 Thread Michael Scott
On 4/12/19 10:17 AM, Alistair Francis wrote: On Thu, Apr 11, 2019 at 10:46 PM Michael Scott wrote: Support RISC-V kernel image, using the "Image" target. This change allows RISC-V support for fitImage via the following flow: OpenSBI -> u-boot (as payload) -> Linux kernel (as fitImage with ram

Re: [OE-core] [PATCH] kernel-fitimage: support RISC-V

2019-04-12 Thread Michael Scott
On 4/12/19 9:35 AM, Khem Raj wrote: On Thu, Apr 11, 2019 at 10:46 PM Michael Scott > wrote: Support RISC-V kernel image, using the "Image" target. This change allows RISC-V support for fitImage via the following flow: OpenSBI -> u-boot (as payload) -> L

Re: [OE-core] [PATCH] Set XZ_COMPRESSION_LEVEL to -9

2019-04-12 Thread Khem Raj
On Fri, Apr 12, 2019 at 2:09 PM Adrian Bunk wrote: > > It is consistent with other compressors also using their > best compression. > > xz is currently the option that offers best compression, > using settings even lower than the default is surprising > and makes it harder to choose the best avail

Re: [OE-core] [PATCH] nettle: fix ptest failure

2019-04-12 Thread Richard Purdie
On Fri, 2019-04-12 at 11:27 +0800, mingli...@windriver.com wrote: > From: Mingli Yu > > Remove dlopen-test.patch which originally used > to fix the test dlopen-test, but autually the > patch didn't resolve the issue as dlopen-test.patch > supposes the file /usr/lib/libnettle.so exists. > Instead

Re: [OE-core] [PATCH] Set XZ_COMPRESSION_LEVEL to -9

2019-04-12 Thread Andre McCurdy
On Fri, Apr 12, 2019 at 2:09 PM Adrian Bunk wrote: > > It is consistent with other compressors also using their > best compression. > > xz is currently the option that offers best compression, > using settings even lower than the default is surprising > and makes it harder to choose the best avail

Re: [OE-core] [PATCH] u-boot: Upgrade from 2019.01 to 2019.04

2019-04-12 Thread Denys Dmytriyenko
On Thu, Apr 11, 2019 at 01:26:54PM -0400, Denys Dmytriyenko wrote: > On Thu, Apr 11, 2019 at 09:27:32AM +0100, Richard Purdie wrote: > > On Wed, 2019-04-10 at 17:23 +, Alistair Francis wrote: > > > Signed-off-by: Alistair Francis > > > --- > > > meta/recipes-bsp/u-boot/u-boot-common.inc

[OE-core] [PATCH] Set XZ_COMPRESSION_LEVEL to -9

2019-04-12 Thread Adrian Bunk
It is consistent with other compressors also using their best compression. xz is currently the option that offers best compression, using settings even lower than the default is surprising and makes it harder to choose the best available compression. For anyone who cares about compression time us

Re: [OE-core] [PATCH] go: Allow bootstrapping using host go compiler

2019-04-12 Thread Adrian Bunk
On Fri, Apr 12, 2019 at 01:30:46PM +0100, Daniel Thompson wrote: > Currently go-native bootstraps without any dependency on the host go > compiler by building go-1.4 (the last version written in C) and using > that to build a more recent version of go. This does not work on host > architectures, su

Re: [OE-core] [PATCH] go: Allow bootstrapping using host go compiler

2019-04-12 Thread Adrian Bunk
On Fri, Apr 12, 2019 at 02:26:20PM -0400, Randy MacLeod wrote: >... > In the long run, don't we want to avoid any new binaries or host tools? Is > anyone else in the go community (Debian maybe?) interested in > bootstrapping go on arm64 hosts or do they all just use the binary? >... Binary distrib

Re: [OE-core] [PATCH v2][meta-oe] ell: add recipe

2019-04-12 Thread Oleksandr Kravchuk
Ping. On 09/04/2019 20:19, Oleksandr Kravchuk wrote: > ELL has originally been part of meta-openembedded, but newer versions > of some of the poky components depend on it, e.g. ofono. > > Signed-off-by: Oleksandr Kravchuk > --- > meta/conf/distro/include/maintainers.inc | 1 + > meta/recipes-co

Re: [OE-core] [PATCH] go: Allow bootstrapping using host go compiler

2019-04-12 Thread Randy MacLeod
On 4/12/19 9:16 AM, Daniel Thompson wrote: We could make things fully deterministic by downloading go compiler binaries (rather than source) if the host architecture is not supported by go-1.4. Is this feasible or should I continue trying to adopt the host go compiler for these architectures? Y

Re: [OE-core] [PATCH] useradd.bbclass: Make sure users/groups exist for package_write_* tasks

2019-04-12 Thread Peter Kjellerstedt
> -Original Message- > From: richard.pur...@linuxfoundation.org > > Sent: den 12 april 2019 19:03 > To: Peter Kjellerstedt > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] useradd.bbclass: Make sure users/groups > exist for package_write_* tasks > > On Fri,

Re: [OE-core] [PATCH] kernel-fitimage: support RISC-V

2019-04-12 Thread Alistair Francis
On Thu, Apr 11, 2019 at 10:46 PM Michael Scott wrote: > > Support RISC-V kernel image, using the "Image" target. > > This change allows RISC-V support for fitImage via the following > flow: OpenSBI -> u-boot (as payload) -> Linux kernel (as fitImage > with ramdisk and dtb). > > This was tested usi

Re: [OE-core] [PATCH] useradd.bbclass: Make sure users/groups exist for package_write_* tasks

2019-04-12 Thread richard . purdie
On Fri, 2019-04-12 at 15:51 +, Peter Kjellerstedt wrote: > > -Original Message- > > From: openembedded-core-boun...@lists.openembedded.org > > > core-boun...@lists.openembedded.org> On Behalf Of Peter > > Kjellerstedt > > Sent: den 4 april 2019 16:08 > > To: Richard Purdie ; > > openem

[OE-core] [morty][PATCH] libtool-cross: remove host specific paths to native sysroot from sstate archive

2019-04-12 Thread Martin Jansa
* when you build libtool-cross on one builder in some directory and then reuse the same libtool-cross on another builder in different directory, you'll have some variables still pointing to wrong directory (it's a bit worse when it's on the same builder, just in different workspace, because

Re: [OE-core] [PATCH] kernel-fitimage: support RISC-V

2019-04-12 Thread Khem Raj
On Thu, Apr 11, 2019 at 10:46 PM Michael Scott wrote: > Support RISC-V kernel image, using the "Image" target. > > This change allows RISC-V support for fitImage via the following > flow: OpenSBI -> u-boot (as payload) -> Linux kernel (as fitImage > with ramdisk and dtb). > > This was tested usin

[OE-core] [master][warrior][PATCH] systemd: Use PACKAGECONFIG definition to depend on libnss-myhostname

2019-04-12 Thread Peter Kjellerstedt
Rather than adding the dependency on libnss-myhostname to RDEPENDS_${PN} if the myhostname PACKAGECONFIG is set, add the runtime dependency to myhostname's PACKAGECONFIG definition. Signed-off-by: Peter Kjellerstedt --- This is just a clean up of the last commit to systemd. meta/recipes-core/sy

Re: [OE-core] [PATCH] useradd.bbclass: Make sure users/groups exist for package_write_* tasks

2019-04-12 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org core-boun...@lists.openembedded.org> On Behalf Of Peter Kjellerstedt > Sent: den 4 april 2019 16:08 > To: Richard Purdie ; openembedded- > c...@lists.openembedded.org > Subject: Re: [OE-core] [PATCH] useradd.bbcl

Re: [OE-core] [PATCH] go: Allow bootstrapping using host go compiler

2019-04-12 Thread Daniel Thompson
On Fri, Apr 12, 2019 at 02:34:14PM +0100, richard.pur...@linuxfoundation.org wrote: > On Fri, 2019-04-12 at 14:16 +0100, Daniel Thompson wrote: > > On Fri, Apr 12, 2019 at 01:39:52PM +0100, Richard Purdie wrote: > > > On Fri, 2019-04-12 at 13:30 +0100, Daniel Thompson wrote: > > > Whilst this is q

Re: [OE-core] [PATCH] go: Allow bootstrapping using host go compiler

2019-04-12 Thread richard . purdie
On Fri, 2019-04-12 at 14:16 +0100, Daniel Thompson wrote: > On Fri, Apr 12, 2019 at 01:39:52PM +0100, Richard Purdie wrote: > > On Fri, 2019-04-12 at 13:30 +0100, Daniel Thompson wrote: > > Whilst this is quite a creative approach it isn't deterministic and > > I can see this introducing bugs which

Re: [OE-core] xserver-xorg.inc and sysconfdir setting

2019-04-12 Thread Alexander Kanavin
On Fri, 12 Apr 2019 at 15:23, Alan Kozlay wrote: > > Maintainers, > > I needed Xorg to run as non-root from a non-console user on a machine which > needed the intel chipset drivers. > > Eventually, I made a bbappend for xserver-xorg and added > "--enable-suid-wrapper" to EXTRA_OECONF. > > This w

[OE-core] xserver-xorg.inc and sysconfdir setting

2019-04-12 Thread Alan Kozlay
Maintainers, I needed Xorg to run as non-root from a non-console user on a machine which needed the intel chipset drivers. Eventually, I made a bbappend for xserver-xorg and added "--enable-suid-wrapper" to EXTRA_OECONF. This was supposed to allow me to provide an /etc/X11/Xwrapper.config in whi

Re: [OE-core] [PATCH] go: Allow bootstrapping using host go compiler

2019-04-12 Thread Daniel Thompson
On Fri, Apr 12, 2019 at 01:39:52PM +0100, Richard Purdie wrote: > On Fri, 2019-04-12 at 13:30 +0100, Daniel Thompson wrote: > > Currently go-native bootstraps without any dependency on the host go > > compiler by building go-1.4 (the last version written in C) and using > > that to build a more rec

Re: [OE-core] [PATCH] go: Allow bootstrapping using host go compiler

2019-04-12 Thread Richard Purdie
On Fri, 2019-04-12 at 13:30 +0100, Daniel Thompson wrote: > Currently go-native bootstraps without any dependency on the host go > compiler by building go-1.4 (the last version written in C) and using > that to build a more recent version of go. This does not work on host > architectures, such as a

[OE-core] [PATCH] go: Allow bootstrapping using host go compiler

2019-04-12 Thread Daniel Thompson
Currently go-native bootstraps without any dependency on the host go compiler by building go-1.4 (the last version written in C) and using that to build a more recent version of go. This does not work on host architectures, such as arm64, that are not supported by go-1.4. To support these host arch

Re: [OE-core] [PATCH] systemd: install libnss-myhostname.so when myhostname be enabled

2019-04-12 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org core-boun...@lists.openembedded.org> On Behalf Of Wenlin Kang > Sent: den 10 april 2019 11:25 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH] systemd: install libnss-myhostname.so when

Re: [OE-core] QA cycle report for 2.6.2 RC3

2019-04-12 Thread richard . purdie
On Wed, 2019-04-10 at 02:38 +, Jain, Sangeeta wrote: > > QA cycle report for 2.6.2 RC3: > > No high milestone defects. > Test results are available at following location: > ·For results of all automated tests, refer to results at > public AB [1]. > ·For other test results,

Re: [OE-core] [PATCH] dnf: Enable nativesdk

2019-04-12 Thread Alexander Kanavin
On Fri, 12 Apr 2019 at 10:57, Zheng, Ruoqin wrote: > > > echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> > > > $script > > > + echo 'export MACHINE_ARCH=${MACHINE_ARCH}' >> $script > > > Please explain why this change in the commit. > > Dnf is based on rpm and rpm need to

[OE-core] [PATCH] elfutils: add ptest support

2019-04-12 Thread mingli.yu
From: Mingli Yu Add testsuite-ignore-elflint.diff from debian (http://ftp.de.debian.org/debian/pool/main/e/elfutils/elfutils_0.176-1.debian.tar.xz) to fix below ptest failure: | ./run-strip-strmerge.sh: line 33: testrun_on_self_skip: command not found | FAIL: run-strip-strmerge.sh Add check fo

[OE-core] [PATCH] image_types.bbclass: fix a race between the ubi and ubifs FSTYPES

2019-04-12 Thread Hongxu Jia
The ubi, ubifs and multiubi FSTYPES calls `mkfs.ubifs' to create UBIFS images. In do_image_ubi, $vname is empty, the name of UBIFS image conflicts with the one in do_image_ubifs, and it's a race risk. [do_image_ubi] mkfs.ubifs -r ${IMAGE_ROOTFS} -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${vname}${IMAGE_NAM

Re: [OE-core] [PATCH] dnf: Enable nativesdk

2019-04-12 Thread Zheng, Ruoqin
Hi Alex: > > echo 'export OECORE_DISTRO_VERSION="${DISTRO_VERSION}"' >> > > $script > > + echo 'export MACHINE_ARCH=${MACHINE_ARCH}' >> $script > > Please explain why this change in the commit. Dnf is based on rpm and rpm need to read the arch info, but $script did not provide it.

Re: [OE-core] [PATCH] pseudo: Update to gain key bugfixes

2019-04-12 Thread richard . purdie
On Wed, 2019-04-10 at 18:59 -0500, Seebs wrote: > On Thu, 11 Apr 2019 00:12:54 +0100 > Richard Purdie wrote: > > > -SRCREV = "6294b344e5140f5467e6860f45a174440015304e" > > +SRCREV = "6ebc7d6bc8ab973d0ba949eeb363821811ce8dc5" > > I would sort of recommend one of the two commits since then -- one

Re: [OE-core] [PATCH] python3: add a tr-tr locale for test_locale ptest

2019-04-12 Thread Sunny Wang (DMN) via Openembedded-core
Hi, Richard and Michael: Thanks for your positive information, but what I need is an CommandLineDiskImager.exe that could automatically download the wic file to the EMMC chip : The command line sample is as below: CommandLineDiskImager.exe C:\Downloads\scooteros-mdb-image-imx6