Re: [OE-core] [PATCH] elfutils: Upgrade 0.168 to 0.169

2017-05-30 Thread Richard Purdie
On Fri, 2017-05-26 at 14:06 +0900, Fan Xin wrote: > 1) Upgrade elfutils from 0.168 to 0.169 > 2) Delete unnecessary patches which has been merged into 0.169 > 3) Rebase the patch files for 0.169 > > Signed-off-by: Fan Xin This fails to build for musl, the musl specific patch needs rebasing: SRC

Re: [OE-core] [PATCH 1/2] devshell.bbclass: ensure toolchains available for do_devshell

2017-05-30 Thread Richard Purdie
On Tue, 2017-05-30 at 12:07 +1200, Paul Eggleton wrote: > Hi Richard, > > On Tuesday, 30 May 2017 11:31:36 AM NZST Richard Purdie wrote: > > > > On Mon, 2017-05-29 at 13:16 +0800, Chang Rebecca Swee Fun wrote: > > > > > > Toolchains are required to be prepopulated in sysroot before > > > enterin

[OE-core] [PATCH v2] do_image: Implement IMAGE_ROOTFS_EXCLUDE_PATH feature.

2017-05-30 Thread Kristian Amlie
This is a direct followup from the earlier f6a064d969f414 commit in wic. It works more or less the same way: The variable specifies a list of directories relative to the root of the rootfs, and these directories will be excluded from the resulting rootfs image. If an entry ends with a slash, only t

Re: [OE-core] [PATCH] mesa: potentially enable texture float for gallium

2017-05-30 Thread Richard Purdie
On Tue, 2017-05-30 at 01:28 -0400, Trevor Woerner wrote: > On Mon, May 29, 2017 at 7:25 PM, Richard Purdie > wrote: > > > > On Fri, 2017-05-26 at 17:22 -0400, Trevor Woerner wrote: > > > > > > Somewhere along the path from OpenGL ES 2.0 to OpenGL ES 3.0 are > > > some > > > algorithms that are e

Re: [OE-core] do_image: Adding support for IMAGE_ROOTFS_EXCLUDE_PATH.

2017-05-30 Thread Kristian Amlie
Updated the patch and included documentation. It wasn't clear to me how to write a test for this. I couldn't spot any tests for the surrounding variables, but I might be missing something. If this is important, please let me know where I should add them. -- Kristian --

[OE-core] [PATCH] package_manager: flush installed_pkgs file before oe-pkgdata-util uses it

2017-05-30 Thread Martin Jansa
* since this commit: commit f5a1013ffa9815f22e13989e2bcb83f966e7ce2c Author: Ross Burton Date: Tue Apr 18 16:19:12 2017 +0100 package_manager: don't race on a file when installing complementary packages the file isn't closed before oe-pkgdata-util uses it and this temporary f

[OE-core] [PATCH] wic: Remove obsolete reference to msger logger.

2017-05-30 Thread Kristian Amlie
This was overlooked when msger was removed in 28014087b8091. Signed-off-by: Kristian Amlie --- scripts/lib/wic/plugins/source/rootfs.py | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/lib/wic/plugins/source/rootfs.py b/scripts/lib/wic/plugins/source/rootfs.py

[OE-core] ✗ patchtest: failure for do_image: Implement IMAGE_ROOTFS_EXCLUDE_PATH feature. (rev2)

2017-05-30 Thread Patchwork
== Series Details == Series: do_image: Implement IMAGE_ROOTFS_EXCLUDE_PATH feature. (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/6525/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several te

[OE-core] [PATCH] sstate-diff-machines.sh: Replace MACHINE_ARCH only at the beginning and separated with dash

2017-05-30 Thread Martin Jansa
* I had some components where the MACHINE name was also included in PV of allarch recipe which was tripping the script into saying that they have different signatures (because for one MACHINE was the string in PV replaced with 'MACHINE' and not for other MACHINEs Signed-off-by: Martin Jansa

[OE-core] [PATCH] recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode, links"

2017-05-30 Thread Martin Jansa
* Using "cp -a" leaks UID of user running the builds, causing many QA warnings. * See this thread for details: http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html Signed-off-by: Martin Jansa --- meta/recipes-core/coreutils/coreutils_8.27.bb | 2 +- meta

[OE-core] [PATCH] devtool: Compare abspath of both B and S

2017-05-30 Thread Ola x Nilsson
Either both or none of the paths must be passed through os.path.abspath or things like 'A//B', 'A/./B/', and 'A/B/' in S will cause unintentional mismatches even when B = "${S}". Using os.path.abspath for both seems more likely to be correct as that will also handle the case where ${B} != ${S} but

[OE-core] ✗ patchtest: failure for sstate-diff-machines.sh: Replace MACHINE_ARCH only at the beginning and separated with dash

2017-05-30 Thread Patchwork
== Series Details == Series: sstate-diff-machines.sh: Replace MACHINE_ARCH only at the beginning and separated with dash Revision: 1 URL : https://patchwork.openembedded.org/series/6969/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an

[OE-core] [PATCH] devtool: deploy-target: Let script continue even if rm fails

2017-05-30 Thread Daniel Lublin
The remote script is run with `set -e`, so doing rm without -f on a $file that is already gone will exit the whole script, failing any redeployment. Assume a use case where packages sometimes produces certain test binaries stored on volatile media (tmpfs), and where the system is occasionally reboo

[OE-core] [PATCH] devtool: deploy-target: Don't use find -exec

2017-05-30 Thread Daniel Lublin
find may be provided by busybox, which might be compiled without support for -exec. Signed-off-by: Daniel Lublin --- scripts/lib/devtool/deploy.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index b3730ae83

Re: [OE-core] [PATCH] recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode, links"

2017-05-30 Thread Andre McCurdy
On Tue, May 30, 2017 at 1:08 AM, Martin Jansa wrote: > * Using "cp -a" leaks UID of user running the builds, causing > many QA warnings. > * See this thread for details: > > http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html Using "cp -av --no-preserve=owners

Re: [OE-core] [PATCH] mesa: potentially enable texture float for gallium

2017-05-30 Thread Trevor Woerner
On Tue 2017-05-30 @ 08:47:55 AM, Richard Purdie wrote: > We should look at how Fedora "just bars float on llvmpipe and softpipe" > and perhaps look at copying that? Not that we enable llvmpipe at the > moment either mind so presumably we're using softpipe. If you build for AMD's gizmo2 (meta-amd),

[OE-core] [PATCH] mesa: upgrade to 17.1.1

2017-05-30 Thread Nicolas Dechesne
* Costmetic changes in license.html file required new MD5 hash * Add PACKAGECONFIG option for libunwind support (new feature, disable by default) * Rebased 0001-Use-wayland-scanner-in-the-path.patch * Added zlib in DEPENDS, otherwise mesa no longer builds. Signed-off-by: Nicolas Dechesne --- ..

Re: [OE-core] [PATCH] recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode, links"

2017-05-30 Thread Mark Hatle
On 5/30/17 9:45 AM, Andre McCurdy wrote: > On Tue, May 30, 2017 at 1:08 AM, Martin Jansa wrote: >> * Using "cp -a" leaks UID of user running the builds, causing >> many QA warnings. >> * See this thread for details: >> >> http://lists.openembedded.org/pipermail/openembedded-core/2015-November

Re: [OE-core] [PATCH] mesa: potentially enable texture float for gallium

2017-05-30 Thread Richard Purdie
On Tue, 2017-05-30 at 11:27 -0400, Trevor Woerner wrote: > Here is the relevant part of Fedora's mesa.spec file for Fedora 25 > (with line > numbers): > >400 %configure \ >401 %{?asm_flags} \ >402 --enable-libglvnd \ >403 --enable-selinux \ >404 

Re: [OE-core] [PATCH] mesa: potentially enable texture float for gallium

2017-05-30 Thread Trevor Woerner
On Tue, May 30, 2017 at 11:44 AM, Richard Purdie wrote: >> Maybe this would be a better way forward? Enable it, always, in >> ./configure, >> add the patch to check for it in the code itself, then you can build >> for all >> the gallium targets (including swrast) and know that the patented >> code

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

2017-05-30 Thread Khem Raj
On Mon, May 29, 2017 at 2:13 PM, 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 > > In fact the code sn

[OE-core] Yocto Project Status WW22’17

2017-05-30 Thread Jolley, Stephen K
Current Dev Position: Preparing for YP 2.4 M1 Next Deadline: YP 2.4 M1 Cut off is June 12, 2017 SWAT team rotation: Juro -> Anibal on May 26, 2017. SWAT team rotation: Anibal -> Todor on June 2, 2017. https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: ·

Re: [OE-core] [PATCH] mesa: potentially enable texture float for gallium

2017-05-30 Thread Richard Purdie
On Tue, 2017-05-30 at 12:00 -0400, Trevor Woerner wrote: > On Tue, May 30, 2017 at 11:44 AM, Richard Purdie > wrote: > > > > > > > > Maybe this would be a better way forward? Enable it, always, in > > > ./configure, > > > add the patch to check for it in the code itself, then you can > > > build

Re: [OE-core] [PATCH] recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode, links"

2017-05-30 Thread Andre McCurdy
On Tue, May 30, 2017 at 8:41 AM, Mark Hatle wrote: > On 5/30/17 9:45 AM, Andre McCurdy wrote: >> On Tue, May 30, 2017 at 1:08 AM, Martin Jansa wrote: >>> * Using "cp -a" leaks UID of user running the builds, causing >>> many QA warnings. >>> * See this thread for details: >>> >>> http://list

[OE-core] [PATCH 1/3] gstreamer1.0-plugins-bad: Fix missing library with bcm egl

2017-05-30 Thread Khem Raj
userland graphics driver provided libegl for rpi depends upon symbols from vchostif library, therefore add it to linker cmdline helps with loadng gst-gl plugins on rpi Signed-off-by: Khem Raj --- .../link-with-libvchostif.patch| 35 ++ .../gstreamer/gstre

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

2017-05-30 Thread Andre McCurdy
On Mon, May 29, 2017 at 2:13 PM, 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 > > In fact the code sn

[OE-core] [PATCH 2/3] fts: Switch SRC_URI to github

2017-05-30 Thread Khem Raj
Use the package maintained by voidlinux Drop local patches Signed-off-by: Khem Raj --- meta/recipes-core/fts/fts.bb | 36 +- .../fts/fts/fts-header-correctness.patch | 25 - meta/recipes-core/fts/fts/fts-uclibc.patch | 50 - meta/recipes-core/fts/fts

[OE-core] [PATCH 3/3] libatomic-ops: Upgrade to 7.6.0

2017-05-30 Thread Khem Raj
Can compile in thumb1 and thumb2 modes now AO_THUMB_GO_ARM, AO_THUMB_RESTORE_MODE are used to guard swp instructions Switch to github and use git for src_uri Signed-off-by: Khem Raj --- .../libatomic-ops/libatomic-ops_7.4.4.bb | 32 -- .../libatomic-ops/libatomic-o

Re: [OE-core] [PATCH] recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode, links"

2017-05-30 Thread Martin Jansa
I cannot find the exact message in MLs, but this combination of parameters was suggested by someone and approved by others back in 2015, when I did this change and similar in other layers like: https://patchwork.openembedded.org/patch/116525/ So I'm just using the same everywhere. But I'm open to

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

2017-05-30 Thread Nicolas Dechesne
On Tue, May 30, 2017 at 7:15 PM, Andre McCurdy wrote: >> gzip -9c < "${typeformake}" > "${KERNEL_OUTPUT_DIR}/${type}" >> It really sounds to me like something obvious is missing, i doubt I >> would be the first one to try Image.gz.. > > You may be the first to try for a non-MIPS machine. > > MIP

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

2017-05-30 Thread Francisco Pedraza
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 image compressed file is present in rootfs directory. YOCTO[#10745] Signed-off-by: Francisco Pedraza

[OE-core] [PATCH] runqemu-export-rootfs: don't change RPC ports

2017-05-30 Thread Cody P Schafer
The mountprog & nfsprog options given are not supported in the linux kernel, and the only references I can find to them are in the nfs-utils source, which notes: "mountprog" is supported only by the legacy mount command. The kernel mount client does not support this option. (and similar for

Re: [OE-core] [PATCH] devtool: deploy-target: Let script continue even if rm fails

2017-05-30 Thread Paul Eggleton
On Tuesday, 30 May 2017 11:17:59 PM NZST Daniel Lublin wrote: > The remote script is run with `set -e`, so doing rm without -f on a > $file that is already gone will exit the whole script, failing any > redeployment. Assume a use case where packages sometimes produces > certain test binaries stored

Re: [OE-core] [PATCH] devtool: Compare abspath of both B and S

2017-05-30 Thread Paul Eggleton
On Tuesday, 30 May 2017 10:16:31 PM NZST Ola x Nilsson wrote: > Either both or none of the paths must be passed through > os.path.abspath or things like 'A//B', 'A/./B/', and 'A/B/' in S will > cause unintentional mismatches even when B = "${S}". > > Using os.path.abspath for both seems more likel

Re: [OE-core] [PATCH] devtool: deploy-target: Don't use find -exec

2017-05-30 Thread Paul Eggleton
Hi Daniel, On Wednesday, 31 May 2017 2:40:43 AM NZST Daniel Lublin wrote: > find may be provided by busybox, which might be compiled without support > for -exec. > > Signed-off-by: Daniel Lublin > --- > scripts/lib/devtool/deploy.py | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) >

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

2017-05-30 Thread Andre McCurdy
On Tue, May 30, 2017 at 1:26 PM, Nicolas Dechesne wrote: > On Tue, May 30, 2017 at 7:15 PM, Andre McCurdy wrote: >>> gzip -9c < "${typeformake}" > "${KERNEL_OUTPUT_DIR}/${type}" >>> It really sounds to me like something obvious is missing, i doubt I >>> would be the first one to try Image.gz..

Re: [OE-core] [PATCH] systemd-boot.bbclass: Add configuration data to secondary EFI partition

2017-05-30 Thread Cal Sullivan
It looks like this was accepted on master. Would it be possible to backport this fix to pyro as well? Thanks, Cal On 05/22/2017 10:35 AM, California Sullivan wrote: The secondary EFI partition is used when booting in EFI mode, and without the configuration data we don't get any boot targets.

Re: [OE-core] [PATCH] mesa: upgrade to 17.1.1

2017-05-30 Thread Otavio Salvador
On Tue, May 30, 2017 at 12:32 PM, Nicolas Dechesne wrote: > * Costmetic changes in license.html file required new MD5 hash > * Add PACKAGECONFIG option for libunwind support (new feature, disable by > default) > * Rebased 0001-Use-wayland-scanner-in-the-path.patch > * Added zlib in DEPENDS, other

Re: [OE-core] [PATCH 1/3] gstreamer1.0-plugins-bad: Fix missing library with bcm egl

2017-05-30 Thread Otavio Salvador
On Tue, May 30, 2017 at 2:15 PM, Khem Raj wrote: > userland graphics driver provided libegl for rpi depends upon > symbols from vchostif library, therefore add it to linker cmdline > > helps with loadng gst-gl plugins on rpi > > Signed-off-by: Khem Raj Has it been send upstream? -- Otavio Sal

Re: [OE-core] [PATCH] systemd-boot.bbclass: Add configuration data to secondary EFI partition

2017-05-30 Thread Otavio Salvador
On Tue, May 30, 2017 at 9:10 PM, Cal Sullivan wrote: > It looks like this was accepted on master. Would it be possible to backport > this fix to pyro as well? I support this backport as well. -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://

[OE-core] [PATCH v6] openssh: Atomically generate host keys

2017-05-30 Thread Joshua Watt
Generating the host keys atomically prevents power interruptions during the first boot from leaving the key files incomplete, which often prevents users from being able to ssh into the device. Signed-off-by: Joshua Watt --- meta/recipes-connectivity/openssh/openssh/init | 22 --

Re: [OE-core] [PATCH v6] openssh: Atomically generate host keys

2017-05-30 Thread Otavio Salvador
On Tue, May 30, 2017 at 11:34 PM, Joshua Watt wrote: > Generating the host keys atomically prevents power interruptions during > the first boot from leaving the key files incomplete, which often > prevents users from being able to ssh into the device. > > Signed-off-by: Joshua Watt It does make

[OE-core] [PATCH v3] u-boot: Update to 2017.05 release

2017-05-30 Thread Otavio Salvador
This 2017.05 release is out since May 08th, 2017. Signed-off-by: Otavio Salvador --- Changes in v3: - Update to 2017.05 release Changes in v2: - Fix typo in commit log .../u-boot/{u-boot-common_2017.01.inc => u-boot-common_2017.05.inc} | 2 +- .../u-boot/{u-boot-fw-utils_2017.01.bb => u-b

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

2017-05-30 Thread Francisco Pedraza
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 image compressed file is present in rootfs directory. YOCTO[#10745] Signed-off-by: Francisco Pedraza

Re: [OE-core] [PATCH 1/3] gstreamer1.0-plugins-bad: Fix missing library with bcm egl

2017-05-30 Thread Khem Raj
On Tue, May 30, 2017 at 7:25 PM, Otavio Salvador wrote: > On Tue, May 30, 2017 at 2:15 PM, Khem Raj wrote: >> userland graphics driver provided libegl for rpi depends upon >> symbols from vchostif library, therefore add it to linker cmdline >> >> helps with loadng gst-gl plugins on rpi >> >> Sign

Re: [OE-core] [PATCH] runqemu-export-rootfs: don't change RPC ports

2017-05-30 Thread Cody P Schafer
> The result of this is that trying to mount filesystems exported by > runqemu-export-rootfs in modern kernels (at least in 4.2 and later, and > probably more like 2.6.20 and later) doesn't actually work. To clarify, when using nfsroot with the current kernel & unfsd options, my boot stops, waits

[OE-core] [PATCH V2 1/3] kernel-fitimage: Support ext2.gz filesystems

2017-05-30 Thread Chunrong Guo
From: Chunrong Guo Signed-off-by: Chunrong Guo --- meta/classes/kernel-fitimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index 2630b47..f40fbf3 100644 --- a/meta/classes/kernel-fitima

[OE-core] [PATCH V2 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue

2017-05-30 Thread Chunrong Guo
From: Chunrong Guo * For example: KERNEL_DEVICETREE ?= "freescale/fsl-ls1046a-rdb.dtb" ${DTB}= "freescale/fsl-ls1046a-rdb.dtb" but only fsl-ls1046a-rdb.dtb should be used in fit-image.its Signed-off-by: Chunrong Guo --- meta/classes/kernel-fitimage.bbclass | 1 + 1

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

2017-05-30 Thread Chunrong Guo
From: Chunrong Guo Signed-off-by: Chunrong Guo --- meta/classes/kernel-fitimage.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index f40fbf3..9fa836f 100644 --- a/meta/classes/kernel-fitima

[OE-core] [PATCH v2] devtool: deploy-target: Don't use find -exec

2017-05-30 Thread Daniel Lublin
find may be provided by busybox, which might be compiled without support for -exec. Signed-off-by: Daniel Lublin --- scripts/lib/devtool/deploy.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index b3730ae8

[OE-core] [PATCH] *** Selftest/devtool: replace file assertTrue/False with assertExists/NotExists ***

2017-05-30 Thread Yeoh Ee Peng
*** replace file assertTrue/False with assertExists/NotExists to improve assert message and simplify codes *** Yeoh Ee Peng (1): selftest/devtool: replace file assertTrue/False with assertExists/NotExists meta/lib/oeqa/selftest/devtool.py | 128 +++--- 1 fi

[OE-core] [PATCH] selftest/devtool: replace file assertTrue/False with assertExists/NotExists

2017-05-30 Thread Yeoh Ee Peng
Current osselftest print confusing assertion message when using self.assertTrue(os.path.exists(filepath)) to test file path, example of confusing assertion message: AssertionError: False is not true Replce assertTrue/assertFalse with assertExists/assertNotExists to test file path, this wil