Re: [OE-core] [RFC] u-boot-fw-utils: Allow target-specific fw_env.config

2017-06-20 Thread Denys Dmytriyenko
On Tue, Jun 20, 2017 at 09:33:24PM -0500, Brad Mouring wrote: > On Tue, Jun 20, 2017 at 10:59:55PM +0200, Marek Vasut wrote: > > On 06/20/2017 10:53 PM, Brad Mouring wrote: > > > On Tue, Jun 20, 2017 at 10:43:51PM +0200, Marek Vasut wrote: > > >> On 06/20/2017 10:40 PM, Brad Mouring wrote: > > >>>

[OE-core] [PATCH v4] image_types.bbclass: Prompt error message on missing setting in UBI and UBIFS

2017-06-20 Thread yin . thong . choong
From: Choong YinThong Prompt error message to guide user add argument MKUBIFS_ARGS and UBINIZE_ARGS in local.conf on every UBI and UBIFS image creation. [YOCTO #11589] Signed-off-by: Choong YinThong --- meta/classes/image_types.bbclass

[OE-core] [PATCH v4] Prompt error message on missing setting for

2017-06-20 Thread yin . thong . choong
From: Choong YinThong Prompt error message on missing setting in machine.conf for UBI and UBIFS image creation. Choong YinThong (1): image_types.bbclass: Prompt error message on missing setting in UBI and UBIFS meta/classes/image_types.bbclass | 8

[OE-core] ✗ patchtest: failure for systemd: work-around ppc gold linker error

2017-06-20 Thread Patchwork
== Series Details == Series: systemd: work-around ppc gold linker error Revision: 1 URL : https://patchwork.openembedded.org/series/7390/ 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] systemd: work-around ppc gold linker error

2017-06-20 Thread Randy MacLeod
On 2017-06-20 10:41 PM, Khem Raj wrote: On Tue, Jun 20, 2017 at 10:28 PM, Randy MacLeod wrote: Signed-off-by: Randy MacLeod --- .../systemd/systemd/systemd-drop-gold-use-bfd.patch | 11 +++

Re: [OE-core] [PATCH] systemd: work-around ppc gold linker error

2017-06-20 Thread Khem Raj
On Tue, Jun 20, 2017 at 10:28 PM, Randy MacLeod wrote: > Signed-off-by: Randy MacLeod > --- > .../systemd/systemd/systemd-drop-gold-use-bfd.patch | 11 > +++ > meta/recipes-core/systemd/systemd_232.bb

[OE-core] [PATCH] systemd: work-around ppc gold linker error

2017-06-20 Thread Randy MacLeod
Signed-off-by: Randy MacLeod --- .../systemd/systemd/systemd-drop-gold-use-bfd.patch | 11 +++ meta/recipes-core/systemd/systemd_232.bb | 2 ++ 2 files changed, 13 insertions(+) create mode 100644

Re: [OE-core] [RFC] u-boot-fw-utils: Allow target-specific fw_env.config

2017-06-20 Thread Brad Mouring
On Tue, Jun 20, 2017 at 10:59:55PM +0200, Marek Vasut wrote: > On 06/20/2017 10:53 PM, Brad Mouring wrote: > > On Tue, Jun 20, 2017 at 10:43:51PM +0200, Marek Vasut wrote: > >> On 06/20/2017 10:40 PM, Brad Mouring wrote: > >>> As implemented currently, the fw-utils recipe does not allow for > >>>

[OE-core] [PATCH] x86-base.inc: Don't add live to IMAGE_FSTYPES, default instead

2017-06-20 Thread California Sullivan
Using += makes it difficult to remove. Soft-set with ?= instead. Signed-off-by: California Sullivan --- meta/conf/machine/include/x86-base.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/machine/include/x86-base.inc

Re: [OE-core] [PATCH] u-boot-fw-utils: Allow replacement of fw_env.config

2017-06-20 Thread Denys Dmytriyenko
On Tue, Jun 20, 2017 at 07:15:12PM -0300, Otavio Salvador wrote: > If a fw_env.config file is found in workdir, this is preferred over > the U-Boot example. > > Signed-off-by: Otavio Salvador > --- > > meta/recipes-bsp/u-boot/u-boot-fw-utils_2017.05.bb | 9 - >

[OE-core] [PATCH v4 2/4] masterimage.py: fix stop()

2017-06-20 Thread Stephano Cetola
From: Erik Botö The stop() function is called in the context of the masterimage, so self.master should be used instead of self.connection which is undefined at that time. [YOCTO #11524] Signed-off-by: Erik Botö ---

[OE-core] [PATCH v4 4/4] masterimage.py: fix issue with calling reboot on masterimage/DUT

2017-06-20 Thread Stephano Cetola
From: Erik Botö On systemd systems calling reboot over an ssh connection doesn't return as expected causing an exception, therefore wrap the call to reboot in order to avoid this issue. Also sync the filesystems before rebooting cause otherwise, it will be done as part

[OE-core] [PATCH v4 3/4] masterimage.py: rename parameter "params" in start() to "extra_bootparams"

2017-06-20 Thread Stephano Cetola
From: Erik Botö This matches how it is called, and how it is named in qmeu target. [YOCTO #11524] Signed-off-by: Erik Botö --- meta/lib/oeqa/controllers/masterimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-core] [PATCH v4 1/4] sshcontrol.py: in copy_to() always use scp

2017-06-20 Thread Stephano Cetola
From: Erik Botö The current implementation is broken when the localpath is a link. Then only a symlink would be created on the target, instead of copying the actual file. [YOCTO #11524] Signed-off-by: Erik Botö ---

[OE-core] [PATCH v4 0/4] fix runtime testing using systemd-boot targe

2017-06-20 Thread Stephano Cetola
I'm sending this on behalf of Zeeshan Ali . One of the patches required a rebase and he is on vacation. This fixes [YOCTO #11524]. Erik Botö (4): sshcontrol.py: in copy_to() always use scp masterimage.py: fix stop() masterimage.py: rename parameter "params" in start() to

[OE-core] [PATCH] u-boot-fw-utils: Allow replacement of fw_env.config

2017-06-20 Thread Otavio Salvador
If a fw_env.config file is found in workdir, this is preferred over the U-Boot example. Signed-off-by: Otavio Salvador --- meta/recipes-bsp/u-boot/u-boot-fw-utils_2017.05.bb | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

Re: [OE-core] [RFC] u-boot-fw-utils: Allow target-specific fw_env.config

2017-06-20 Thread Otavio Salvador
On Tue, Jun 20, 2017 at 6:16 PM, Marek Vasut wrote: > On 06/20/2017 10:57 PM, Otavio Salvador wrote: >> On Tue, Jun 20, 2017 at 5:53 PM, Brad Mouring wrote: >>> On Tue, Jun 20, 2017 at 10:43:51PM +0200, Marek Vasut wrote: On 06/20/2017 10:40 PM, Brad

Re: [OE-core] ✗ patchtest: failure for oeqa: fix runtime testing using systemd-boot target (rev2)

2017-06-20 Thread Zeeshan Ali
Hi Stephano, Thanks. I'm already on my 2 weeks vacation so if you could kindly rebase the patch series, that'd be very nice. Otherwise, I'll just do it after I return. Thanks. On Tue, 20 Jun 2017, 23:34 Stephano Cetola, wrote: > Hey Zeeshan, > > Let me know if

[OE-core] [PATCH][krogoth] initrdscripts/init-install*: Add rootwait when installing to USB devices

2017-06-20 Thread Alejandro Hernandez
From: California Sullivan It can take a bit for USB devices to be detected, so if a USB device is your rootfs and you don't set rootwait you will most likely get a kernel panic. Fix this by adding rootwait to the kernel command line on installation. Fixes [YOCTO

Re: [OE-core] [RFC] u-boot-fw-utils: Allow target-specific fw_env.config

2017-06-20 Thread Marek Vasut
On 06/20/2017 10:57 PM, Otavio Salvador wrote: > On Tue, Jun 20, 2017 at 5:53 PM, Brad Mouring wrote: >> On Tue, Jun 20, 2017 at 10:43:51PM +0200, Marek Vasut wrote: >>> On 06/20/2017 10:40 PM, Brad Mouring wrote: As implemented currently, the fw-utils recipe does not

Re: [OE-core] ✗ patchtest: failure for oeqa: fix runtime testing using systemd-boot target (rev2)

2017-06-20 Thread Stephano Cetola
Hey Zeeshan, Let me know if you need any help with this. This probably requires that you do a rebase with master and resubmit a V4. Cheers, Stephano On 06/19, Patchwork wrote: > == Series Details == > > Series: oeqa: fix runtime testing using systemd-boot target (rev2) > Revision: 2 > URL :

[OE-core] [RFC] u-boot-fw-utils: Allow target-specific fw_env.config

2017-06-20 Thread Brad Mouring
As implemented currently, the fw-utils recipe does not allow for a board- or distro-specific fw_env.config override, instead opting to include the default (commented, example-filled) fw_env.config from the u-boot source. This change introduces a variable that allows for overriding this, while

[OE-core] [PATCH v3] mesa: Update to 17.1.3 release

2017-06-20 Thread Otavio Salvador
17.1.2 release includes fixes for: Bug 98833 - [REGRESSION, bisected] Wayland revert commit breaks non-Vsync fullscreen frame updates Bug 100741 - Chromium - Memory leak Bug 100877 - vulkan/tests/block_pool_no_free regression Bug 101110 - Build failure in GNOME Continuous

Re: [OE-core] [RFC] u-boot-fw-utils: Allow target-specific fw_env.config

2017-06-20 Thread Marek Vasut
On 06/20/2017 10:53 PM, Brad Mouring wrote: > On Tue, Jun 20, 2017 at 10:43:51PM +0200, Marek Vasut wrote: >> On 06/20/2017 10:40 PM, Brad Mouring wrote: >>> As implemented currently, the fw-utils recipe does not allow for >>> ... >>> +# by the U-Boot environment utilities "fw_printenv" and

Re: [OE-core] [RFC] u-boot-fw-utils: Allow target-specific fw_env.config

2017-06-20 Thread Otavio Salvador
On Tue, Jun 20, 2017 at 5:53 PM, Brad Mouring wrote: > On Tue, Jun 20, 2017 at 10:43:51PM +0200, Marek Vasut wrote: >> On 06/20/2017 10:40 PM, Brad Mouring wrote: >> > As implemented currently, the fw-utils recipe does not allow for >> > ... >> > +# by the U-Boot environment

Re: [OE-core] [RFC] u-boot-fw-utils: Allow target-specific fw_env.config

2017-06-20 Thread Brad Mouring
On Tue, Jun 20, 2017 at 10:43:51PM +0200, Marek Vasut wrote: > On 06/20/2017 10:40 PM, Brad Mouring wrote: > > As implemented currently, the fw-utils recipe does not allow for > > ... > > +# by the U-Boot environment utilities "fw_printenv" and "fw_setenv". > > +# By default, use the default

Re: [OE-core] [RFC] u-boot-fw-utils: Allow target-specific fw_env.config

2017-06-20 Thread Marek Vasut
On 06/20/2017 10:40 PM, Brad Mouring wrote: > As implemented currently, the fw-utils recipe does not allow for > a board- or distro-specific fw_env.config override, instead opting > to include the default (commented, example-filled) fw_env.config > from the u-boot source. This change introduces a

[OE-core] [PATCH v3 0/3] Two new devtool plugins: export and import

2017-06-20 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval These two plugins can be used to share the devtool workspace between users. The following changes since commit ef506f58da3a95fba2696df749b2b81f9c118847: cve-check-tool: backport a patch to make CVE checking work (2017-05-18

[OE-core] [PATCH v3 2/3] devtool: function to replace strings inside a text file

2017-06-20 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Signed-off-by: Leonardo Sandoval --- scripts/lib/devtool/__init__.py | 37 + 1 file changed, 37 insertions(+) diff --git

[OE-core] [PATCH v3 3/3] import: new plugin to import the devtool workspace

2017-06-20 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval Takes a tar archive created by 'devtool export' and export it (untar) to workspace. By default, the whole tar archive is imported, thus there is no way to limit what is imported.

[OE-core] [PATCH v3 1/3] export: new plugin to export the devtool workspace

2017-06-20 Thread leonardo . sandoval . gonzalez
From: Leonardo Sandoval By default, exports the whole workspace (all recipes) including the source code. User can also limit what is exported with --included/--excluded flags. As a result of this operation, a tar archive containing only workspace

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

2017-06-20 Thread Stefan Strogin
This patch adds ptest for slang, it uses `make runtests` to run tests. The Makefile runs runtests.sh for each *.sl and *.slc tests. runtests.sh is patched for printing test results in a common format, Makefile is patched in order not to compile any dependencies. Changes v2->v3: rebased on the

[OE-core] [PATCH v2 1/1] imagefeatures.py: Added testcase to track IMAGE_GEN_DEBUGFS

2017-06-20 Thread Humberto Ibarra
Add new testcase to check varibale IMAGE_GEN_DEBUGFS. Test makes sure that debug filesystem is created accordingly. [YOCTO #10906] Signed-off-by: Humberto Ibarra --- meta/lib/oeqa/selftest/cases/imagefeatures.py | 26 ++ 1 file changed,

[OE-core] [PATCH v2 0/1] imagefeatures.py: Added testcase to track IMAGE_GEN_DEBUGFS

2017-06-20 Thread Humberto Ibarra
Patch to add a testcase for IMAGE_GEN_DEBUGFS variable. Checks if debug filesystem was created. The following changes since commit 9ea5a31776440abd6468f003c5e1905f079446d3: ovmf: fix secureboot PACKAGECONFIG + OpenSSL update (2017-06-16 10:58:23 +0100) are available in the git repository

[OE-core] [PATCH] ltp: use upstream patch to fix faccessat/fchmodat build warnings

2017-06-20 Thread Fathi Boudra
Use 0037-faccessat-and-fchmodat-Fx-build-warnings.patch instead of 0012-fix-faccessat01.c-build-fails-with-security-flags.patch. The new patch has been merged upstream and will be available in next LTP release. Signed-off-by: Fathi Boudra ---

[OE-core] [PATCH] bitbake.conf: Fix typo on variable name

2017-06-20 Thread Ricardo Ribalda Delgado
The variable is called ASSUME_PROVIDED, not ASSUME_PROVIDES. Without this patch sdl-config is not properly linked into build/tmp/hosttools and bitbake fails to find it. Signed-off-by: Ricardo Ribalda Delgado --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1

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

2017-06-20 Thread Joshua Watt
On Tue, 2017-06-20 at 10:52 +0200, Ulrich Ölmann wrote: > On Tue, May 23, 2017 at 03:37:16PM +0100, Burton, Ross wrote: > > On 7 May 2017 at 02:33, Joshua Watt wrote: > > > diff --git a/meta/recipes- > > > connectivity/openssh/openssh/sshdgenkeys.service > > >

Re: [OE-core] [PATCH] pkg-config: allow kernel to be build with esdk

2017-06-20 Thread Saul Wold
Ping on this patch? It has been tested with a variety of shells (sh, bash, dash, ash).  Is there any further concerns? Sau! On Wed, 2017-06-14 at 07:03 -0700, Saul Wold wrote: > When the kernel's menuconfig target is called while using the esdk or > an > esdk-based container, the pkg-config

[OE-core] [PATCHv2 1/2] libdnf: update to 0.9.1

2017-06-20 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/libdnf/{libdnf_git.bb => libdnf_0.9.1.bb} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename meta/recipes-devtools/libdnf/{libdnf_git.bb => libdnf_0.9.1.bb} (94%) diff --git

[OE-core] [PATCHv2 2/2] dnf: update to 2.5.1

2017-06-20 Thread Alexander Kanavin
Drop 0001-Revert-proper-check-of-releasever-when-using-install.patch as the problem has been solved upstream. Signed-off-by: Alexander Kanavin --- ...er-check-of-releasever-when-using-install.patch | 105 - .../dnf/{dnf_git.bb =>

Re: [OE-core] [Openembedded-architecture] OE-Core/Yocto Project's first CVE (CVE-2017-9731)

2017-06-20 Thread Paul Eggleton
On Tuesday, 20 June 2017 3:27:15 PM CEST you wrote: > On 2017-06-20 04:30 AM, Paul Eggleton wrote: > > On Monday, 19 June 2017 5:31:10 PM CEST Sean Hudson wrote: > >> On 2017-06-19 09:05 AM, Mark Hatle wrote: > >>> It would be reasonable to write up a 'best practices' type document. > >>>

Re: [OE-core] [Openembedded-architecture] OE-Core/Yocto Project's first CVE (CVE-2017-9731)

2017-06-20 Thread Sean Hudson
On 2017-06-20 04:30 AM, Paul Eggleton wrote: > On Monday, 19 June 2017 5:31:10 PM CEST Sean Hudson wrote: >> On 2017-06-19 09:05 AM, Mark Hatle wrote: >>> It would be reasonable to write up a 'best practices' type document. >>> Explaining that simply due to the nature of building many of these

[OE-core] [PATCH 2/2] dnf: update to 2.5.1

2017-06-20 Thread Alexander Kanavin
Drop 0001-Revert-proper-check-of-releasever-when-using-install.patch as the problem has been solved upstream. Signed-off-by: Alexander Kanavin --- ...er-check-of-releasever-when-using-install.patch | 105 -

[OE-core] [PATCH 1/2] libdnf: update to 0.9.1

2017-06-20 Thread Alexander Kanavin
Signed-off-by: Alexander Kanavin --- meta/recipes-devtools/libdnf/libdnf_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/libdnf/libdnf_git.bb b/meta/recipes-devtools/libdnf/libdnf_git.bb index

Re: [OE-core] [PATCH 3/3 v2] meta: Fix return value checks from subprocess.call()'s

2017-06-20 Thread Mikko.Rapeli
Hi, On Thu, Jun 01, 2017 at 06:53:14PM +0300, Mikko Rapeli wrote: > Python function subprocess.call() returns the return value of the > executed process. If return values are not checked, errors may > go unnoticed and bad things can happen. > > Change all callers of subprocess.call() which do

Re: [OE-core] [PATCH v3] image_types.bbclass: Prompt error message on missing setting in UBI and UBIFS

2017-06-20 Thread Andrea Adami
On Mon, Jun 19, 2017 at 9:36 PM, wrote: > From: Choong YinThong > > Prompt error message to guide user add argument > MKUBIFS_ARGS and UBINIZE_ARGS in local.conf on > every UBI and UBIFS image creation. > > [YOCTO #11589] > >

[OE-core] [PATCH 2/2] lib/oe/distro_check: drop Mandriva from create_distro_packages_list()

2017-06-20 Thread Joshua Lock
Mandriva is no longer maintained, with its last release having been in 2011. It's no longer useful as a yard-stick distro, therefore drop it from distro_check.create_distro_packages_list() Signed-off-by: Joshua Lock --- meta/lib/oe/distro_check.py | 8 1 file

[OE-core] [PATCH 1/2] lib/oe/distro_check: update openSUSE to use Leap url formats

2017-06-20 Thread Joshua Lock
Since openSUSE switched to their dual development model of Leap and Tumbleweed the urls we need to check for package lists has changed. Update get_latest_released_opensuse_source_package_list() to use the new Leap urls. Signed-off-by: Joshua Lock ---

Re: [OE-core] [Openembedded-architecture] OE-Core/Yocto Project's first CVE (CVE-2017-9731)

2017-06-20 Thread Paul Eggleton
On Monday, 19 June 2017 5:31:10 PM CEST Sean Hudson wrote: > On 2017-06-19 09:05 AM, Mark Hatle wrote: > > It would be reasonable to write up a 'best practices' type document. > > Explaining that simply due to the nature of building many of these things > > will be 'leaked' and where some of them

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

2017-06-20 Thread Ulrich Ölmann
On Tue, May 23, 2017 at 03:37:16PM +0100, Burton, Ross wrote: > On 7 May 2017 at 02:33, Joshua Watt wrote: > > diff --git a/meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service > > b/meta/recipes-connectivity/openssh/openssh/sshdgenkeys.service > > index

[OE-core] [PATCH] connman: fix build-time warning with sysvinit

2017-06-20 Thread Maxin B. John
Due to recent modifications related to systemd, sysvinit builds began to show this warning: WARNING: connman-1.34-r0 do_package: connman: NOT adding alternative provide /etc/resolv.conf: /etc/resolv-conf.connman does not exist Fix this warning by making those updates specific to systemd.

Re: [OE-core] [PATCH 4/4] wic: fix restoring of original fstab

2017-06-20 Thread Diego Rondini
Hi Ed, > Wic updates fstab if mount points are specified in .wks. > After partition images are created the original fstab is restored. > However, if exception is raised when partition image being prepared > wic doesn't restore original fstab. This can cause duplication of > added lines in fstab

[OE-core] [PATCH v3 1/4] package.py: Add function strip_execs

2017-06-20 Thread Tobias Hagelborn
Strip all executables in a directory. Utility function placed in oe-package together with run_strip. strip_execs is based on strip_sysroot from staging.bbclass Moving out datastore references in favor of function parameters. Signed-off-by: Tobias Hagelborn ---

[OE-core] [PATCH v3 3/4] package.py: strip_execs: Support for .ko modules

2017-06-20 Thread Tobias Hagelborn
* Support stripping of .ko modules verifying file extension and check of content "vermagic=" * Minor refactoring (removing lint errors) Signed-off-by: Tobias Hagelborn --- meta/lib/oe/package.py | 44 +--- 1 file changed, 25

[OE-core] [PATCH v3 4/4] devtool: deploy-target: Support stripped libs and execs

2017-06-20 Thread Tobias Hagelborn
New devtool deploy-target option --strip which enables deploying stripped binaries, saving some space on target. * Copies the files of ${D} into a new directory and strips them in place * Used oe.package.strip_execs for stripping directory * Added devtool.conf option "strip" for changing default

[OE-core] [PATCH v3 2/4] staging.bbclass: Make use of oe.package.strip_execs

2017-06-20 Thread Tobias Hagelborn
Make use of the library function oe.package.strip_execs for stripping sysroot executables. oe.packge.strip_execs is based on code previously residing in sysroot_strip. Signed-off-by: Tobias Hagelborn --- meta/classes/staging.bbclass | 108