[OE-core] [PATCH v2 2/2] devtool: srctree: New command for setting up browsable source-code

2017-07-06 Thread Tobias Hagelborn
Setup a directory tree for source code according to section name. (if known). This tree is intended for code browsing ONLY. If source is moved, for instance with devtool modify, this command should be rerun to be up-to-date with that move. Signed-off-by: Tobias Hagelborn ---

[OE-core] [PATCH v2 1/2] srctree.bbclass: Download sourcecode and make it searchable

2017-07-06 Thread Tobias Hagelborn
This class is used to create a symlink to the source in ${S} in a separate directory structure. ${SECTION} is used, if available, for naming the path. Intended for 'devtool srctree ' to set up a tree with the source for all specified recipes and their dependencies to be able to do a more

[OE-core] [PATCH v2 0/2] Make source code browsable locally - devtool srctree

2017-07-06 Thread Tobias Hagelborn
UPDATE v2: - Rebased on latest Poky - Fixed issue with bad paths - Dirname based on $PN In our organization, there is a demand to be able download source code for searching. With the use of sstate-cache this has been challenge. Also, the source is not gathered but rather spread in a larger

[OE-core] [PATCH V2] meta: move image-mklibs image-prelink to IMAGE_CLASSES

2017-07-06 Thread liu . ming50
From: Ming Liu The code logic in image-mklibs.bbclass and image-prelink.bbclass is all about optimizing the rootfs image, so it makes more sense to put them into IMAGE_CLASSES rather than USER_CLASSES. What's more, this fixes a potential issue by moving out

Re: [OE-core] [PATCH] meta: move image-mklibs image-prelink to IMAGE_CLASSES

2017-07-06 Thread Ming Liu
Hi, Christopher: I am on board, using '+=' in local.conf.sample.extended is a good idea, I will send a V2 soon. the best, thank you 2017-07-06 17:20 GMT+02:00 Christopher Larson : > > > On Thu, Jul 6, 2017 at 7:40 AM, wrote: > >> From: Ming Liu

[OE-core] [PATCH] shadow: fix pam configs for chpasswd, newusers

2017-07-06 Thread Hongxu Jia
From: "yadi...@windriver.com" While pam is enabled: ... DISTRO_FEATURES_append = " pam" ... Fix below errors on target: ... root@qemux86:~# newusers newusers: PAM: Authentication failure root@qemux86:~# chpasswd chpasswd: PAM: Authentication failure ... The

[OE-core] [PATCH v3 2/2] initramfs-framwork: module to support boot live image

2017-07-06 Thread wei . tee . ng
From: "Ng, Wei Tee" setup-live module is a new module being introduced to integrate the functionality of init-live.sh into new scriptlet in order to support the live boot image. The udev-extraconf rdepends is being added to perform automounting. It gets to run before the

[OE-core] [PATCH v3 1/2] initramfs-framework: setup-live: detect media and assign rootfs image

2017-07-06 Thread wei . tee . ng
From: "Ng, Wei Tee" Integrate the featuers in init-live.sh into new scriptlet to handle boot up live image process using framework method. This commit include the changes for: - Create a conditional loop for the bootparam_root variable. If it is not set, then it will boot

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

2017-07-06 Thread wei . tee . ng
From: "Ng, Wei Tee" Hi, This patch is to get initramfs-framework able to boot up live image. A new scriplet named setup-live module has been created to handle the removeable media detection and assign the rootfs.img. This is because the current rootfs module has no

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

2017-07-06 Thread Khor, Swee Aun
Got it. Will update that. -Original Message- From: Wold, Saul Sent: Thursday, July 6, 2017 10:51 PM To: Khor, Swee Aun ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH 7/7] libffi: Support musl-x32 build On Wed, 2017-07-05 at 16:56

Re: [OE-core] [PATCH 22/22] testimage: Use the renamed buildlzip

2017-07-06 Thread Jose Perez Carranza
On 07/06/2017 09:33 AM, Khem Raj wrote: buildiptables has been replaced with buildlzip Signed-off-by: Khem Raj --- meta/classes/testimage.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/testimage.bbclass

[OE-core] [PATCH 1/2] oeqa/runtime: Replace buildiptables for buildlzip on runtime tests

2017-07-06 Thread jose . perez . carranza
From: Jose Perez Carranza Buildiptables test cases are conflicting with images built with “musl” as standard C library, in order to avoid those issues lzip package was selected to be used on the tests as this does not have any "musl" dependency. This patch

[OE-core] [PATCH 2/2] testimage: Use the renamed buildlzip

2017-07-06 Thread jose . perez . carranza
From: Khem Raj buildiptables has been replaced with buildlzip Signed-off-by: Khem Raj --- meta/classes/testimage.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/testimage.bbclass

[OE-core] [PATCH 0/2] Add lzip test instead of iptables for runtime

2017-07-06 Thread jose . perez . carranza
From: Jose Perez Carranza This series is created to replace iptables tests for lzip test and avoid conflicts with images built with “musl”. A two separate patches were sent before related to this, one for SDK [1] and other one to add changes to

[OE-core] [PATCH 3/3] mirrors.bbclass: remove stale lsof ftp mirrors

2017-07-06 Thread Andre McCurdy
Replace with an mapping for http://www.mirrorservice.org to align with recent changes to SRC_URI in the lsof recipe and allow non-current lsof tar files to be found in the /OLD subdirectory. Signed-off-by: Andre McCurdy --- meta/classes/mirrors.bbclass | 11 +-- 1

[OE-core] [PATCH 2/3] lsof: update SRC_URI

2017-07-06 Thread Andre McCurdy
Upstream lsof releases are hosted on an ftp server which times out download attempts from hosts for which it can not perform a DNS reverse-lookup. See: https://people.freebsd.org/~abe/ http://www.mirrorservice.org seems to be the most commonly used alternative (and using it for SRC_URI allows

[OE-core] [PATCH 1/3] lsof: minor recipe cleanup

2017-07-06 Thread Andre McCurdy
- Add HOMEPAGE - Remove ${S} from LIC_FILES_CHKSUM path - Use tabs consistently to indent do_configure() - Re-order LIC_FILES_CHKSUM definition to follow OE style guide Signed-off-by: Andre McCurdy --- meta/recipes-extended/lsof/lsof_4.89.bb | 15 --- 1

[OE-core] [PATCH 0/3] lsof cleanup and fetch timeout fix

2017-07-06 Thread Andre McCurdy
For many (?) users, lsof do_fetch() results in a 90 second timeout followed by a fallback to http://downloads.yoctoproject.org. Try to fix that by updating SRC_URI and associated entries in mirrors.bbclass + misc cleanup along the way. Andre McCurdy (3): lsof: minor recipe cleanups lsof:

[OE-core] ✗ patchtest: failure for u-boot: add workaround patch for missing python dev

2017-07-06 Thread Patchwork
== Series Details == Series: u-boot: add workaround patch for missing python dev Revision: 1 URL : https://patchwork.openembedded.org/series/7612/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have

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

2017-07-06 Thread Matthew McClintock
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 comment. This is just a host tool so let's just disable it entirely for the

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

2017-07-06 Thread Matthew McClintock
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 comment. This is just a host tool so let's just disable it entirely for the

Re: [OE-core] ✗ patchtest: failure for mesa: etnaviv: fix shader miscompilation with more than 16 labels

2017-07-06 Thread Leonardo Sandoval
On Thu, 2017-07-06 at 14:01 -0300, Otavio Salvador wrote: > On Wed, Jul 5, 2017 at 7:01 PM, Patchwork > wrote: > > == Series Details == > > > > Series: mesa: etnaviv: fix shader miscompilation with more than 16 labels > > Revision: 1 > > URL :

Re: [OE-core] ✗ patchtest: failure for mesa: etnaviv: fix shader miscompilation with more than 16 labels

2017-07-06 Thread Otavio Salvador
On Wed, Jul 5, 2017 at 7:01 PM, Patchwork wrote: > == Series Details == > > Series: mesa: etnaviv: fix shader miscompilation with more than 16 labels > Revision: 1 > URL : https://patchwork.openembedded.org/series/7589/ > State : failure > > == Summary == >

Re: [OE-core] [PATCH 22/22] testimage: Use the renamed buildlzip

2017-07-06 Thread Khem Raj
On Thu, Jul 6, 2017 at 9:05 AM, Jose Perez Carranza wrote: > > > On 07/06/2017 10:40 AM, Khem Raj wrote: >> >> On Thu, Jul 6, 2017 at 8:34 AM, Jose Perez Carranza >> wrote: >>> >>> On 07/06/2017 09:33 AM, Khem Raj wrote:

Re: [OE-core] [PATCH 22/22] testimage: Use the renamed buildlzip

2017-07-06 Thread Jose Perez Carranza
On 07/06/2017 10:40 AM, Khem Raj wrote: On Thu, Jul 6, 2017 at 8:34 AM, Jose Perez Carranza wrote: On 07/06/2017 09:33 AM, Khem Raj wrote: buildiptables has been replaced with buildlzip Signed-off-by: Khem Raj ---

[OE-core] [PATCH] base: Add MultiConfigParsed handler to deal with unstable build signatures

2017-07-06 Thread Richard Purdie
This uses the newly added MultiConfigParsed event to handle problems where checksums in multiconfig build were not fuctioning as expected. The issue arises around SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS which contains entries like: * gcc-cross-${TARGET_ARCH}->virtual/${TARGET_PREFIX}libc-for-gcc *

Re: [OE-core] [PATCH 22/22] testimage: Use the renamed buildlzip

2017-07-06 Thread Khem Raj
On Thu, Jul 6, 2017 at 8:34 AM, Jose Perez Carranza wrote: > > On 07/06/2017 09:33 AM, Khem Raj wrote: >> >> buildiptables has been replaced with buildlzip >> >> Signed-off-by: Khem Raj >> --- >> meta/classes/testimage.bbclass | 6 +++---

Re: [OE-core] [PATCH 22/22] testimage: Use the renamed buildlzip

2017-07-06 Thread Jose Perez Carranza
On 07/06/2017 09:33 AM, Khem Raj wrote: buildiptables has been replaced with buildlzip Signed-off-by: Khem Raj --- meta/classes/testimage.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/testimage.bbclass

Re: [OE-core] [PATCH] meta: move image-mklibs image-prelink to IMAGE_CLASSES

2017-07-06 Thread Christopher Larson
On Thu, Jul 6, 2017 at 7:40 AM, wrote: > From: Ming Liu > > The code logic in image-mklibs.bbclass and image-prelink.bbclass is all > about optimizing the rootfs image, so it makes more sense to put them > into IMAGE_CLASSES rather than

[OE-core] [PATCH] image_types: fix kernel target on elf's image dependencies

2017-07-06 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Kernel recipes provides 'virtual/kernel' so remove the native part. Signed-off-by: Leonardo Sandoval --- meta/classes/image_types.bbclass | 2 +- 1 file changed, 1 insertion(+), 1

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

2017-07-06 Thread Patrick Ohly
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 [YOCTO #11331] Let me come back to this, because I think it is not quite working as

[OE-core] ✗ patchtest: failure for Glibc 2.26 update and musl updates

2017-07-06 Thread Patchwork
== Series Details == Series: Glibc 2.26 update and musl updates Revision: 1 URL : https://patchwork.openembedded.org/series/7606/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on

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

2017-07-06 Thread Wold, Saul
On Wed, 2017-07-05 at 16:56 -0700, swee.aun.k...@intel.com wrote: > From: sweeaun > > Upstream-Status: Pending. The Upstream-Status needs to be in the .patch file, not in the main patch commit. See below > Added target musl-x32 in configure.ac to support musl-x32 build

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

2017-07-06 Thread liu . ming50
From: Ming Liu ${HOST_PREFIX}readelf is being called in mklibs_optimize_image_doit, so do_rootfs should depend on virtual/${MLPREFIX}${TARGET_PREFIX}binutils:do_populate_sysroot. Also pass ${IMAGE_ROOTFS} with --sysroot option which works well per test, or

[OE-core] [PATCH] meta: move image-mklibs image-prelink to IMAGE_CLASSES

2017-07-06 Thread liu . ming50
From: Ming Liu The code logic in image-mklibs.bbclass and image-prelink.bbclass is all about optimizing the rootfs image, so it makes more sense to put them into IMAGE_CLASSES rather than USER_CLASSES. What's more, this fixes a potential issue by moving out

[OE-core] [PATCH 20/22] mpeg2dec: Fix textrels QA errors on arm

2017-07-06 Thread Khem Raj
Fixes WARNING: mpeg2dec-0.5.1-r0 do_package_qa: QA Issue: ELF binary '/mnt/a/oe/build/tmp/work/armv5te-bec-linux-musleabi/mpeg2dec/0.5.1-r0/packages-split/libmpeg2/usr/lib/libmpeg2.so.0.1.0' has relocations in .text [textrel] Signed-off-by: Khem Raj ---

[OE-core] [PATCH 19/22] valgrind: tests build fixes for musl

2017-07-06 Thread Khem Raj
x86/aarch64 needed minor changes to make few testcases portable Signed-off-by: Khem Raj --- ...m64-Define-__THROW-if-not-already-defined.patch | 32 ++ ...emcheck-x86-Define-__THROW-if-not-defined.patch | 32 ++

[OE-core] [PATCH 18/22] world-broken.inc: Remove packages which are now buildable on musl

2017-07-06 Thread Khem Raj
Delete the pinnings which are no longer required during world builds becasue they have been fixed to build on musl Signed-off-by: Khem Raj --- meta/conf/distro/include/world-broken.inc | 25 - 1 file changed, 25 deletions(-) diff --git

[OE-core] [PATCH 17/22] musl: Update to latest on master

2017-07-06 Thread Khem Raj
Bring in following changes * fix missing volatile qualifier on lock in __get_locale * remove ineffective compiler assist from printf * fix undefined behavior in ptrace * unify the use of FUTEX_PRIVATE * fix undefined behavior in free * reapply va_arg hacks removal to wprintf * remove useless

[OE-core] [PATCH 12/22] glibc: Drop obsoleted bits/string.h from multilibbing

2017-07-06 Thread Khem Raj
glibc 2.26 has dropped bits/string.h Signed-off-by: Khem Raj --- meta/recipes-core/glibc/glibc-package.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc index

[OE-core] [PATCH 09/22] security_flags.inc: Do not build gcc for powerpc with PIE defaults

2017-07-06 Thread Khem Raj
Since we have disabled FPIE from SECURITY_CFLAGS already, we have to ensure the same with gcc, otherwise gcc (on-device) will be built defaulting to PIE, and such binaries will fail to execute Signed-off-by: Khem Raj --- meta/conf/distro/include/security_flags.inc | 1 + 1

[OE-core] [PATCH 10/22] ovmf: Fix build with toolchain defaulting to PIE

2017-07-06 Thread Khem Raj
GCC44_IA32_X64_DLINK_COMMON and GCC49_IA32_X64_DLINK_COMMON variables add to final linker flags that ovmf build forms on its own, so trying to inject it from environment will not work. Here we add option to disable pie during linking, which should have been accompanied with correcponding

[OE-core] [PATCH 22/22] testimage: Use the renamed buildlzip

2017-07-06 Thread Khem Raj
buildiptables has been replaced with buildlzip Signed-off-by: Khem Raj --- meta/classes/testimage.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index 6fa2d6fd9f..0c4a84e111

[OE-core] [PATCH 11/22] glibc: Upgrade to 2.25.90

2017-07-06 Thread Khem Raj
Eventually it will be released as 2.26 final Signed-off-by: Khem Raj --- meta/conf/distro/include/tcmode-default.inc| 2 +- ...e_2.25.bb => cross-localedef-native_2.25.90.bb} | 26 - ...bc-initial_2.25.bb => glibc-initial_2.25.90.bb} | 0

[OE-core] [PATCH 21/22] oeqa/sdk: Replace buildiptables for buildlzip tests

2017-07-06 Thread Khem Raj
From: Jose Perez Carranza Buildiptables test cases are conflicting with images built with “musl” as standard C library, in order to avoid those issues lzip package was selected to be used on the tests as this does not have any "musl" dependency. [YOCTO

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

2017-07-06 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 ++

[OE-core] [PATCH 13/22] glibc: Enable obsoleted nsl

2017-07-06 Thread Khem Raj
libnsl has been obsoleted in 2.26 and will be removed in future until them we enable it Signed-off-by: Khem Raj --- meta/recipes-core/glibc/glibc_2.25.90.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-core/glibc/glibc_2.25.90.bb

[OE-core] [PATCH 14/22] gcc-sanitizer: Fix build with glibc 2.26

2017-07-06 Thread Khem Raj
sigaltstack is no more exposed by glibc see (bug 21517) therefore adjust to use stack_t instead Use res_state typedef instead of referring to __res_state struct Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-7.1.inc | 1 +

[OE-core] [PATCH 15/22] gcc: Use ucontext_t instead of ucontext

2017-07-06 Thread Khem Raj
glibc 2.26 does not expose struct ucontext anymore Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-7.1.inc | 1 + ...0-replace-struct-ucontext-with-ucontext_t.patch | 149 + 2 files changed, 150 insertions(+) create mode 100644

[OE-core] [PATCH 06/22] sysklogd: Improve build and fix runtime crash

2017-07-06 Thread Khem Raj
Patch the makefile so it can respect flags from environment add a patch to fix a run time crash Signed-off-by: Khem Raj --- ...s-that-causes-a-segmentation-fault-under-.patch | 28 + ...way-for-respecting-flags-from-environment.patch | 35

[OE-core] [PATCH 07/22] libunwind: We set -fPIE in security flags now if gcc is not configured for default PIE

2017-07-06 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-support/libunwind/libunwind_1.2.bb | 4 1 file changed, 4 deletions(-) diff --git a/meta/recipes-support/libunwind/libunwind_1.2.bb b/meta/recipes-support/libunwind/libunwind_1.2.bb index e598e40c6f..c6312f24fd 100644 ---

[OE-core] [PATCH 16/22] gcc: Fix libssh_nonshared linker specs for ppc/musl

2017-07-06 Thread Khem Raj
The change to link libssp_nonshared.a only for musl was to move spec file changes to config/linux.h under a conditional when DEFAULT_LIBC == LIBC_MUSL which worked fine for all but ppc since gcc for ppc provided its own linux.h overrides which are used. This patch duplicates the change in those

[OE-core] [PATCH 05/22] gcc: Link libssp_nonshared.a only on musl targets

2017-07-06 Thread Khem Raj
glibc already provides the content for libssp_nonshared in libc_nonshared.a therefore we dont need to make it universal. This also fixed build issues on glibc when linking statically and using -fstack-protector Fixed errors like

[OE-core] [PATCH 04/22] gcc7: Enable static PIE

2017-07-06 Thread Khem Raj
Signed-off-by: Khem Raj --- meta/recipes-devtools/gcc/gcc-7.1.inc | 1 + .../gcc/gcc-7.1/0048-gcc-Enable-static-PIE.patch | 37 ++ 2 files changed, 38 insertions(+) create mode 100644

[OE-core] [PATCH 01/22] gcc: Introduce a knob to configure gcc to default to PIE

2017-07-06 Thread Khem Raj
GCCPIE flag which is empty by default adds "--enable-default-pie" configure option for harderned distros We do not require to add -fpie -pie flag externally anymore Signed-off-by: Khem Raj --- meta/conf/distro/include/security_flags.inc| 4 +++-

[OE-core] [PATCH 03/22] distutils, setuptools: Delete use of SECURITY_NO_PIE_CFLAGS

2017-07-06 Thread Khem Raj
gcc can handle PIE in gcc driver Signed-off-by: Khem Raj --- meta/classes/distutils-common-base.bbclass | 2 -- meta/classes/setuptools.bbclass| 2 -- 2 files changed, 4 deletions(-) diff --git a/meta/classes/distutils-common-base.bbclass

[OE-core] [PATCH 02/22] security_flags.inc: Delete pinnings for SECURITY_NO_PIE_CFLAGS

2017-07-06 Thread Khem Raj
GCC is configured correctly to pass PIE cflags/ldflags Signed-off-by: Khem Raj --- meta/conf/distro/include/security_flags.inc | 83 - 1 file changed, 22 insertions(+), 61 deletions(-) diff --git a/meta/conf/distro/include/security_flags.inc

[OE-core] [PATCH 00/22] Glibc 2.26 update and musl updates

2017-07-06 Thread Khem Raj
The patchset 1-10 are already proposed via kraj/hardening so ignore them here but they are needed for rest of patches thats why its included here, literally patch 11-22 is whats being proposed here. The following changes since commit 2d7a58ef7a9597fde868a0582153d1f9a3007f1e: image.bbclass:

Re: [OE-core] [PATCHv2 2/6] assimp: Add as dependency of vulkan-demos

2017-07-06 Thread Khem Raj
On Thu, Jul 6, 2017 at 12:54 AM, Jussi Kukkonen wrote: > Asset import library used by Sascha Willems Vulkan demos. > when this is merged into core please remove it from other layers too especially. meta-oe

[OE-core] ✗ patchtest: failure for #11709: Implemented --mkfs-extraopts

2017-07-06 Thread Patchwork
== Series Details == Series: #11709: Implemented --mkfs-extraopts Revision: 1 URL : https://patchwork.openembedded.org/series/7600/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed

[OE-core] [PATCH] linuxloader.bbclass: add musl libc support

2017-07-06 Thread liu . ming50
From: Ming Liu Current linuxloader.bbclass does not support musl libc ldso, so add it in. After changing, now the linuxloader function will call a subfunction according to which virtual/libc is being used, glibc or musl, the linuxloader_musl function is made

[OE-core] [PATCH 00/42] Consolidated pull

2017-07-06 Thread Ross Burton
Consolidated pull from the list, went green on the autobuilder apart from two failures due to speex download server being down, so this series includes a SRC_URI fix for that too. Ross The following changes since commit e7549662164b1aee346acaf434c38a3416e07e68: image.bbclass: create root

[OE-core] [PATCH 3/3] oe-selftest: wic: add test_mkfs_extraopts test case

2017-07-06 Thread Ed Bartosh
Test new wks option --mkfs-extraopts with all filesystems supported by wic. Signed-off-by: Ed Bartosh --- meta/lib/oeqa/selftest/cases/wic.py | 19 +++ 1 file changed, 19 insertions(+) diff --git a/meta/lib/oeqa/selftest/cases/wic.py

[OE-core] [PATCH 2/3] wic: add description of --mkfs-extraopts

2017-07-06 Thread Ed Bartosh
Updated help contents with the description of new wks option --mkfs-extraopts Signed-off-by: Ed Bartosh --- scripts/lib/wic/help.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py index 23d943c..99912cd

[OE-core] [PATCH 1/3] wic: implement wks option --mkfs-extraopts

2017-07-06 Thread Ed Bartosh
This option specifies extra options to pass to mkfs. utilities. [YOCTO #11709] Signed-off-by: Ed Bartosh --- scripts/lib/wic/ksparser.py | 1 + scripts/lib/wic/partition.py | 39 --- 2 files changed, 25 insertions(+), 15

[OE-core] [PATCH 0/3] #11709: Implemented --mkfs-extraopts

2017-07-06 Thread Ed Bartosh
Hi, This patchset implements new wks option --mkfs-extraopts, updates documentation and adds test case for it to the wic oe-selftest test suite. The following changes since commit 302b7497f94a37ccc65541ac6973251969c0ba77: live-vm-common: add MKDOSFS_EXTRAOPTS variable (2017-07-06 11:38:36

[OE-core] [PATCH] speex: update SRC_URI

2017-07-06 Thread Ross Burton
The US download mirror appears to be down, so use the main host instead. Signed-off-by: Ross Burton --- meta/recipes-multimedia/speex/speex_1.2.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/speex/speex_1.2.0.bb

[OE-core] [PATCH v3] curl: add ptest

2017-07-06 Thread Maxin B. John
Add ptest support to curl Fixes [YOCTO #6707] Signed-off-by: Maxin B. John --- meta/recipes-support/curl/curl/run-ptest | 6 ++ meta/recipes-support/curl/curl_7.54.1.bb | 22 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644

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

2017-07-06 Thread Khor, Swee Aun
You are right, the linux-musl* removing is breaking other musl arches. I will change to this. @@ -65,8 +65,7 @@ do_configure () { os=${HOST_OS} case $os in linux-gnueabi |\ linux-gnuspe |\ - linux-musl*) + linux-musleabi |\ + linux-muslspe)

[OE-core] ✗ patchtest: failure for grub: CVE-2017-9763 (rev2)

2017-07-06 Thread Patchwork
== Series Details == Series: grub: CVE-2017-9763 (rev2) Revision: 2 URL : https://patchwork.openembedded.org/series/7594/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the

[OE-core] ✗ patchtest: failure for grub: CVE-2017-9763

2017-07-06 Thread Patchwork
== Series Details == Series: grub: CVE-2017-9763 Revision: 1 URL : https://patchwork.openembedded.org/series/7594/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed

[OE-core] [PATCH] live-vm-common: add MKDOSFS_EXTRAOPTS variable

2017-07-06 Thread Ed Bartosh
Sometimes it's needed to create FAT filesystem with specific sector or cluster size, FAT size or to use one of other useful mkdosfs options. Introduced MKDOSFS_EXTRAOPTS variable to set options for mkdosfs. [YOCTO #11709] Signed-off-by: Ed Bartosh ---

[OE-core] [PATCH][v2] grub: CVE-2017-9763

2017-07-06 Thread Zhixiong Chi
The grub_ext2_read_block function in fs/ext2.c in GNU GRUB before 2013-11-12, allows remote attackers to cause a denial of service (excessive stack use and application crash) via a crafted binary file, related to use of a variable-size stack array. patch from

Re: [OE-core] [PATCH] grub: CVE-2017-9763

2017-07-06 Thread Zhixiong Chi
Please ignore this, I will resent one updated patch. Thanks. On 2017年07月06日 16:40, Zhixiong Chi wrote: Issue: LIN9-4520 The grub_ext2_read_block function in fs/ext2.c in GNU GRUB before 2013-11-12, allows remote attackers to cause a denial of service (excessive stack use and application

[OE-core] [PATCH] grub: CVE-2017-9763

2017-07-06 Thread Zhixiong Chi
Issue: LIN9-4520 The grub_ext2_read_block function in fs/ext2.c in GNU GRUB before 2013-11-12, allows remote attackers to cause a denial of service (excessive stack use and application crash) via a crafted binary file, related to use of a variable-size stack array. patch from

[OE-core] ✗ patchtest: failure for #11552 - wic: avoid unnecessary dependencies

2017-07-06 Thread Patchwork
== Series Details == Series: #11552 - wic: avoid unnecessary dependencies Revision: 1 URL : https://patchwork.openembedded.org/series/7593/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

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

2017-07-06 Thread Khor, Swee Aun
Will do that. -Original Message- From: Khem Raj [mailto:raj.k...@gmail.com] Sent: Thursday, July 6, 2017 3:22 PM To: Khor, Swee Aun ; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] [PATCH 7/7] libffi: Support musl-x32 build On 7/5/17 4:56

[OE-core] [PATCH 4/8] wic: isoimage-isohybrid: check result of glob()

2017-07-06 Thread Ed Bartosh
isoimage-isohybrid plugin uses result of glob call to get path to initrd image. When glob returns empty list the plugin crashes with IndexError. Checking if result of glob call is not empty should fix the breakage. Signed-off-by: Ed Bartosh ---

[OE-core] [PATCH 5/8] wic-tools: don't create wic-tools.env

2017-07-06 Thread Ed Bartosh
wic-tools.env was uses only when wic is run from bitbake. As wic doesn't use wic-tools anymore in this mode there is no need for this file. Signed-off-by: Ed Bartosh --- meta/recipes-core/meta/wic-tools.bb | 10 +- 1 file changed, 1 insertion(+), 9

[OE-core] [PATCH 6/8] image_types_wic: set default WKS_FILE_DEPENDS

2017-07-06 Thread Ed Bartosh
The default set of dependencies used via wic-tools is not used anymore as wic images don't depend on wic-tools. Set of packages required to produce wic image depends on the content of the .wks file, so WKS_FILE_DEPENDS variable should be used to provide correct list of dependencies when WKS_FILE

[OE-core] [PATCH 8/8] selftest: fixed 3 wic test cases

2017-07-06 Thread Ed Bartosh
Added core-image-minimal -> syslinux dependency to ensure syslinux artifacts are available from core-image-minimal build. This should fix test_iso_image, test_bootloader_config and test_default_output_dir test cases. Signed-off-by: Ed Bartosh ---

[OE-core] [PATCH 7/8] wic: isoimage-isohybrid: use grub-efi from deploy dir

2017-07-06 Thread Ed Bartosh
isoimage-isohybrid plugin tries to build grub-efi in its working directory if it can't find efi binary. Wic should avoid doing anything in working directories of other recipes. It should use artifacts from the image deployment directory instead. Signed-off-by: Ed Bartosh

[OE-core] [PATCH 3/8] wic: build wic-tools only if wic is run manually

2017-07-06 Thread Ed Bartosh
When wic can't find native sysroot it tries to build wic-tools However, it's not possible when wic is run from bitbake. Moreover, it's not even feasible anymore as wic-tools should be used only when wic is run manually. Checked if wic is run manually before building wic-tools. Signed-off-by: Ed

[OE-core] [PATCH 2/8] wic: isoimage: do not remove temp directory

2017-07-06 Thread Ed Bartosh
Removed isodir subrdirectory instead of removing temporary working directory as working directory can contain copy of rootfs partition and shouldn't be removed by any plugin. Signed-off-by: Ed Bartosh --- scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 4 ++--

[OE-core] [PATCH 1/8] wic: get rid of using wic-tools

2017-07-06 Thread Ed Bartosh
At the moment, when building images with IMAGE_FSTYPES=wic one ends up depending on wic-tools and thus syslinux and grub-efi even when not using those at all. Ideally, building an image with wic should only build the tools and components really needed. The problem is that "wic-tools" is needed

[OE-core] [PATCH 0/8] #11552 - wic: avoid unnecessary dependencies

2017-07-06 Thread Ed Bartosh
Hi, This patchset gets rid of building wic-tools for every image when IMAGE_FSTYPES contains 'wic'. Instead of using dependencies from wic-tools sysroots wic expects image sysroots to contain them. This should be done by setting of WKS_FILE_DEPENDS variable in configuration files where WKS_FILE

[OE-core] [PATCHv2 5/6] mesa, gstreamer: Add "vulkan" DISTRO_FEATURE

2017-07-06 Thread Jussi Kukkonen
It doesn't do much but does make enabling vulkan a little less fiddly. Signed-off-by: Jussi Kukkonen --- meta/recipes-graphics/mesa/mesa.inc| 3 ++- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 2 +- 2 files changed, 3

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

2017-07-06 Thread Jussi Kukkonen
Sascha Willems collection of Vulkan demos is useful as a smoke testing tool. Add patch to install binaries and data. Use a combination of patch and do_install_append to avoid some 3D models with unclear licensing. Signed-off-by: Jussi Kukkonen ---

[OE-core] [PATCHv2 1/6] vulkan: Upgrade 1.0.39.1 -> 1.0.51.0

2017-07-06 Thread Jussi Kukkonen
Remove a patch that's no longer needed Signed-off-by: Jussi Kukkonen --- ...se-getenv-if-secure_getenv-does-not-exist.patch | 34 -- .../{vulkan_1.0.39.1.bb => vulkan_1.0.51.0.bb} | 5 ++-- 2 files changed, 2 insertions(+), 37 deletions(-)

[OE-core] [PATCHv2 6/6] vulkan: RRECOMMEND mesa drivers

2017-07-06 Thread Jussi Kukkonen
One less thing to remember when trying to build an image with working vulkan. Signed-off-by: Jussi Kukkonen --- meta/recipes-graphics/vulkan/vulkan_1.0.51.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-graphics/vulkan/vulkan_1.0.51.0.bb

[OE-core] [PATCHv2 4/6] gstreamer1.0-plugins-bad: Add vulkan PACKAGECONFIG

2017-07-06 Thread Jussi Kukkonen
This adds a Vulkan video sink (using xcb and/or wayland). Add a few patches to fix the build. Signed-off-by: Jussi Kukkonen --- .../gstreamer/gstreamer1.0-plugins-bad.inc | 4 +- ...y-Use-ifdef-for-platform-specific-defines.patch | 37 +

[OE-core] [PATCHv2 2/6] assimp: Add as dependency of vulkan-demos

2017-07-06 Thread Jussi Kukkonen
Asset import library used by Sascha Willems Vulkan demos. Signed-off-by: Jussi Kukkonen --- meta/recipes-graphics/vulkan/assimp_git.bb | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 meta/recipes-graphics/vulkan/assimp_git.bb diff --git

[OE-core] [PATCHv2 0/6] Vulkan improvements

2017-07-06 Thread Jussi Kukkonen
Changes since v1: * Fixed type in vulkan-demos Upstream-Status * Added ANY_OF_DISTRO_FEATURES to vulkan-demos The branch has been force updated. Thanks, Jussi The following changes since commit 4b1d270602a0542eef1b497eaf15bad2b747686f: bitbake: bitbake-user-manual: Removed and replaced

[OE-core] ✗ patchtest: failure for Support combination of MUSL and x32 build

2017-07-06 Thread Patchwork
== Series Details == Series: Support combination of MUSL and x32 build Revision: 1 URL : https://patchwork.openembedded.org/series/7591/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been

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

2017-07-06 Thread Khem Raj
On 7/5/17 4:56 PM, swee.aun.k...@intel.com wrote: > From: sweeaun > > Support musl-x32 build which to build openssl with 32 bits. > > Signed-off-by: sweeaun > --- > meta/recipes-connectivity/openssl/openssl.inc | 6 -- > 1 file changed,

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

2017-07-06 Thread Khem Raj
On 7/5/17 4:56 PM, swee.aun.k...@intel.com wrote: > From: sweeaun > > Upstream-Status: Pending. > Added target musl-x32 in configure.ac to support musl-x32 build in libffi. > > Signed-off-by: sweeaun > --- >

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

2017-07-06 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

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

2017-07-06 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

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

2017-07-06 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 98099349e358a9caaec8ec81f0d4abe588909cfe: bitbake: npm fetcher: fix unknown variable name. (2017-06-29

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

2017-07-06 Thread swee . aun . khor
From: sweeaun Upstream-Status: Pending. 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 | 29 ++

  1   2   >