Re: [OE-core] [PATCH] mtd-utils: Upgrade to 2.0.0

2017-03-02 Thread Patrick Ohly
quot;Upstream-Status: Pending") That's the problem with "Pending" - it doesn't really mean that the original author has specific plans in place to get the patches upstream, and because there's no systematic tracking of "Pending" patches there's also no pressure to do so o

Re: [OE-core] [PATCH 3/3] rm_work.bbclass: clean up sooner

2017-03-02 Thread Patrick Ohly
_rm_work at the end is a bit unexpected, I thought it added all tasks of a recipe in sequence. As a result of that, the reordered completion priorities do not have quilt-native_0.65.bb:do_rm_work quite as high as it would be otherwise. I don't think it matters in practice, though. -- Bes

Re: [OE-core] [PATCH 3/3] rm_work.bbclass: clean up sooner

2017-03-02 Thread Patrick Ohly
On Wed, 2017-03-01 at 16:52 +0100, Martin Jansa wrote: > On Thu, Feb 16, 2017 at 11:26:54AM +0100, Patrick Ohly wrote: > > On Wed, 2017-02-15 at 19:32 +0100, Martin Jansa wrote: > > > Are all changes necessary for this to work already in master? > > > > Yes. >

Re: [OE-core] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-03-01 Thread Patrick Ohly
On Wed, 2017-03-01 at 16:01 +, Richard Purdie wrote: > On Wed, 2017-03-01 at 16:51 +0100, Patrick Ohly wrote: > > On Wed, 2017-03-01 at 15:12 +, Richard Purdie wrote: > > > > > > On Wed, 2017-03-01 at 08:10 +0100, Patrick Ohly wrote: > > > &g

Re: [OE-core] [PATCH 3/3] rm_work.bbclass: clean up sooner

2017-03-01 Thread Patrick Ohly
On Wed, 2017-03-01 at 16:52 +0100, Martin Jansa wrote: > On Thu, Feb 16, 2017 at 11:26:54AM +0100, Patrick Ohly wrote: > > On Wed, 2017-02-15 at 19:32 +0100, Martin Jansa wrote: > > > Are all changes necessary for this to work already in master? > > > > Yes. >

Re: [OE-core] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-03-01 Thread Patrick Ohly
On Wed, 2017-03-01 at 15:12 +, Richard Purdie wrote: > On Wed, 2017-03-01 at 08:10 +0100, Patrick Ohly wrote: > > Is the "build single distro for different machines" scenario that I > > described part of the Yocto Compliance 2.0? Should there be tests for > > i

Re: [OE-core] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-02-28 Thread Patrick Ohly
On Wed, 2017-03-01 at 04:00 +, Richard Purdie wrote: > On Tue, 2017-02-28 at 21:09 +0100, Patrick Ohly wrote: > > On Mon, 2017-02-20 at 15:12 -0600, Aníbal Limón wrote: > > > > > > common.test_signatures: Test executed in BSP and DISTRO layers to > >

Re: [OE-core] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-02-28 Thread Patrick Ohly
On Tue, 2017-02-28 at 14:33 -0600, Aníbal Limón wrote: > > On 02/28/2017 02:09 PM, Patrick Ohly wrote: > > On Mon, 2017-02-20 at 15:12 -0600, Aníbal Limón wrote: > >> common.test_signatures: Test executed in BSP and DISTRO layers to review > >> doesn't c

Re: [OE-core] [PATCHv2] yocto-compat-layer.py: Add script to YP Compatible Layer validation

2017-02-28 Thread Patrick Ohly
_samesigs in sstatetests.py, has the same limitation of its scope, i.e. doesn't actually test with real machine definitions. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent In

Re: [OE-core] [PATCH 0/4] Add dummy tools to help identify needed dependencies

2017-02-28 Thread Patrick Ohly
it'll remain uncertain how complete it is. As it is fairly simple, it's probably worth merging until someone has the time to investigate the whitelisting approach further. Richard had some code for it in some of his experimental branches. -- Best Regards, Patrick Ohly The content of this mes

Re: [OE-core] how to *securely* do a remote install of an OE image?

2017-02-28 Thread Patrick Ohly
l: "Compatible with OpenSSH ~/.ssh/authorized_keys public key authentication" -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel'

Re: [OE-core] how to *securely* do a remote install of an OE image?

2017-02-28 Thread Patrick Ohly
ny > pointers? For ssh keys, there's rootfsdebugfiles.bbclass. In local.conf: INHERIT += "rootfsdebugfiles" ROOTFS_DEBUG_FILES += "/home/pohly/.ssh/id_rsa.pub ${IMAGE_ROOTFS}/home/root/.ssh/authorized_keys ;" This copies my id_rsa.pub into authorized_keys and thus let's me log i

Re: [OE-core] [PATCH] runqemu: avoid overridden user input for bootparams

2017-02-28 Thread Patrick Ohly
dded by the script. This way user input has priority over runqemu's > default params. Presumably the user's bootparams then would include "ip="? Either way, the change looks good to me. I did something similar for the qemu parameters in "runqemu: let command line parameters ove

Re: [OE-core] style suggestions for that whole "_append" and leading space thing

2017-02-28 Thread Patrick Ohly
ns('TUNE_FEATURES', 'e6500', 'qemu-usermode', '', > d)}" The existing line is better because it avoids adding a space when nothing needs to be added. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of I

Re: [OE-core] Patchwork not picking changes from the ML

2017-02-24 Thread Patrick Ohly
On Fri, 2017-02-24 at 15:33 +0100, Gary Thomas wrote: > On 2017-02-24 15:21, Patrick Ohly wrote: > > On Wed, 2017-02-22 at 15:56 -0600, Jose Lamego wrote: > >> > >> On 02/22/2017 02:55 PM, Michael Halstead wrote: > >>> I've seen several issues with

Re: [OE-core] Patchwork not picking changes from the ML

2017-02-24 Thread Patrick Ohly
ers and Patchwork itself It still relies on the original submitter to watch out for breakages in the processes, but I guess that can't be avoided with an asynchronous, mail-based process. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am a

[OE-core] [PATCH v2] ovmf: increase path length limit

2017-02-23 Thread Patrick Ohly
The VfrCompile tool has a hard-coded maximum length for path names which turned out to be too small by around 20 characters in the Yocto autobuilder setup. Increasing the maximum by a factor of 4 is relatively easy and makes the problem less likely. Signed-off-by: Patrick Ohly <patric

Re: [OE-core] [PATCH 2/2] ovmf: increase path length limit

2017-02-23 Thread Patrick Ohly
On Thu, 2017-02-23 at 18:48 +0100, Patrick Ohly wrote: > The VfrCompile tool has a hard-coded maximum length for path names > which turned out to be too small by around 20 characters in the > Yocto autobuilder setup. Increasing the maximum by a factor of 4 > is relatively ea

[OE-core] [PATCH 1/2] acpica: fix compilation with musl

2017-02-23 Thread Patrick Ohly
Manipulating stderr after freopen() fails as done by upstream does not work with musl. The replacement is Unix specific and uses open()/dup2(). Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-extended/acpica/acpica_20150515.bb| 1 + .../files/manipulate-fds-i

[OE-core] [PATCH 2/2] ovmf: increase path length limit

2017-02-23 Thread Patrick Ohly
The VfrCompile tool has a hard-coded maximum length for path names which turned out to be too small by around 20 characters in the Yocto autobuilder setup. Increasing the maximum by a factor of 4 is relatively easy and makes the problem less likely. Signed-off-by: Patrick Ohly <patric

Re: [OE-core] [PATCH v5 03/12] ovmf: move from meta-luv to OE-core

2017-02-23 Thread Patrick Ohly
On Fri, 2017-02-17 at 18:04 -0800, Khem Raj wrote: > On 17-02-17 13:10:56, Richard Purdie wrote: > > On Fri, 2017-01-27 at 16:30 +0100, Patrick Ohly wrote: > > > From: meta-luv <l...@lists.01.org> > > > > > > This is an unmodified copy of > > &g

Re: [OE-core] [PATCH 0/6] wic: fix for #11017

2017-02-23 Thread Patrick Ohly
On Tue, 2017-02-21 at 17:23 +0200, Ed Bartosh wrote: > This patchset improves handling of wic native tool dependencies and > fixes minor bugs in the wic code. I haven't tested it, but the patches themselves look good to me. Thanks! -- Best Regards, Patrick Ohly The content of this m

Re: [OE-core] Recipe specific sysroot: handling recipes creating same files

2017-02-20 Thread Patrick Ohly
ot definitely needs to be improved. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authoriz

Re: [OE-core] Does recipe specific sysrooot (or whatelse in current oe) break native dependencies?

2017-02-20 Thread Patrick Ohly
On Sun, 2017-02-19 at 14:26 -0800, Richard Purdie wrote: > On Tue, 2017-02-14 at 11:26 +0100, Patrick Ohly wrote: > > My testing was flawed: in addition to the RDEPENDS there also was a > > DEPENDS with the same entry, and despite what was said earlier about > > build depende

Re: [OE-core] [PATCH] native.bbclass: populate native recipe with it's files

2017-02-20 Thread Patrick Ohly
On Sun, 2017-02-19 at 10:47 -0800, Richard Purdie wrote: > On Fri, 2017-02-17 at 08:25 +0100, Patrick Ohly wrote: > > On Thu, 2017-02-16 at 15:46 -0800, Saul Wold wrote: > > > > > > This allows a native package's recipe-sysroot-native to be > > > populated w

Re: [OE-core] [PATCH v5 03/12] ovmf: move from meta-luv to OE-core

2017-02-18 Thread Patrick Ohly
Hello Ricardo, another issue with the UEFI recipes. See also Khem's comment (attached). Bye, Patrick On Fri, 2017-02-17 at 13:10 -0800, Richard Purdie wrote: > On Fri, 2017-01-27 at 16:30 +0100, Patrick Ohly wrote: > > From: meta-luv <l...@lists.01.org> > > > >

Re: [OE-core] [PATCH v5 01/12] acpica: move from meta-oe to OE-core

2017-02-18 Thread Patrick Ohly
Hello Ricardo, can you perhaps help? I'm traveling next week and don't have much time. Thanks, Patrick On Fri, 2017-02-17 at 13:13 -0800, Richard Purdie wrote: > On Fri, 2017-01-27 at 16:30 +0100, Patrick Ohly wrote: > > From: Fathi Boudra <fathi.bou...@linaro.org> > &

[OE-core] [PATCH] libarchive: fix bzip2 dependency for native build

2017-02-17 Thread Patrick Ohly
. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-extended/libarchive/libarchive_3.2.2.bb | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta/recipes-extended/libarchive/libarchive_3.2.2.bb b/meta/recipes-extended/libarchive/libarchive_3.2.2.bb

Re: [OE-core] Running task for all recipes required by an image (was Re: [PATCH v2 3/3] rm_work.bbclass: clean up sooner)

2017-02-17 Thread Patrick Ohly
On Fri, 2017-02-17 at 15:21 +, Mike Crowe wrote: > On Monday 13 February 2017 at 11:54:32 +0100, Patrick Ohly wrote: > > On Fri, 2017-02-10 at 18:32 +, Mike Crowe wrote: > > > On Thursday 09 February 2017 at 17:24:39 +0100, Patrick Ohly wrote: > > > > On

Re: [OE-core] [PATCH] native.bbclass: populate native recipe with it's files

2017-02-16 Thread Patrick Ohly
intending to be used like that also needs to exclude itself from do_rm_work: RM_WORK_EXCLUDE += "${PN}" Or perhaps more selectively exclude the RSS: RM_WORK_EXCLUDE_ITEMS += "recipe-sysroot-native" (is there a variable for this name?) -- Best Regards, Patrick Ohly The conten

Re: [OE-core] [PATCH 3/3] rm_work.bbclass: clean up sooner

2017-02-16 Thread Patrick Ohly
WORK_TASKS_WHITELIST = "do_build do_package_qa" deps = set(bb.build.preceedtask('do_build', True, d)) whitelist = d.getVar('RM_WORK_TASKS_WHITELIST').split() deps.difference_update(whitelist) # In practice, addtask() here merely updates the dependencies. bb.build.add

Re: [OE-core] how to select for non-volatile /var/log?

2017-02-14 Thread Patrick Ohly
On Tue, 2017-02-14 at 10:12 -0500, Robert P. J. Day wrote: > On Tue, 14 Feb 2017, Patrick Ohly wrote: > > > On Tue, 2017-02-14 at 09:31 -0500, Robert P. J. Day wrote: > > > i recall, once upon a time, a discussion of how to best support a > > > non-volatile /var/lo

[OE-core] multipath-tools on arm (was: Re: State of bitbake world, Failed tasks 2017-02-08)

2017-02-14 Thread Patrick Ohly
est Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on

Re: [OE-core] how to select for non-volatile /var/log?

2017-02-14 Thread Patrick Ohly
lity is here: https://patchwork.openembedded.org/patch/90839/ -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on beh

Re: [OE-core] Does recipe specific sysrooot (or whatelse in current oe) break native dependencies?

2017-02-14 Thread Patrick Ohly
On Mon, 2017-02-13 at 18:03 +0100, Patrick Ohly wrote: > On Mon, 2017-02-13 at 16:24 +0100, Patrick Ohly wrote: > > On Mon, 2017-02-13 at 15:36 +0100, Martin Jansa wrote: > > > Hi Andreas, > > > > > > > > > I think it's feature which was already

Re: [OE-core] Does recipe specific sysrooot (or whatelse in current oe) break native dependencies?

2017-02-13 Thread Patrick Ohly
On Mon, 2017-02-13 at 18:03 +0100, Patrick Ohly wrote: > On Mon, 2017-02-13 at 16:24 +0100, Patrick Ohly wrote: > > On Mon, 2017-02-13 at 15:36 +0100, Martin Jansa wrote: > > > Hi Andreas, > > > > > > > > > I think it's feature which was already

Re: [OE-core] Does recipe specific sysrooot (or whatelse in current oe) break native dependencies?

2017-02-13 Thread Patrick Ohly
On Mon, 2017-02-13 at 16:24 +0100, Patrick Ohly wrote: > On Mon, 2017-02-13 at 15:36 +0100, Martin Jansa wrote: > > Hi Andreas, > > > > > > I think it's feature which was already there, but almost never > > triggered (even in test-dependencies.sh tests), b

Re: [OE-core] Does recipe specific sysrooot (or whatelse in current oe) break native dependencies?

2017-02-13 Thread Patrick Ohly
On Mon, 2017-02-13 at 16:32 +0100, Martin Jansa wrote: > On Mon, Feb 13, 2017 at 04:24:15PM +0100, Patrick Ohly wrote: > > On Mon, 2017-02-13 at 15:36 +0100, Martin Jansa wrote: > > > Hi Andreas, > > > > > > > > > I think it's feature which was al

Re: [OE-core] Does recipe specific sysrooot (or whatelse in current oe) break native dependencies?

2017-02-13 Thread Patrick Ohly
when "packaging" the native recipe wouldn't even produce that package). -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's posit

Re: [OE-core] [PATCH v2 3/3] rm_work.bbclass: clean up sooner

2017-02-13 Thread Patrick Ohly
On Mon, 2017-02-13 at 12:19 +, Mike Crowe wrote: > On Monday 13 February 2017 at 11:54:32 +0100, Patrick Ohly wrote: > > To me it seems like the right solution. Inheriting > > release-source.bbclass could be limited to builds which produce > > releases, for exa

Re: [OE-core] [PATCH v2 3/3] rm_work.bbclass: clean up sooner

2017-02-13 Thread Patrick Ohly
On Fri, 2017-02-10 at 18:32 +, Mike Crowe wrote: > On Thursday 09 February 2017 at 17:24:39 +0100, Patrick Ohly wrote: > > On Wed, 2017-02-08 at 13:48 +, Mike Crowe wrote: > > > On Wednesday 08 February 2017 at 14:04:42 +0100, Patrick Ohly wrote: > The part I'd missed

[OE-core] [PATCH] rootfspostcommands: remove shadow backup files instead of trying to sort

2017-02-10 Thread Patrick Ohly
Backup are files sometimes are inconsistent and then cannot be sorted (YOCTO #11043), and more importantly, are not needed in the initial rootfs, so they get deleted. Fixes: [YOCTO #11007] Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/lib/rootfspostcommands.p

Re: [OE-core] [PATCH v2 3/3] rm_work.bbclass: clean up sooner

2017-02-09 Thread Patrick Ohly
On Wed, 2017-02-08 at 13:48 +, Mike Crowe wrote: > On Wednesday 08 February 2017 at 14:04:42 +0100, Patrick Ohly wrote: > > On Wed, 2017-02-08 at 11:50 +, Mike Crowe wrote: > > > On Friday 13 January 2017 at 15:52:33 +0100, Patrick Ohly wrote: > > > > T

Re: [OE-core] [PATCH v2 3/3] rm_work.bbclass: clean up sooner

2017-02-08 Thread Patrick Ohly
On Wed, 2017-02-08 at 11:50 +, Mike Crowe wrote: > On Friday 13 January 2017 at 15:52:33 +0100, Patrick Ohly wrote: > > Having do_rm_work depend on do_build had one major disadvantage: > > do_build depends on the do_build of other recipes, to ensure that > > runtime depend

Re: [OE-core] (morty) Python exception during rootfs

2017-02-08 Thread Patrick Ohly
ake master, see commit 25df3db5 "build.py: avoid exception when function is not defined". Sorry, only now saw your original email. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in n

Re: [OE-core] whatever happened to a proposal for "read-only" sstate?

2017-02-03 Thread Patrick Ohly
On Fri, 2017-02-03 at 16:24 -0500, Robert P. J. Day wrote: > On Fri, 3 Feb 2017, Patrick Ohly wrote: > > > On Fri, 2017-02-03 at 14:14 -0500, Robert P. J. Day wrote: > > > is there a command that will tell you how much shared state info a > > > given build w

Re: [OE-core] whatever happened to a proposal for "read-only" sstate?

2017-02-03 Thread Patrick Ohly
-- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Inte

Re: [OE-core] host-user-contaminated QA check

2017-02-02 Thread Patrick Ohly
On Thu, 2017-02-02 at 13:11 -0600, Seebs wrote: > On Thu, 02 Feb 2017 18:17:29 +0100 > Patrick Ohly <patrick.o...@intel.com> wrote: > > > On Thu, 2017-02-02 at 11:12 -0600, Seebs wrote: > > > > But I find mapping to root:root more attractive because it make

Re: [OE-core] host-user-contaminated QA check

2017-02-02 Thread Patrick Ohly
On Thu, 2017-02-02 at 18:49 +0100, Enrico Scholz wrote: > Patrick Ohly <patrick.ohly-ral2jqcrhueavxtiumw...@public.gmane.org> > writes: > > > Recently the host-user-contaminated QA check triggered for the trousers > > recipe in meta-security: > > > > WARNING

Re: [OE-core] host-user-contaminated QA check

2017-02-02 Thread Patrick Ohly
the owner of the file is the same as the user who did the build, but because root isn't (normally) used for building, files accidentally owned by root on the target won't trigger the warning. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and a

Re: [OE-core] host-user-contaminated QA check

2017-02-02 Thread Patrick Ohly
On Thu, 2017-02-02 at 10:21 -0600, Seebs wrote: > On Thu, 02 Feb 2017 11:38:00 +0100 > Patrick Ohly <patrick.o...@intel.com> wrote: > > > Why do we make the real user ID on the build system visible at all > > when running under pseudo? The uid and user name have no mea

Re: [OE-core] [PATCH] libtasn1: depends on yacc

2017-02-02 Thread Patrick Ohly
On Wed, 2017-02-01 at 08:56 -0800, Khem Raj wrote: > > On 1/31/17 1:05 AM, Patrick Ohly wrote: > > This fixes a potential pollution by the build host and build error > > when yacc isn't installed on the build host: > > > > | ../../libtasn1-4.9/build-aux/ylwrap: lin

Re: [OE-core] potential bashism in guile_2.0.13.bb

2017-02-02 Thread Patrick Ohly
On Wed, 2017-02-01 at 09:03 -0800, Khem Raj wrote: > > On 1/31/17 4:29 AM, Patrick Ohly wrote: > > Hello! > > > > verify-bashisms (after some fixing of the script) reports: > > > > /work/iot-ref-kit/openembedded-core/meta/recipes-devtools/guile/g

[OE-core] host-user-contaminated QA check

2017-02-02 Thread Patrick Ohly
cp" where "install" would be better, and it might be slightly confusing at first when working under devshell. Any thoughts? Seebs, I suppose this wouldn't be hard to implement in pseudo, would it? -- Best Regards, Patrick Ohly The content of this message is my personal opinion onl

Re: [OE-core] [PATCH 1/4] selftest/buildoptions: use a thinner image to test 'read-only-rootfs' feature

2017-02-01 Thread Patrick Ohly
must work properly in a read-only rootfs configuration. So the test is partly for image creation, partly for the components, and thus more comprehensive when using a larger image. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, th

[OE-core] verify-bashisms + shellcheck (was: Re: [PATCH 0/8] verify-bashisms: fix script and one issue found by it)

2017-02-01 Thread Patrick Ohly
On Tue, 2017-01-31 at 13:50 +0100, Patrick Ohly wrote: > The script broke when introducing tinfoil2. The patches also include > several usability enhancements, like making the output less redundant > and including information about the actual file and line where the > offending script

[OE-core] [PATCH 7/8] populate_sdk_ext: fix == bashism

2017-01-31 Thread Patrick Ohly
Found via verify-bashisms. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/classes/populate_sdk_ext.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index 39e0c83..9

[OE-core] [PATCH 8/8] verify-bashisms: support warnings with more than one line of source code

2017-01-31 Thread Patrick Ohly
le-config.cross Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- scripts/verify-bashisms | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/scripts/verify-bashisms b/scripts/verify-bashisms index 7283980..dab64ef 100755 --- a/scripts/verify-

[OE-core] [PATCH 6/8] verify-bashisms: check scripts only once, include original file and line

2017-01-31 Thread Patrick Ohly
= a'): if [ "${SDK_INCLUDE_TOOLCHAIN}" == "1" -a ! -e $unfsd_path ] ; then possible bashism in install_tools line 521 (type): type fixme Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- scripts/verify-bashisms | 56 +++--- 1 file cha

[OE-core] [PATCH 4/8] verify-bashisms: fix problems with tinfoil2

2017-01-31 Thread Patrick Ohly
ore creating the pool to avoid: AttributeError: Can't get attribute 'func' on Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- scripts/verify-bashisms | 44 +++--- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/scripts/verify-bash

[OE-core] [PATCH 5/8] verify-bashisms: revise update-rc.d whitelist entry

2017-01-31 Thread Patrick Ohly
The actual code recently changed to: if ${@use_updatercd(d)} && type update-rc.d >/dev/null 2>/dev/null; then Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- scripts/verify-bashisms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/verif

[OE-core] [PATCH 2/8] verify-bashisms: point out where to get checkbashisms.pl

2017-01-31 Thread Patrick Ohly
installation. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- scripts/verify-bashisms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/verify-bashisms b/scripts/verify-bashisms index 1bda60c..28795f4 100755 --- a/scripts/verify-bashisms +++ b/scripts/verify-ba

[OE-core] [PATCH 3/8] verify-bashisms: explicitly shut down server

2017-01-31 Thread Patrick Ohly
Current tinfoil2 requires manually shutting down the server. Without that, the script hangs during exit. This might change in the future. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- scripts/verify-bashisms | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/verify-bash

[OE-core] [PATCH 1/8] verify-bashisms: fix typo

2017-01-31 Thread Patrick Ohly
Variable was renamed, it's now called "output". Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- scripts/verify-bashisms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/verify-bashisms b/scripts/verify-bashisms index a8f761d..1bda60c 1007

[OE-core] [PATCH 0/8] verify-bashisms: fix script and one issue found by it

2017-01-31 Thread Patrick Ohly
The script broke when introducing tinfoil2. The patches also include several usability enhancements, like making the output less redundant and including information about the actual file and line where the offending script can be found. Patrick Ohly (8): verify-bashisms: fix typo verify

[OE-core] potential bashism in guile_2.0.13.bb

2017-01-31 Thread Patrick Ohly
his looks rather strange to me and I've no idea how the Linux kernel will interpret that first shebang line, which literally ends in ...guile$ \ Is the content as intended? It builds, whatever that means. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only

[OE-core] [PATCH] libtasn1: depends on yacc

2017-01-31 Thread Patrick Ohly
This fixes a potential pollution by the build host and build error when yacc isn't installed on the build host: | ../../libtasn1-4.9/build-aux/ylwrap: line 175: yacc: command not found | Makefile:1116: recipe for target 'ASN1.c' failed | make[3]: *** [ASN1.c] Error 127 Signed-off-by: Patrick

Re: [OE-core] [PATCH v5 09/12] runqemu: also accept -image suffix for rootfs parameter

2017-01-30 Thread Patrick Ohly
On Mon, 2017-01-30 at 17:12 +, Bystricky, Juro wrote: > > > -Original Message- > > From: Patrick Ohly [mailto:patrick.o...@intel.com] > > Sent: Friday, January 27, 2017 11:22 AM > > To: Bystricky, Juro <juro.bystri...@intel.com> > > Cc: o

Re: [OE-core] [PATCH v5 09/12] runqemu: also accept -image suffix for rootfs parameter

2017-01-27 Thread Patrick Ohly
age-minimal ext4 qemux86 runqemu - ERROR - Can't handle two unknown args: core-image-minimal qemux86 runqemu - ERROR - Try 'runqemu help' on how to use it -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the stat

Re: [OE-core] [PATCH v4 05/12] ovmf: deploy firmware in image directory

2017-01-27 Thread Patrick Ohly
On Thu, 2017-01-26 at 19:25 -0800, Ricardo Neri wrote: > On Mon, 2017-01-23 at 08:45 +0100, Patrick Ohly wrote: > > > On the other hand, this is a new recipe and this may not be super > > > critical. Especially if you meant that only OVMF will not support > > >

[OE-core] [PATCH v5 12/12] ovmf: remove BGRT patch

2017-01-27 Thread Patrick Ohly
This patch was added to meta-luv for kernel testing purposes and probably is not relevant for OE-core. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-core/ovmf/ovmf/0001-OvmfPkg-Enable-BGRT-in-OVMF.patch

[OE-core] [PATCH v5 11/12] ovmf: build image which enrolls standard keys

2017-01-27 Thread Patrick Ohly
the initializer. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-core/ovmf/ovmf-shell-image.bb | 17 +- meta/recipes-core/ovmf/ovmf/0007-OvmfPkg-EnrollDefaultKeys-appli

[OE-core] [PATCH v5 10/12] runqemu: support UEFI with OVMF firmware

2017-01-27 Thread Patrick Ohly
s.qcow2 my-machine/ $ runqemu qemux86 qcow2 ovmf.code my-machine/ovmf.vars.qcow2 When Secure Boot was enabled in ovmf, one can pick that instead of the non-Secure-Boot enabled ovmf.code: $ runqemu qemux86 qcow2 ovmf.secboot.code my-machine/ovmf.vars.qcow2 Signed-off-by

[OE-core] [PATCH v5 09/12] runqemu: also accept -image suffix for rootfs parameter

2017-01-27 Thread Patrick Ohly
searches a bit (no need for re; any()+map() a bit closer to the intended logic). Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- scripts/runqemu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 17d79e9..4d7168c 100755 ---

[OE-core] [PATCH v5 07/12] ovmf_git.bb: enable Secure Boot

2017-01-27 Thread Patrick Ohly
ith it. In contrast to Fedora, no attempt is made to strip potentially patent encumbered algorithms out of the OpenSSL archive. OVMF does not use the ones considered problematic for Fedora, so this shouldn't be a problem. Fixes: luv-yocto/#38 Signed-off-by: Patrick Ohly <patrick.o...@intel

[OE-core] [PATCH v5 05/12] ovmf: deploy firmware in image directory

2017-01-27 Thread Patrick Ohly
eant to be used as flash drive in qemu. See the "runqemu: support UEFI with OVMF firmware" patch for details on how to use OVMF that way. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-core/ovmf/ovmf_git.bb | 42 ++- 1 file changed,

[OE-core] [PATCH v5 08/12] runqemu: fix undefined variable reference in check_arg_path()

2017-01-27 Thread Patrick Ohly
'arg' isn't defined, the right name there is 'p'. This fixes a rather obscure error message when that code path ends up being taken: $ runqemu some/existing-file-name runqemu - ERROR - name 'arg' is not defined runqemu - ERROR - Try 'runqemu help' on how to use it Signed-off-by: Patrick Ohly

[OE-core] [PATCH v5 06/12] ovmf_git.bb: enable parallel compilation

2017-01-27 Thread Patrick Ohly
] https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/edk2.spec Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-core/ovmf/ovmf_git.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-core/ovmf/ovmf_

[OE-core] [PATCH v5 03/12] ovmf: move from meta-luv to OE-core

2017-01-27 Thread Patrick Ohly
From: meta-luv <l...@lists.01.org> This is an unmodified copy of github.com/01org/luv-yocto/meta-luv/recipes-core/ovmf revision 4be4329. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-core/ovmf/ovmf/0001-BaseTools-Force-tools-variables-to-host-toolchain.pa

[OE-core] [PATCH v5 04/12] ovmf: explicitly depend on nasm-native

2017-01-27 Thread Patrick Ohly
Fixes a build issue when nasm was not build already because of something else. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-core/ovmf/ovmf_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/ovmf/ovmf_git.bb b/meta/recipes-cor

[OE-core] [PATCH v5 02/12] acpica: work around flex 2.6.2 code generation issue

2017-01-27 Thread Patrick Ohly
in flex is the easiest solution for now. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-extended/acpica/acpica_20150515.bb | 1 + meta/recipes-extended/acpica/files/rename-yy_scan_string-manually.patc

[OE-core] [PATCH v5 00/12] UEFI + Secure Boot + qemu

2017-01-27 Thread Patrick Ohly
rent master (for real, this time!) - reordered patches a bit Changes since V4: - revised the commit message of "ovmf: deploy firmware in image directory" to clarify expected usage Fathi Boudra (1): acpica: move from meta-oe to OE-core Patrick Ohly (10): acpica: work around fle

[OE-core] [PATCH v5 01/12] acpica: move from meta-oe to OE-core

2017-01-27 Thread Patrick Ohly
m meta-openembedded rev fa65be9ba (current master). Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-extended/acpica/acpica_20150515.bb | 46 +- meta/recipes-extended/acpica/acpitests/aapits-linux.patch| 336 +++- meta/recipes-extended/acpica/acpi

Re: [OE-core] sysroots, wic-tools and rm_work

2017-01-27 Thread Patrick Ohly
to fix locally by adding > > RM_WORK_EXCLUDE = "wic-tools" > > however, I think this deserves a more permanent fix, and I'm not sure > which approach is best. wic-tools.bb can have: RM_WORK_EXCLUDE += "${PN}" -- Best Regards, Patrick Ohly The content of this mes

[OE-core] [PATCH v2] image_types.bbclass: rebuild .wks file when .wks.in changes

2017-01-25 Thread Patrick Ohly
skhash mismatch ... for bb.do_write_wks_template" Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/classes/image_types.bbclass | 4 1 file changed, 4 insertions(+) diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 5b1746a68ce..50545d9fdf0

[OE-core] [PATCH] image_types.bbclass: rebuild .wks file when .wks.in changes

2017-01-25 Thread Patrick Ohly
skhash mismatch ... for bb.do_write_wks_template" Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/classes/image_types.bbclass | 4 1 file changed, 4 insertions(+) diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 5b1746a68ce..9bc1996cdb0

Re: [OE-core] [PATCHv2] qemu: Upgrade to 2.7.1

2017-01-23 Thread Patrick Ohly
On Mon, 2017-01-23 at 16:01 +0200, Alexander Kanavin wrote: > On 01/20/2017 09:44 PM, Patrick Ohly wrote: > > > In contrast to Alexander, I would also keep > > http://wiki.qemu-project.org/download/${BP}.tar.bz2 in qemu_2.7.1.bb > > with SRC_URI =+ because then th

[OE-core] [PATCH 2/2] socat: support native compilation

2017-01-23 Thread Patrick Ohly
This is needed for building the swtpm TPM simulator (recipe in meta-security). Native compilation disables tcp-wrappers by default to simplify the build. "nativesdk" is added just in case that someone also wants this in an SDK. Signed-off-by: Patrick Ohly <patrick.o...@intel.c

[OE-core] [PATCH 1/2] expect: support native compilation

2017-01-23 Thread Patrick Ohly
This is needed for building the swtpm TPM simulator (recipe in meta-security). "nativesdk" is added just in case that someone also wants this in an SDK. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-devtools/expect/expect_5.45.bb | 9 - 1

[OE-core] [PATCH 0/2] enable swtpm-native

2017-01-23 Thread Patrick Ohly
swtpm (from meta-security) can be compiled for the host and then be used to provide a virtual TPM device in qemu. However, it depends on the native flavor of some recipes in OE-core. Patrick Ohly (2): expect: support native compilation socat: support native compilation meta/recipes

[OE-core] [PATCH] runqemu: more verbose error message about missing qemuboot.conf

2017-01-23 Thread Patrick Ohly
c/deploy/images/intel-corei7-64/core-image-mimimal-intel-corei7-64.qemuboot.conf (wrong image name or BSP does not support running under qemu?). The comment about the BSP is included because that would be the real reason why the file might be missing. Signed-off-by: Patrick Ohly <patrick.o...@i

Re: [OE-core] [PATCH v4 05/12] ovmf: deploy firmware in image directory

2017-01-22 Thread Patrick Ohly
On Sun, 2017-01-22 at 23:23 -0800, Ricardo Neri wrote: > On Fri, 2017-01-20 at 15:12 +0100, Patrick Ohly wrote: > > The traditional usage of ovmf via the qemu bios parameter is no longer > > supported > > I don't see dropping support for this option in this series. >

Re: [OE-core] [PATCHv3] qemu: Upgrade to 2.7.1

2017-01-22 Thread Patrick Ohly
/wiki.qemu-project.org/download/${BP}.tar.bz2; > + > +SRC_URI[md5sum] = "a315bc51ed443a08d2cf1416d76b9ab4" > +SRC_URI[sha256sum] = > "68636788eb69bcb0b44ba220b32b50495d6bd5712a934c282217831c4822958f" Looks good to me, thanks. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and al

Re: [OE-core] [PATCHv2] qemu: Upgrade to 2.7.1

2017-01-20 Thread Patrick Ohly
1.bb. At least that's how I would do it. In contrast to Alexander, I would also keep http://wiki.qemu-project.org/download/${BP}.tar.bz2 in qemu_2.7.1.bb with SRC_URI =+ because then there can be a qemu_git.bb with a different URL than the one above. -- Best Regards, Patrick Ohly The content of this me

Re: [OE-core] [PATCH v4 02/12] acpica: work around flex 2.6.2 code generation issue

2017-01-20 Thread Patrick Ohly
On Fri, 2017-01-20 at 15:12 +0100, Patrick Ohly wrote: > Without this patch, linking fails with a missing implementation of > yy_scan_string. This looks like a regression in flex, because 2.6.0 generated > different code that called PrParser_scan_string > resp. DtParser_scan_string.

[OE-core] [PATCH v4 03/12] ovmf: move from meta-luv to OE-core

2017-01-20 Thread Patrick Ohly
From: meta-luv <l...@lists.01.org> This is an unmodified copy of github.com/01org/luv-yocto/meta-luv/recipes-core/ovmf revision 4be4329. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-core/ovmf/ovmf/0001-BaseTools-Force-tools-variables-to-host-toolchain.pa

[OE-core] [PATCH v4 09/12] runqemu: also accept -image suffix for rootfs parameter

2017-01-20 Thread Patrick Ohly
searches a bit (no need for re; any()+map() a bit closer to the intended logic). Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- scripts/runqemu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 17d79e9..4d7168c 100755 ---

[OE-core] [PATCH v4 11/12] ovmf: build image which enrolls standard keys

2017-01-20 Thread Patrick Ohly
the initializer. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-core/ovmf/ovmf-shell-image.bb | 17 +- meta/recipes-core/ovmf/ovmf/0007-OvmfPkg-EnrollDefaultKeys-appli

[OE-core] [PATCH v4 12/12] ovmf: remove BGRT patch

2017-01-20 Thread Patrick Ohly
This patch was added to meta-luv for kernel testing purposes and probably is not relevant for OE-core. Signed-off-by: Patrick Ohly <patrick.o...@intel.com> --- meta/recipes-core/ovmf/ovmf/0001-OvmfPkg-Enable-BGRT-in-OVMF.patch

[OE-core] [PATCH v4 10/12] runqemu: support UEFI with OVMF firmware

2017-01-20 Thread Patrick Ohly
s.qcow2 my-machine/ $ runqemu qemux86 qcow2 ovmf.code my-machine/ovmf.vars.qcow2 When Secure Boot was enabled in ovmf, one can pick that instead of the non-Secure-Boot enabled ovmf.code: $ runqemu qemux86 qcow2 ovmf.secboot.code my-machine/ovmf.vars.qcow2 Signed-off-by

<    1   2   3   4   5   6   7   8   >