Re: [OE-core] [PATCH] [RFC] image.bbclass & image.py: Add check_image_file_ownership()

2017-07-07 Thread Haris Okanovic
Why not just check the permissions on disk, from a rootfs postprocess command? That wouldn’t be specific to tar, but would be just as effective, since those run under pseudo. I disagree that it "would be just as effective", since this approach relies on pseudo, tar, and OE's scripting (all of

Re: [OE-core] [PATCH] [RFC] image.bbclass & image.py: Add check_image_file_ownership()

2017-07-07 Thread Christopher Larson
Why not just check the permissions on disk, from a rootfs postprocess command? That wouldn’t be specific to tar, but would be just as effective, since those run under pseudo. On Fri, Jul 7, 2017 at 12:36 PM, Haris Okanovic wrote: > An IMAGE_POSTPROCESS_COMMAND verifying image tarballs have symbo

Re: [OE-core] [PATCH 2/3] lttng-tools: update to 2.9.5

2017-07-07 Thread Burton, Ross
On 7 July 2017 at 20:46, Nathan Lynch wrote: > Where can I find the libtool-wrapper QA check? It doesn't appear to be > in oe-core or poky. > It's one of my personal secret ones ;) (github:rossburton/meta-ross) Easily verifiable without using the QA test though. Ross --

Re: [OE-core] [PATCH 2/3] lttng-tools: update to 2.9.5

2017-07-07 Thread Nathan Lynch
"Burton, Ross" writes: > On 16 June 2017 at 22:39, Nathan Lynch wrote: > >> Miscellaneous fixes. >> > > This isn't related to the upgrade as it was a problem in the old release > too but I thought you should know: > > WARNING: lttng-tools-2.9.5-r0 do_package_qa: QA Issue: lttng-tools-ptest: > /u

Re: [OE-core] [PATCHv2 3/6] vulkan-demos: Add recipe

2017-07-07 Thread Burton, Ross
On 7 July 2017 at 15:37, Burton, Ross wrote: > vulkan-demos doesn't seem to like musl: > No, it's not just musl. http://errors.yoctoproject.org/Errors/Latest/?filter=567c4c106e39202990a822c053a0265ebc8f459b&type=commit They're all qemux86? Ross --

[OE-core] [PATCH] [RFC] image.bbclass & image.py: Add check_image_file_ownership()

2017-07-07 Thread Haris Okanovic
An IMAGE_POSTPROCESS_COMMAND verifying image tarballs have symbolic and numeric ownership attributes which match the enclosed shadow database: * uid and uname of each file is present in /etc/passwd * gid and gname of each file is present in /etc/group * ids and names are consistent between tar m

Re: [OE-core] [PATCH] dkms: Add new recipe for supporting dkms

2017-07-07 Thread Khem Raj
On Fri, Jul 7, 2017 at 8:31 AM, Alexandru Vasiu wrote: > Dkms is a tool used to compile out of tree modules directly on > target devices (sometimes you have sources or binaries which > need to be compiled directly on target, outside OE). > I used a simple module and a dkms config to test it, and d

[OE-core] ✗ patchtest: failure for glibc: fix pthread_cond_broadcast issue (arm) (rev3)

2017-07-07 Thread Patchwork
== Series Details == Series: glibc: fix pthread_cond_broadcast issue (arm) (rev3) Revision: 3 URL : https://patchwork.openembedded.org/series/7626/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have

Re: [OE-core] [poky][master] [PATCH v3 0/2] initramfs-framework: configuration to boot up live image

2017-07-07 Thread Burton, Ross
On 6 July 2017 at 19:28, wrote: > Ng, Wei Tee (2): > initramfs-framework: setup-live: detect media and assign rootfs image > initramfs-framwork: module to support boot live image > Can you squash these into a single commit, as the addition of setup-live in the first commit doesn't achieve an

[OE-core] [PATCH] dkms: Add new recipe for supporting dkms

2017-07-07 Thread Alexandru Vasiu
Dkms is a tool used to compile out of tree modules directly on target devices (sometimes you have sources or binaries which need to be compiled directly on target, outside OE). I used a simple module and a dkms config to test it, and dkms compiled and installed the module on target. For example: .

[OE-core] [PATCH] imagefutures: add test_image_fstypes test case

2017-07-07 Thread Ed Bartosh
Tested if core-image-minimal can be built for existing fstypes by building an image and checking if result file . exists in the image deploy directory. Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/cases/imagefeatures.py | 28 +++ 1 file changed, 28 insertions(+)

[OE-core] [PATCH] image_types: fix squashfs-lzo and squashfs-xz builds

2017-07-07 Thread Ed Bartosh
Dependencies required for squashfs-lzo and squashfs-xz image builds were assigned to do_image_squashfs-lzo and do_image_squashfs-xz. As these tasks don't exist the dependencies were not installed and builds were failing. Correct task names for these image types are: do_image_squashfs_lzo and do_im

[OE-core] ✗ patchtest: failure for glibc: fix pthread_cond_broadcast issue (arm) (rev2)

2017-07-07 Thread Patchwork
== Series Details == Series: glibc: fix pthread_cond_broadcast issue (arm) (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/7626/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have

Re: [OE-core] [PATCHv2 3/6] vulkan-demos: Add recipe

2017-07-07 Thread Burton, Ross
vulkan-demos doesn't seem to like musl: git/external/glm/glm/detail/../detail/func_common.inl:193:51: error: wrong number of template arguments (5, should be 6) struct compute_sign ^ http://errors.yoctoproject.org/Errors/Details/146971/ Ross --

[OE-core] [PATCH] oeqa/tinfoil: Improve test_wait_event for race issues

2017-07-07 Thread Richard Purdie
The test could break in a variety of ways: a) If BB_HEARTBEAT_EVENT was less than ~0.25 it would hang indefinitely b) The mask is set after draining the event queue meaning a heartbeat event could have happened c) The test exits once it sees the events it wants, it doesn't check for spurious

[OE-core] ✗ patchtest: failure for glibc: fix pthread_cond_broadcast issue (arm)

2017-07-07 Thread Patchwork
== Series Details == Series: glibc: fix pthread_cond_broadcast issue (arm) Revision: 1 URL : https://patchwork.openembedded.org/series/7626/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been ex

[OE-core] [PATCH] staging: Ensure a clean recipe sysroot removes addto_recipe_sysroot stamps

2017-07-07 Thread Richard Purdie
The commands: bitbake nodejs-native; bitbake nodejs-native -c clean; bitbake nodejs-native; bitbake -c addto_recipe_sysroot nodejs-native; bitbake -c devshell nodejs-native; bitbake -c addto_recipe_sysroot nodejs-native; bitbake -c devshell nodejs-native; never result in npm in the sysroot within

[OE-core] [PATCH] piglit: Update to current git master

2017-07-07 Thread Jussi Kukkonen
Update, remove backported patches. Signed-off-by: Jussi Kukkonen --- For reference for next graphics stack update Current results on a NUC715BNH (Intel Iris plus 640, "gen 9.5") with mesa 17.1.3 look like this: $ PIGLIT_NO_WINDOW=1 piglit tests/quick results/ $ piglit summary console results/ .

[OE-core] [PATCH 7/7] libffi: Support musl-x32 build

2017-07-07 Thread swee . aun . khor
From: sweeaun Added target musl-x32 in configure.ac to support musl-x32 build in libffi. Signed-off-by: sweeaun --- .../0001-libffi-Support-musl-x32-build.patch | 30 ++ meta/recipes-support/libffi/libffi_3.2.1.bb| 1 + 2 files changed, 31 insertions(+) crea

[OE-core] [PATCH 3/7] gnu-efi: Support musl-x32 build

2017-07-07 Thread swee . aun . khor
From: sweeaun To build 64-bit binaries for musl-x32. Signed-off-by: sweeaun --- meta/recipes-bsp/gnu-efi/gnu-efi_3.0.5.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.5.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.5.bb index d6f9f53..7346737 100644 ---

[OE-core] [PATCH v2 0/7] Support combination of MUSL and x32 build

2017-07-07 Thread swee . aun . khor
From: sweeaun Modified infrastructure (bbclass) and fixed bugs on multiple recipes to enable combination of MUSL and x32 build. The following changes since commit 754c03006943a219ffd417c36ab909b464f57f67: local.conf.sample: drop image-swab reference (2017-07-06 15:03:10 +0100) are available

[OE-core] [PATCH 6/7] perl: Support musl-x32 build

2017-07-07 Thread swee . aun . khor
From: sweeaun Existing musl fixups in perl recipe doesn't cover linux-muslx32. This is fixed to support musl-x32 build. Signed-off-by: sweeaun --- meta/recipes-devtools/perl/perl_5.24.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/perl/perl_5.24.

[OE-core] [PATCH 1/7] insane.bbclass: Support musl-x32

2017-07-07 Thread swee . aun . khor
From: sweeaun Added musl-x32 elf header into dictionary. Signed-off-by: sweeaun --- meta/classes/insane.bbclass | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 7680a59..479d39c 100644 --- a/meta/classes/ins

[OE-core] [PATCH 5/7] openssl: Support musl-x32 build

2017-07-07 Thread swee . aun . khor
From: sweeaun Support musl-x32 build which to build openssl with 32 bits. Signed-off-by: sweeaun --- meta/recipes-connectivity/openssl/openssl.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity

[OE-core] [PATCH 4/7] grub-efi: Support musl-x32

2017-07-07 Thread swee . aun . khor
From: sweeaun To build 64-bit binaries for musl-x32. Signed-off-by: sweeaun --- meta/recipes-bsp/grub/grub-efi_2.02.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-bsp/grub/grub-efi_2.02.bb b/meta/recipes-bsp/grub/grub-efi_2.02.bb index 9d494d5..b949beb 100644 --- a/meta

[OE-core] [PATCH 2/7] siteinfo.bbclass: Support musl-x32

2017-07-07 Thread swee . aun . khor
From: sweeaun Modified targetinfo and osinfo to support musl-x32. Signed-off-by: sweeaun --- meta/classes/siteinfo.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index 90ea5ba..20b4704 100644 --- a/meta/classes/sitein

Re: [OE-core] [PATCH v2] u-boot: add workaround patch for missing python dev

2017-07-07 Thread Richard Purdie
On Thu, 2017-07-06 at 13:23 -0500, Matthew McClintock wrote: > Per the comments in the included patch: > > tools: disable _libfdt.so (swig present, python-dev missing breakage) > >  This is probing for tools and enabling if swig is found, however Python >  libraries might be absent per the commen

Re: [OE-core] [PATCH v2] u-boot: add workaround patch for missing python dev

2017-07-07 Thread Burton, Ross
On 6 July 2017 at 19:23, Matthew McClintock wrote: > +Upstream-Status: Pending > Inappropriate, surely? Ross -- ___ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-co

Re: [OE-core] [PATCH 1/2] systemd: enable resolved and networkd

2017-07-07 Thread Maxin B. John
Hi Patrick, On Thu, Jul 06, 2017 at 05:12:05PM +0200, Patrick Ohly wrote: > On Mon, 2017-06-12 at 18:10 +0300, Maxin B. John wrote: > > Enable systemd-resolved and systemd-networkd by default. > > Make it co-exist with connman and Fix associated problems > > in read-only rootfs. > > > > Fixes [Y