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

2018-11-14 Thread Alexey Brodkin
Hi Marek, On Thu, 2018-11-15 at 06:03 +0100, Marek Vasut wrote: > On 11/15/2018 05:57 AM, Khem Raj wrote: > > On Wed, Nov 14, 2018 at 8:00 PM Alexey Brodkin > > wrote: > > > This utility is used for creation of images containing > > > usable in run-time U-Boot environment. > > > > > > As of toda

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

2018-11-14 Thread Marek Vasut
On 11/15/2018 05:57 AM, Khem Raj wrote: > On Wed, Nov 14, 2018 at 8:00 PM 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, here [

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

2018-11-14 Thread Alexey Brodkin
Hi Khem, On Wed, 2018-11-14 at 20:57 -0800, Khem Raj wrote: > On Wed, Nov 14, 2018 at 8:00 PM 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 In

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

2018-11-14 Thread Khem Raj
On Wed, Nov 14, 2018 at 8:00 PM 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, here [2] for Altera's SoCFPGA and > I may guess there're

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

2018-11-14 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, here [2] for Altera's SoCFPGA and I may guess there're others so instead of adding another one for ARC why don't we packag

Re: [OE-core] [bitbake-devel] difference between DEPLOYDIR vs D

2018-11-14 Thread Christopher Larson
IIrc DEPLOYDIR contents get copied to DEPLOY_DIR by sstate for the do_deploy task. I.e. tmp/deploy/. This is independent of packaging. On Wed, Nov 14, 2018 at 5:38 PM Davis Roman wrote: > Hello, > > I'm trying to understand the correlation between the $DEPLOYDIR and $D > variables. > > They both

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

2018-11-14 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 8/8] busybox: add coreutils to RDEPENDS of busybox-ptest

2018-11-14 Thread Chen Qi
busybox's echo test cases needs 'od' command to have '-t' option support. However, our busybox disable it by default by not setting CONFIG_DESKTOP. CONFIG_DESKTOP affects many busybox utilities. So add coreutils to RDEPENDS of busybox-ptest. Signed-off-by: Chen Qi --- meta/recipes-core/busybox/b

[OE-core] [PATCH 6/8] busybox: remove three hostname test cases

2018-11-14 Thread Chen Qi
These three test case are removed because of two reasons. 1) net-tools' hostname have different behaviour regarding some options So when net-tools is installed, test cases may fail. e.g. test x$(hostname -i) = x$(busybox hostname -i) 2) hostname may set to some value, e.g. qemux86-64, whi

[OE-core] [PATCH 7/8] busybox: fix du-l-works test case

2018-11-14 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 1/8] busybox: enable bzip2 by default

2018-11-14 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 2/8] busybox: skip known bugs in ptest

2018-11-14 Thread Chen Qi
Set SKIP_KNOWN_BUGS in run-ptest script to skip ptest cases which are known to relate to some known bugs. Signed-off-by: Chen Qi --- meta/recipes-core/busybox/files/run-ptest | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/busybox/files/run-ptest b/meta/recipes-core/busybo

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

2018-11-14 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 0/8] Fixes for busybox ptest

2018-11-14 Thread Chen Qi
The following changes since commit be1c84a91eb3bef5cb7d4f74ffbb0ffe5778: poky.conf: Update the distros we test against on the autobuilder (2018-11-14 11:18:18 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib ChenQi/busybox-ptest http://git.pokylinux.

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

2018-11-14 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] difference between DEPLOYDIR vs D

2018-11-14 Thread Davis Roman
Hello, I'm trying to understand the correlation between the $DEPLOYDIR and $D variables. They both seem very similar. Do files from DEPLOYDIR eventually get copied to D in order to finally make its way into the final package? If so, why bother with DEPLOYDIR and instead just copy straight into

[OE-core] [PATCH] busybox: Provide /bin/ash when usrmerge is enabled

2018-11-14 Thread Wes Lindauer
When usrmerge is enabled, scripts that were explicitly using #!/bin/ash will cause a QA Error like the following: QA Issue: bar.sh contained in package foo requires /bin/ash, but no providers found in RDEPENDS_foo? [file-rdeps]. It seems perfectly acceptable for scripts to use /bin/ash so provide

Re: [OE-core] [PATCH 2/7] python3: add tk support

2018-11-14 Thread Alejandro Hernandez
On 11/13/2018 1:10 AM, Yu, Mingli wrote: On 2018年11月13日 16:25, Alejandro Hernandez wrote: On 11/12/2018 7:03 PM, Yu, Mingli wrote: Hi Alejandro, Many thanks for your comments, please check my comments inline. On 2018年11月12日 23:28, Alejandro Hernandez wrote: Hey Yu, On 11/11/2018 6:28 PM,

Re: [OE-core] [PATCH] doc: drop some incorrect instructions

2018-11-14 Thread Ming Liu
Hi, Scott: Thanks for the re-writing, I think it's correct technically, the incorrect description had been removed. //Ming Liu Scott Rifenbark 於 2018年11月14日 週三 下午8:36寫道: > Ming, > > I could not simply apply this patch. I had to do some re-writing for > clarity. Please look at this link to th

[OE-core] ✗ patchtest: failure for doc: drop some incorrect instructions

2018-11-14 Thread Patchwork
== Series Details == Series: doc: drop some incorrect instructions Revision: 1 URL : https://patchwork.openembedded.org/series/14919/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed

Re: [OE-core] [PATCH] doc: drop some incorrect instructions

2018-11-14 Thread Scott Rifenbark
Ming, I could not simply apply this patch. I had to do some re-writing for clarity. Please look at this link to the updated section on the image_types class and let me know if this is technically correct. https://yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#ref-classes-image_types Than

[OE-core] [PATCH] doc: drop some incorrect instructions

2018-11-14 Thread liu . ming50
From: Ming Liu image_types bbclass now is being inherited mandatorily in image.bbclass through the variable IMGCLASSES, and the users do not have to inherit it in their customized image type bbclass, or put it in IMAGE_CLASSES. Drop the incorrect descriptions, it's confusing the developers. Sig

[OE-core] [PATCH] image.bbclass: add a missing blank

2018-11-14 Thread liu . ming50
From: Ming Liu When calling d.appendVarFlag, a blank is needed or else it could mess up the later appended variables. Reported-by: Stefan Agner Signed-off-by: Ming Liu --- meta/classes/image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/image.bbclass

[OE-core] [PATCH] wic: bootimg-efi: add a title source parameter

2018-11-14 Thread liu . ming50
From: Ming Liu Sometimes the users might want to change the title showing on UEFI booting screen, so far it's hard-coded to 'boot'. There is not a easy way to customize it in current design, I tried firstly with '--configfile', but that does not work with --use-uuid, since the later option will

[OE-core] [PATCH] module.bbclass: Add INSTALL_FW_PATH for out-of-tree modules

2018-11-14 Thread Wes Lindauer
This same variable was added to the make line in kernel.bbclass in 0decf1cc1c35dd70f3b822e3b4291a810a319ba0. With the addition of the usrmerge feature, out-of-tree modules could use this same variable. Signed-off-by: Wes Lindauer --- meta/classes/module.bbclass | 1 + 1 file changed, 1 insertion

Re: [OE-core] [rocko][PATCH] m4: Workaround gnulib's fseeko.c implementation

2018-11-14 Thread akuster808
On 11/14/18 5:23 AM, Raphael Kubo da Costa wrote: > From: Khem Raj > > exposed by glibc 2.28 for details see > https://lists.gnu.org/r/bug-gnulib/2018-03/msg0.html > > (From OE-Core rev: acca7f964bf9c21f3777085563a7928b8246f17f) > > Signed-off-by: Khem Raj > Signed-off-by: Richard Purdie >

Re: [OE-core] [sumo][PATCH] m4: Workaround gnulib's fseeko.c implementation

2018-11-14 Thread akuster808
On 11/14/18 5:54 AM, Raphael Kubo da Costa wrote: > From: Khem Raj > > exposed by glibc 2.28 for details see > https://lists.gnu.org/r/bug-gnulib/2018-03/msg0.html > > (From OE-Core rev: acca7f964bf9c21f3777085563a7928b8246f17f) > > Signed-off-by: Khem Raj > Signed-off-by: Richard Purdie >

[OE-core] [PATCH v3] update-alternatives: Allow using relative symlinks

2018-11-14 Thread Böszörményi Zoltán via Openembedded-core
The alternative links are invalid during do_rootfs. Add a new ALTERNATIVE_TARGET_RELATIVE family of variables to conditionally make these links valid. Signed-off-by: Böszörményi Zoltán --- v2: Fix the case when the link source and target are not in the same directory. v3: Moved the patch v

Re: [OE-core] [PATCH v2] update-alternatives: Allow using relative symlinks

2018-11-14 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core-boun...@lists.openembedded.org core-boun...@lists.openembedded.org> On Behalf Of Böszörményi Zoltán > via Openembedded-core > Sent: den 14 november 2018 14:22 > To: openembedded-core@lists.openembedded.org > Subject: [OE-core] [PATCH v2] updat

[OE-core] [sumo][PATCH] m4: Workaround gnulib's fseeko.c implementation

2018-11-14 Thread Raphael Kubo da Costa
From: Khem Raj exposed by glibc 2.28 for details see https://lists.gnu.org/r/bug-gnulib/2018-03/msg0.html (From OE-Core rev: acca7f964bf9c21f3777085563a7928b8246f17f) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie Signed-off-by: Raphael Kubo da Costa --- meta/recipes-devtools/m4/

[OE-core] [rocko][PATCH] m4: Workaround gnulib's fseeko.c implementation

2018-11-14 Thread Raphael Kubo da Costa
From: Khem Raj exposed by glibc 2.28 for details see https://lists.gnu.org/r/bug-gnulib/2018-03/msg0.html (From OE-Core rev: acca7f964bf9c21f3777085563a7928b8246f17f) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie Signed-off-by: Raphael Kubo da Costa --- meta/recipes-devtools/m4/

[OE-core] [PATCH v2] update-alternatives: Allow using relative symlinks

2018-11-14 Thread Böszörményi Zoltán via Openembedded-core
The alternative links are invalid during do_rootfs. Add a new ALTERNATIVE_TARGET_RELATIVE family of variables to conditionally make these links valid. v2: Fix the case when the link source and target are not in the same directory. Signed-off-by: Böszörményi Zoltán --- meta/classes/update-a

Re: [OE-core] meta-gnome: what are dependencies for gnome-full-desktop (gnome interface)

2018-11-14 Thread Burton, Ross
On Wed, 14 Nov 2018 at 11:46, Knoppix wrote: > My question were implement the missing recipes for yocto->meta-gnome > To start from point I did want to learn dependency graphic of gnome3. > I subscripted devel right know. > Just to repeat: all of the recipes you'll need to write are on the oe-de

Re: [OE-core] meta-gnome: what are dependencies for gnome-full-desktop (gnome interface)

2018-11-14 Thread Knoppix
My question were implement the missing recipes for yocto->meta-gnome To start from point I did want to learn dependency graphic of gnome3. I subscripted devel right know. Mr Burton: Thank you. On Wed, Nov 14, 2018 at 2:25 PM Burton, Ross wrote: > On Wed, 14 Nov 2018 at 08:42, Knoppix wrote: >

Re: [OE-core] [PATCH] update-alternatives: Allow using relative symlinks

2018-11-14 Thread Burton, Ross
On Wed, 14 Nov 2018 at 11:40, Böszörményi Zoltán via Openembedded-core < openembedded-core@lists.openembedded.org> wrote: > Add a new ALTERNATIVE_TARGET_RELATIVE family of variables to > conditionally make these links valid. This is limited to the > case when the binary and the symlink are in the

[OE-core] [PATCH] update-alternatives: Allow using relative symlinks

2018-11-14 Thread Böszörményi Zoltán via Openembedded-core
The alternative links are invalid during do_rootfs. Add a new ALTERNATIVE_TARGET_RELATIVE family of variables to conditionally make these links valid. This is limited to the case when the binary and the symlink are in the same directory. Signed-off-by: Böszörményi Zoltán --- meta/classes/update

Re: [OE-core] meta-gnome: what are dependencies for gnome-full-desktop (gnome interface)

2018-11-14 Thread Burton, Ross
On Wed, 14 Nov 2018 at 08:42, Knoppix wrote: > (Excuse me for my english I am not native) > > One disappointment for me was learn that meta-gnome is not fully-supported > for running desktop. So i want to write all remain recipes to use desktop > environment. I want to start from scratch (except

[OE-core] dracut is impossible to run in do_rootfs

2018-11-14 Thread Böszörményi Zoltán via Openembedded-core
Hi, I need to create the initramfs for the target build during do_rootfs using dracut to include systemd and plymouth into it and using the modules from the kernel version the image was built with. Currently I am on Yocto 2.5. There are several problem I am facing. First, the dracut recipe need

[OE-core] [PATCH V2] oepydevshell-internal.py: decode only when readdata is valid

2018-11-14 Thread changqing.li
From: Changqing Li fix below problem: pydevshell raises exception when maximize the python shell window. when click maximize, rlist of select return ready object, but the pty.read is None, so throw exception of 'NoneType' object has no attribute 'decode', change to only decode when readdata is va

Re: [OE-core] [PATCH] oepydevshell-internal.py: decode only when readdata is valid

2018-11-14 Thread Changqing Li
On 11/13/18 7:10 PM, Burton, Ross wrote: On Tue, 13 Nov 2018 at 10:03, Richard Purdie wrote: Usually you'd write this as: if readdata: i = i + readdata.decode('utf-8') Is there a reason not to do that here? Whilst this code is being changed, is there a chance of getting a partial read

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

2018-11-14 Thread mingli.yu
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 information. >>> import Tkinter Traceback (most recent call last): File "",

Re: [OE-core] [PATCH 01/12] build-appliance: Drop test which is already automated

2018-11-14 Thread Yeoh, Ee Peng
Ok, noted, I agreed. Let me initialize the build-appliance testcases consolidation. Thank you for your inputs and feedbacks. -Original Message- From: richard.pur...@linuxfoundation.org [mailto:richard.pur...@linuxfoundation.org] Sent: Wednesday, November 14, 2018 5:32 PM To: Yeoh, Ee P

Re: [OE-core] [PATCH] oepydevshell-internal.py: decode only when readdata is valid

2018-11-14 Thread Changqing Li
On 11/13/18 6:03 PM, Richard Purdie wrote: On Tue, 2018-11-13 at 17:04 +0800, changqing...@windriver.com wrote: From: Changqing Li fix below problem: pydevshell raises exception when maximize the python shell window. when click maximize, rlist of select return ready object, but the pty.read

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

2018-11-14 Thread mingli.yu
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 information. >>> import tkinter Traceback (most recent call last): File "",

Re: [OE-core] [PATCH 01/12] build-appliance: Drop test which is already automated

2018-11-14 Thread richard . purdie
On Wed, 2018-11-14 at 08:05 +, Yeoh, Ee Peng wrote: > > In that case wouldn't it make more sense to combine these steps > > with > > some of the other build appliance tests? We could add an extra step > > where the tester builds build-appliance rather than having multiple > > tests which sta

[OE-core] meta-gnome: what are dependencies for gnome-full-desktop (gnome interface)

2018-11-14 Thread Knoppix
(Excuse me for my english I am not native) One disappointment for me was learn that meta-gnome is not fully-supported for running desktop. So i want to write all remain recipes to use desktop environment. I want to start from scratch (except from meta-debian-recipes) because for learn gnome world.

Re: [OE-core] [PATCH 2/7] python3: add tk support

2018-11-14 Thread Yu, Mingli
On 2018年11月14日 05:26, Alejandro Hernandez wrote: On 11/13/2018 1:10 AM, Yu, Mingli wrote: On 2018年11月13日 16:25, Alejandro Hernandez wrote: On 11/12/2018 7:03 PM, Yu, Mingli wrote: Hi Alejandro, Many thanks for your comments, please check my comments inline. On 2018年11月12日 23:28, Alejandr

Re: [OE-core] [PATCH 01/12] build-appliance: Drop test which is already automated

2018-11-14 Thread Yeoh, Ee Peng
-Original Message- From: richard.pur...@linuxfoundation.org [mailto:richard.pur...@linuxfoundation.org] Sent: Monday, November 12, 2018 7:44 PM To: Yeoh, Ee Peng ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH 01/12] build-appliance: Drop test which is already a