[OE-core] runqemu + dhcp server

2014-11-04 Thread Patrick Ohly
s for details. -- 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 Intel on this matt

Re: [OE-core] runqemu + dhcp server

2014-11-07 Thread Patrick Ohly
Adrian Freihofer writes: > Personally I would prefer a slightly different implementation. > I consider the 192.168.7.2 network interface as development, debugging > and testing interface which should just work. Agreed, and it doesn't work at the moment when the image has an Ethernet configuration

Re: [OE-core] runqemu + dhcp server

2014-11-11 Thread Patrick Ohly
On Wed, 2014-11-05 at 16:29 +, Burton, Ross wrote: > On 4 November 2014 08:09, Patrick Ohly wrote: > Recently I built a custom image which depended on a DHCP > server to > configure Ethernet. runqemu with tap for networking doesn't > prov

[OE-core] [master][dizzy][PATCH 2/2] binconfig-disabled: install config scripts in sysroot

2015-01-23 Thread Patrick Ohly
pcre-config from the host, because later during do_compile the patched configure.ac is used to re-generate configure. Signed-off-by: Patrick Ohly --- meta/classes/binconfig-disabled.bbclass | 10 ++ 1 file changed, 10 insertions(+) diff --git a/meta/classes/binconfig-disabled.bbclass b

[OE-core] [master][dizzy][PATCH 0/2] swig + pcre-config

2015-01-23 Thread Patrick Ohly
ng to modify swig, but might also be a bit too intrusive for the stable series. Patrick Ohly (2): binconfig-disabled: try harder to prevent usage of config scripts binconfig-disabled: install config scripts in sysroot meta/classes/binconfig-disabled.bbclass | 13 + 1 file change

[OE-core] [master][dizzy][PATCH 1/2] binconfig-disabled: try harder to prevent usage of config scripts

2015-01-23 Thread Patrick Ohly
ry is available indirectly. Returning some nonsense command line arguments covers such cases, because using them will definitely lead to errors during compilation. The faked arguments were chosen such that these errors can be linked back to the root cause. Signed-off-by: Patrick Ohly --- meta/cl

Re: [OE-core] runqemu + dhcp server

2015-02-17 Thread Patrick Ohly
ured, but /etc/resolv.conf is missing, so ptests like the one for wget fail because www.google.com cannot be resolved. This was without the DHCP server patches. My expectation is that bringing up eth0 with DHCP-supplied information about DNS servers would have created (or could be made to create) resol

[OE-core] [PATCH] package_rpm.bbclass: support packaging of symlinks to directories

2015-02-17 Thread Patrick Ohly
The fix is simple: find such special directory entries and move them to the "files" list. Signed-off-by: Patrick Ohly --- meta/classes/package_rpm.bbclass | 7 +++ 1 file changed, 7 insertions(+) diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass in

Re: [OE-core] [PATCH] package_rpm.bbclass: support packaging of symlinks to directories

2015-02-18 Thread Patrick Ohly
On Tue, 2015-02-17 at 08:55 -0700, Christopher Larson wrote: > > On Tue, Feb 17, 2015 at 6:42 AM, Patrick Ohly > wrote: > +# Treat all symlinks to directories as normal > files. > +# os.walk() lists them as directories. >

Re: [OE-core] [PATCH] package_rpm.bbclass: support packaging of symlinks to directories

2015-02-18 Thread Patrick Ohly
reading it. > > > > Ok.. I missed that bit.. I'm still curious what this fixes. > > > > I haven't tried myself, but I expect it helps with the /usr merge. Correct. I was working on a distro with a modified basefiles recipe which only had /usr/[lib|bin|sbin] and

Re: [OE-core] [PATCH] package_rpm.bbclass: support packaging of symlinks to directories

2015-02-18 Thread Patrick Ohly
On Wed, 2015-02-18 at 09:43 +0100, Patrick Ohly wrote: > On Tue, 2015-02-17 at 08:55 -0700, Christopher Larson wrote: > > > > On Tue, Feb 17, 2015 at 6:42 AM, Patrick Ohly > > wrote: > > +# Treat all symlinks to directories

[OE-core] [PATCH v2] package_rpm.bbclass: support packaging of symlinks to directories

2015-02-25 Thread Patrick Ohly
/sbin /lib and /sbin. Signed-off-by: Patrick Ohly --- meta/classes/package_rpm.bbclass | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 4f9f813..e305e8b 100644 --- a/meta/classes/package_rp

[OE-core] [PATCH v3] package_rpm.bbclass: support packaging of symlinks to directories

2015-02-25 Thread Patrick Ohly
/sbin /lib and /sbin. Signed-off-by: Patrick Ohly --- meta/classes/package_rpm.bbclass | 10 ++ 1 file changed, 10 insertions(+) diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index b87e634..e305e8b 100644 --- a/meta/classes/package_rpm.bbclas

Re: [OE-core] [PATCH v2] package_rpm.bbclass: support packaging of symlinks to directories

2015-02-25 Thread Patrick Ohly
On Wed, 2015-02-25 at 06:51 -0800, Patrick Ohly wrote: > diff --git a/meta/classes/package_rpm.bbclass > b/meta/classes/package_rpm.bbclass > index 4f9f813..e305e8b 100644 > --- a/meta/classes/package_rpm.bbclass > +++ b/meta/classes/package_rpm.bbclass > @@ -199,10

Re: [OE-core] [PATCH] mkefidisk: change filesystem to be writeable on grub

2015-03-03 Thread Patrick Ohly
hecking /etc/fstab, let us know. I ran into the same issue, albeit not with a genuine Poky image, so I didn't report it here. In my experience, even with a proper fstab ("defaults" for the rootfs or even "rw"), systemd-remount-fs never remounted / as rw. When googling,

[OE-core] [PATCH] combo-layer: let user choose where properties get updated

2015-03-09 Thread Patrick Ohly
;hb=refs/heads/tizen-ivi Signed-off-by: Patrick Ohly --- scripts/combo-layer | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/combo-layer b/scripts/combo-layer index 19d64e6..489d180 100755 --- a/scripts/combo-layer +++ b/scripts/combo-layer @@ -108,7 +108,9 @@ class

[OE-core] [PATCH] combo-layer: make Signed-off-by optional

2015-03-09 Thread Patrick Ohly
useful without it (searching for the person really only lists changes he or she was involved with) and it would be a false statement. This needs to be configurable, achieved with a new global "signoff" boolean property in combo-layer.conf, in the "DEFAULT" section. Signed-

[OE-core] [PATCH 0/2] combo-layer: exclude files

2015-03-10 Thread Patrick Ohly
top of the other two, independent patches to combo-layer that I posted yesterday. I can resend as a single patch series if that's preferred. Patrick Ohly (2): combo-layer: runcmd() with separate output combo-layer: exclude files scripts/combo-layer | 59

[OE-core] [PATCH 2/2] combo-layer: exclude files

2015-03-10 Thread Patrick Ohly
Some combined repos intentionally do not include certain files. For example, Poky does not include bitbake's setup files and OE-core's sample files under meta/conf. When these files get modified in the upstream repository, applying the patches fails and requires manual intervention. That is merely

[OE-core] [PATCH 1/2] combo-layer: runcmd() with separate output

2015-03-10 Thread Patrick Ohly
caller wants the content of stdout, it can read from the stream itself, which is not possible for the temporary stderr. Signed-off-by: Patrick Ohly --- scripts/combo-layer | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/scripts/combo-layer b/scripts/combo

Re: [OE-core] [PATCH] combo-layer: make Signed-off-by optional

2015-03-12 Thread Patrick Ohly
On Thu, 2015-03-12 at 18:21 +, Paul Eggleton wrote: > Hi Patrick, > > On Monday 09 March 2015 13:56:39 Patrick Ohly wrote: > > +# global options > > +[DEFAULT] > > + > > +# Add 'Signed-off-by' to all commits that get imported automatically. >

[OE-core] [PATCH 00/11] combo-layer enhancements

2015-03-13 Thread Patrick Ohly
er https://github.com/pohly/openembedded-core/tree/combo-layer Patrick Ohly (11): combo-layer: let user choose where properties get updated combo-layer: make Signed-off-by optional combo-layer: runcmd() with separate output combo-layer: exclude files combo-layer: update() also instanc

[OE-core] [PATCH 02/11] combo-layer: make Signed-off-by optional

2015-03-13 Thread Patrick Ohly
It depends on the diligence of the person running the combo-layer tool whether the Signed-off-by line added to each commit actually indicates that the person was involved in validating the change. When the import is purely automatic, it is better to not add the line, because the history is more us

[OE-core] [PATCH 06/11] combo-layer: init with full history

2015-03-13 Thread Patrick Ohly
is. This information should be sufficient to implement also "combo-layer update" using this approach, if desired. The advantage would be that merge commits with conflict resolution would not longer break the update. Signed-off-by: Patr

[OE-core] [PATCH 05/11] combo-layer: update() also instance property

2015-03-13 Thread Patrick Ohly
The Configuration class mirrors all properties in local hashes. When updating the configuration, also update these properties to remain consistent. Signed-off-by: Patrick Ohly --- scripts/combo-layer | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/combo-layer b/scripts/combo-layer

[OE-core] [PATCH 07/11] combo-layer: combine trees via replacement objects

2015-03-13 Thread Patrick Ohly
combined repository. If undesired, these objects can be removed with "git replace". Signed-off-by: Patrick Ohly --- scripts/combo-layer | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/combo-layer b/scripts/combo-layer index d11274e..6d24ce3 10

[OE-core] [PATCH 10/11] combo-layer-hook-default.sh: beware of embedded patches

2015-03-13 Thread Patrick Ohly
Signed-off-by. Signed-off-by: Patrick Ohly --- scripts/combo-layer-hook-default.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/combo-layer-hook-default.sh b/scripts/combo-layer-hook-default.sh index 9dd5aed..46f2b70 100755 --- a/scripts/combo-layer-hook-default.sh

Re: [OE-core] [PATCH] combo-layer: make Signed-off-by optional

2015-03-13 Thread Patrick Ohly
On Fri, 2015-03-13 at 08:57 +, Paul Eggleton wrote: > On Thursday 12 March 2015 20:45:32 Patrick Ohly wrote: > > On Thu, 2015-03-12 at 18:21 +, Paul Eggleton wrote: > > > On Monday 09 March 2015 13:56:39 Patrick Ohly wrote: > > > > +# gl

[OE-core] [PATCH 03/11] combo-layer: runcmd() with separate output

2015-03-13 Thread Patrick Ohly
caller wants the content of stdout, it can read from the stream itself, which is not possible for the temporary stderr. Signed-off-by: Patrick Ohly --- scripts/combo-layer | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/scripts/combo-layer b/scripts/combo

[OE-core] [PATCH 04/11] combo-layer: exclude files

2015-03-13 Thread Patrick Ohly
ite.conf.sample Signed-off-by: Patrick Ohly --- scripts/combo-layer | 42 +++- scripts/combo-layer.conf.example | 14 ++ 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/scripts/combo-layer b/scripts/combo-layer index 3ee9eb2

[OE-core] [PATCH 08/11] combo-layer: partial import for '--history init'

2015-03-13 Thread Patrick Ohly
is useful for hooks which do not extend the subject line. Signed-off-by: Patrick Ohly --- scripts/combo-layer | 40 scripts/combo-layer.conf.example | 13 + 2 files changed, 53 insertions(+) diff --git a/scripts/combo-layer b/sc

[OE-core] [PATCH 01/11] combo-layer: let user choose where properties get updated

2015-03-13 Thread Patrick Ohly
;hb=refs/heads/tizen-ivi Signed-off-by: Patrick Ohly --- scripts/combo-layer | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/combo-layer b/scripts/combo-layer index 851003d..71fa7b127 100755 --- a/scripts/combo-layer +++ b/scripts/combo-layer @@ -109,7 +109,9 @@

[OE-core] [PATCH 09/11] combo-layer-hook-default.sh: avoid duplicating prefix

2015-03-13 Thread Patrick Ohly
The existing patch might already have the desired prefix, perhaps even multiple times (due to some previous import error). Ensure that after the replace, the prefix is present exactly once. Signed-off-by: Patrick Ohly --- scripts/combo-layer-hook-default.sh | 2 +- 1 file changed, 1 insertion

[OE-core] [PATCH 11/11] combo-layer-hook-default.sh: handle patches without Signed-off-by

2015-03-13 Thread Patrick Ohly
's exactly one blank line since the last non-blank line. Signed-off-by: Patrick Ohly --- scripts/combo-layer-hook-default.sh | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/combo-layer-hook-default.sh b/scripts/combo-layer-hook-default.sh index 46f2b70.

[OE-core] systemd + run-postinsts.service

2015-03-23 Thread Patrick Ohly
Hello! I'm using systemd from OE-core master to boot core-image-minimal. I'm seeing a boot failure where "Run pending postinsts" (aka run-postinsts.service) gets stuck during booting under very specific circumstances: 1. The package has a pkg_postinst_${PN} which (intentionally) fail

Re: [OE-core] systemd + run-postinsts.service

2015-03-24 Thread Patrick Ohly
eady seems enough to prevent starting it at the time when run-postinsts.service runs. I guess the situation hasn't come up before. But when it does, it probably breaks systemd.bbclass for most services. I wonder whether --no-block should be added unconditionally to systemd.bblcass' "s

[OE-core] [PATCH 0/3] combo-layer + file_exclude

2015-03-27 Thread Patrick Ohly
+) are available in the git repository at: git://github.com/pohly/openembedded-core combo-layer https://github.com/pohly/openembedded-core/tree/combo-layer Patrick Ohly (3): combo-layer: clean up dest_dir checking combo-layer: fix file_exclude for dest_dir = . combo-layer: fix

[OE-core] [PATCH 3/3] combo-layer: fix file_exclude for empty commits

2015-03-27 Thread Patrick Ohly
with it. Signed-off-by: Patrick Ohly --- scripts/combo-layer | 4 1 file changed, 4 insertions(+) diff --git a/scripts/combo-layer b/scripts/combo-layer index a1fc6ac..1dce4a6 100755 --- a/scripts/combo-layer +++ b/scripts/combo-layer @@ -665,6 +665,10 @@ def action_update(conf, args

[OE-core] [PATCH 1/3] combo-layer: clean up dest_dir checking

2015-03-27 Thread Patrick Ohly
l the time and normalizing the path when needed (as done in some places), rewrite the value in sanity_check() and then only check for '.'. Signed-off-by: Patrick Ohly --- scripts/combo-layer | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/scripts/combo-

[OE-core] [PATCH 2/3] combo-layer: fix file_exclude for dest_dir = .

2015-03-27 Thread Patrick Ohly
es. Useful should the function ever gets used for something other that dest_dir (which gets normalized in sanity_check()). Signed-off-by: Patrick Ohly --- scripts/combo-layer | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/scripts/combo-layer b/scripts/combo-layer ind

Re: [OE-core] runqemu + dhcp server

2015-04-07 Thread Patrick Ohly
f config scripts patch". Perhaps dhcpd should get brought up together with tap0 in runqemu-ifup and kept running, instead of starting it on demand in runqemu-internal? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of In

[OE-core] [PATCH 1/3] oeqa/oetest.py: use bb logging

2015-04-09 Thread Patrick Ohly
: Patrick Ohly --- meta/lib/oeqa/oetest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta/lib/oeqa/oetest.py b/meta/lib/oeqa/oetest.py index 0b7e7dc..a3c5c1d 100644 --- a/meta/lib/oeqa/oetest.py +++ b/meta/lib/oeqa/oetest.py @@ -11,6 +11,7 @@ import os, re, mmap import

[OE-core] [PATCH 2/3] oeqa/runtime/systemd.py: skip instead of failing without avahi

2015-04-09 Thread Patrick Ohly
module, because other tests in the module can run without avavi. Signed-off-by: Patrick Ohly --- meta/lib/oeqa/runtime/systemd.py | 7 +++ 1 file changed, 7 insertions(+) diff --git a/meta/lib/oeqa/runtime/systemd.py b/meta/lib/oeqa/runtime/systemd.py index 5935edd..c74394c 100644 --- a/meta

[OE-core] [PATCH 0/3] testimage improvements

2015-04-09 Thread Patrick Ohly
nce commit 6333186e9764b2c269a2b3869956860fa8fde2b1: binutils: Fix packaging now gold is always built (2015-04-08 23:10:57 +0100) are available in the git repository at: git://github.com/pohly/openembedded-core master https://github.com/pohly/openembedded-core/tree/master Patrick Ohly (3): oeqa/oetest.py: use bb logg

[OE-core] [PATCH 3/3] testimage: sort modules based on dependencies

2015-04-09 Thread Patrick Ohly
that tests are not found and reordering does not happen. Signed-off-by: Patrick Ohly --- meta/classes/testimage.bbclass| 6 - meta/lib/oeqa/oetest.py | 56 --- meta/lib/oeqa/utils/decorators.py | 1 + 3 files changed, 59 insertions(+), 4 del

[OE-core] [PATCH 0/1] ssh host key

2015-04-13 Thread Patrick Ohly
aster https://github.com/pohly/openembedded-core/tree/master Patrick Ohly (1): rootfsdebugfiles.bbclass: quick-and-dirty installation of additional files meta/classes/rootfsdebugfiles.bbclass | 36 +++ 1 file changed, 36 insertions(+) create mode 100644

[OE-core] [PATCH 1/1] rootfsdebugfiles.bbclass: quick-and-dirty installation of additional files

2015-04-13 Thread Patrick Ohly
not be used for production images. Signed-off-by: Patrick Ohly --- meta/classes/rootfsdebugfiles.bbclass | 36 +++ 1 file changed, 36 insertions(+) create mode 100644 meta/classes/rootfsdebugfiles.bbclass diff --git a/meta/classes/rootfsdebugfiles.bbclass b/meta

Re: [OE-core] [PATCH 1/1] rootfsdebugfiles.bbclass: quick-and-dirty installation of additional files

2015-04-14 Thread Patrick Ohly
On Mon, 2015-04-13 at 09:07 -0700, Christopher Larson wrote: > > On Mon, Apr 13, 2015 at 8:44 AM, Patrick Ohly > wrote: > The main motivation for this class was the observation that > a) a core-image can hang under qemu when the kernel does not >have

[OE-core] [PATCH 0/1] combo-layer + merge requests

2015-05-08 Thread Patrick Ohly
https://github.com/pohly/openembedded-core/tree/master Patrick Ohly (1): combo-layer: improve merge commit handling scripts/combo-layer | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) -- 2.1.4 -- ___ Openembedded-core

[OE-core] [PATCH 1/1] combo-layer: improve merge commit handling

2015-05-08 Thread Patrick Ohly
traditional behavior. Signed-off-by: Patrick Ohly --- scripts/combo-layer | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/scripts/combo-layer b/scripts/combo-layer index 5d61fb1..b0b7c28 100755 --- a/scripts/combo-layer +++ b/scripts/combo-layer

[OE-core] [PATCH 1/1] combo-layer: handle unset dest_dir in sanity_check()

2015-05-20 Thread Patrick Ohly
a sane fallback for the unset case. With that change, dest_dir is no longer strictly required, but the check for it is kept to ensure that a combo-layer.conf also works with older combo-layer versions. [Yocto #7773] Signed-off-by: Patrick Ohly --- scripts/combo-layer | 6 -- 1 file changed

[OE-core] [PATCH 0/1] combo-layer sanity_check fix

2015-05-20 Thread Patrick Ohly
/openembedded-core/tree/master Patrick Ohly (1): combo-layer: handle unset dest_dir in sanity_check() scripts/combo-layer | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) -- 2.1.4 -- ___ Openembedded-core mailing list Openembedded-core

Re: [OE-core] [PATCH V2 4/4] package.bbclass: support persistent /var/log

2016-12-13 Thread Patrick Ohly
== 'yes'] Now that the rest of the changes treat VOLATILE_LOG_DIR as a boolean, this code here also needs to be changed. Otherwise VOLATILE_LOG_DIR=1 or VOLATILE_LOG_DIR=y won't work correctly. You might also want to change the description of the variable in the first patch to mention those ot

Re: [OE-core] [PATCH V3 0/4] Persistent /var/log support

2016-12-14 Thread Patrick Ohly
On Wed, 2016-12-14 at 17:08 +0800, Chen Qi wrote: > Changes since V2: > Use boolean value consistently. Update the comments to fit the use of boolean > value. Looks good to me now. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and althoug

[OE-core] multiconfig + siteinfo.bbclass

2016-12-14 Thread Patrick Ohly
recent, but not quite master. I don't see any relevant changes since then. However, I can't reproduce this with just Poky :-/ Any suggestions? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel,

Re: [OE-core] multiconfig + siteinfo.bbclass

2016-12-14 Thread Patrick Ohly
On Wed, 2016-12-14 at 16:37 +0100, Patrick Ohly wrote: > Hello! > > While trying out a multiconfig with two configurations (one for MACHINE > = intel-corei7-64, one for quark) in custom Ostro derivative I got an > error while parsing recipes: > [...] > > However, I c

[OE-core] [PATCH 1/9] ovmf: move from meta-luv to OE-core

2016-12-21 Thread Patrick Ohly
From: meta-luv This is an unmodified copy of github.com/01org/luv-yocto/meta-luv/recipes-core/ovmf revision 4be4329. Signed-off-by: Patrick Ohly --- ...s-Force-tools-variables-to-host-toolchain.patch | 48 .../ovmf/0001-OvmfPkg-Enable-BGRT-in-OVMF.patch| 110

[OE-core] [PATCH 0/9] UEFI + Secure Boot + qemu

2016-12-21 Thread Patrick Ohly
quot;selftest/wic: extending test coverage for WIC script options" (2016-12-20 17:06:01 +) are available in the git repository at: git://github.com/pohly/openembedded-core secure-boot https://github.com/pohly/openembedded-core/tree/secure-boot Patrick Ohly (7): ovmf: expli

[OE-core] [PATCH 2/9] iasl: move from meta-luv to OE-core

2016-12-21 Thread Patrick Ohly
ctive, PREFERRED_PROVIDER_iasl-native must be set to avoid a warning. It can be set to "acpica-native" when something from acpica besides just iasl is needed. Signed-off-by: Patrick Ohly --- meta/recipes-extended/iasl/iasl_20120215.bb | 27 +++ meta/recipes-extended/iasl/iasl_2

[OE-core] [PATCH 4/9] ovmf: deploy firmware in image directory

2016-12-21 Thread Patrick Ohly
u would be more complicated, so for now the simpler approach with combined code and variable store is used. Signed-off-by: Patrick Ohly --- meta/recipes-core/ovmf/ovmf_git.bb | 33 +++-- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/meta/recipes-core/

[OE-core] [PATCH 3/9] ovmf: explicitly depend on nasm-native

2016-12-21 Thread Patrick Ohly
Fixes a build issue when nasm was not build already because of something else. Signed-off-by: Patrick Ohly --- 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-core/ovmf/ovmf_git.bb index e722db5..13b583b

[OE-core] [PATCH 8/9] runqemu: support UEFI with OVMF firmware

2016-12-21 Thread Patrick Ohly
llows storing UEFI variables in the file. Instead of just "ovmf", a full path to an existing file can also be used, just as with the rootfs. That may be useful when making a permanent copy of the virtual machine data files. Signed-off-by: Patrick Ohly --- scripts/runqemu | 37 ++

[OE-core] [PATCH 7/9] runqemu: let command line parameters override defaults

2016-12-21 Thread Patrick Ohly
e "qemuparams" after the parameters derived from the machine configuration the user gets the possibility to override those. Signed-off-by: Patrick Ohly --- scripts/runqemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/runqemu b/scripts/runqemu index 0a9cb94

[OE-core] [PATCH 5/9] ovmf_git.bb: enable parallel compilation

2016-12-21 Thread Patrick Ohly
x27;1' [1] https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/edk2.spec Signed-off-by: Patrick Ohly --- 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_git.bb index d

[OE-core] [PATCH 9/9] ovmf: build image which enrolls standard keys

2016-12-21 Thread Patrick Ohly
the initializer. Signed-off-by: Patrick Ohly --- meta/recipes-core/ovmf/ovmf-shell-image.bb | 22 + ...ollDefaultKeys-application-for-enrolling-.patch | 1123 meta/recipes-core/ovmf/ovmf/ovmf-shell-image.wks |4 + meta/recipes-core/ovmf/ovmf_git.bb

[OE-core] [PATCH 6/9] ovmf_git.bb: enable Secure Boot

2016-12-21 Thread Patrick Ohly
cboot will boot with Secure Boot enabled. 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

Re: [OE-core] [PATCH 2/9] iasl: move from meta-luv to OE-core

2016-12-21 Thread Patrick Ohly
On Wed, 2016-12-21 at 16:11 +0200, Fathi Boudra wrote: > On 21 December 2016 at 15:11, Patrick Ohly wrote: > > iasl is also provided by the meta-oe layer's acpica recipe. iasl is a > > bit simpler and thus seems more suitable for OE-core. > > Simpler in what sense? L

Re: [OE-core] [PATCH 0/9] UEFI + Secure Boot + qemu

2016-12-28 Thread Patrick Ohly
approach. I'll prepare a revision of this patch series that includes acpica instead of iasl and also addresses the other points that Ricardo raised. -- 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 m

Re: [OE-core] [PATCH 8/9] runqemu: support UEFI with OVMF firmware

2017-01-04 Thread Patrick Ohly
On Wed, 2016-12-28 at 15:33 -0800, Ricardo Neri wrote: > On Wed, 2016-12-21 at 14:11 +0100, Patrick Ohly wrote: > > +# File name of a OVMF BIOS file, to be added with -drive > > if=pflash. > > +# Found in the same places as the rootfs, with

Re: [OE-core] [PATCH 4/9] ovmf: deploy firmware in image directory

2017-01-04 Thread Patrick Ohly
bitbake. > However, a quick grep -n inherit reveals that the majority of the > recipes put their inheritances towards the top of the recipe. Agreed, that seems to be more common, although there are also examples where "inherit deploy" is directly in front of "do_deploy". I

Re: [OE-core] [PATCH 6/9] ovmf_git.bb: enable Secure Boot

2017-01-04 Thread Patrick Ohly
On Wed, 2016-12-28 at 14:54 -0800, Ricardo Neri wrote: > On Wed, 2016-12-21 at 14:11 +0100, Patrick Ohly wrote: > > The recipe now compiles OVMF twice, once without Secure Boot, once > > with. This is the same approach as in > > https://src.fedoraproject.org/cgit/rpms/ed

Re: [OE-core] [PATCH 3/9] ovmf: explicitly depend on nasm-native

2017-01-04 Thread Patrick Ohly
On Wed, 2016-12-28 at 02:59 +, Neri, Ricardo wrote: > On Wed, 2016-12-21 at 14:11 +0100, Patrick Ohly wrote: > > +DEPENDS_append = " nasm-native" > > + > Is this dependency needed for both native and target builds? If not, it > can be done with DEPENDS_class.

Re: [OE-core] [PATCH 3/3] classes/buildstats: don't expand variable pointing to SystemStats

2017-01-04 Thread Patrick Ohly
change, I'm just trying to understand whether this merely cosmetic or has some real impact. -- 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 is

Re: [OE-core] [PATCH 0/6] Add opengl to REQUIRED_DISTRO_FEATURES for some recipes

2017-01-04 Thread Patrick Ohly
urprising. There's some truth to that, but I don't believe that it outweighs the disadvantages. -- 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 posi

Re: [OE-core] [PATCH 0/6] Add opengl to REQUIRED_DISTRO_FEATURES for some recipes

2017-01-05 Thread Patrick Ohly
On Thu, 2017-01-05 at 08:51 +, Richard Purdie wrote: > On Thu, 2017-01-05 at 08:32 +0100, Patrick Ohly wrote: > > On Wed, 2017-01-04 at 23:49 +, Burton, Ross wrote: > > > > > > > > > On 4 January 2017 at 22:57, Christopher Larson > > > wrote:

[OE-core] [PATCH 1/1] rootfs-postcommands.bbclass: sort passwd entries

2017-01-05 Thread Patrick Ohly
ed by setting SORT_PASSWD_POSTPROCESS_COMMAND to an empty string. Fixes: YOCTO #10520 Signed-off-by: Patrick Ohly --- meta/classes/rootfs-postcommands.bbclass | 20 1 file changed, 20 insertions(+) diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/r

[OE-core] [PATCH 0/3] rm_work enhancements

2017-01-06 Thread Patrick Ohly
ckagegroup-core-lsb: add opengl to REQUIRED_DISTRO_FEATURES (2017-01-05 13:53:45 +) are available in the git repository at: git://github.com/pohly/openembedded-core rmwork https://github.com/pohly/openembedded-core/tree/rmwork Patrick Ohly (3): gcc-source.inc: cleanly disable

[OE-core] [PATCH 1/3] gcc-source.inc: cleanly disable do_rm_work

2017-01-06 Thread Patrick Ohly
Using "deltask" assumes that do_rm_work has been added already, which won't be the case anymore in the upcoming improved rm_work.bbclass, because then an anonymous python method will add do_rm_work. Setting RM_WORK_EXCLUDE works with the current and upcoming rm_work.bbclass and is the API that is

[OE-core] [PATCH 2/3] rm_work_and_downloads.bbclass: more aggressively minimize disk usage

2017-01-06 Thread Patrick Ohly
use. Signed-off-by: Patrick Ohly --- meta/classes/rm_work_and_downloads.bbclass | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 meta/classes/rm_work_and_downloads.bbclass diff --git a/meta/classes/rm_work_and_downloads.bbclass b/meta/classes

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

2017-01-06 Thread Patrick Ohly
nd required considerably less disk space (14230MiB instead of 18740MiB for core-image-sato). Interestingly enough, builds with rm_work.bbclass were also faster than those without. Signed-off-by: Patrick Ohly --- meta/classes/rm_work.bbclass | 31 ++- 1 file changed, 18 inse

Re: [OE-core] [PATCH 2/3] rm_work_and_downloads.bbclass: more aggressively minimize disk usage

2017-01-06 Thread Patrick Ohly
uld run out of disk space. A "rm -rf downloads" at the end of the build doesn't help achieve that goal. -- 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

Re: [OE-core] [PATCH 1/1] rootfs-postcommands.bbclass: sort passwd entries

2017-01-07 Thread Patrick Ohly
On Fri, 2017-01-06 at 21:17 +, Phil Blundell wrote: > On Thu, 2017-01-05 at 16:38 +0100, Patrick Ohly wrote: > > The /etc passwd files in a rootfs consist of the default entries from > > base-passwd plus anything that gets added by preinst scripts or > > extrausers.

Re: [OE-core] [PATCH 2/3] rm_work_and_downloads.bbclass: more aggressively minimize disk usage

2017-01-07 Thread Patrick Ohly
ially in the case of failures. > > > I'll admit it is a fabricated scenario, but in general I'm against one > knob requiring the turning of another knob. In principle I agree. Okay, let's separate the two. -- Best Regards, Patrick Ohly The content of this message is m

Re: [OE-core] [PATCH 1/1] rootfs-postcommands.bbclass: sort passwd entries

2017-01-07 Thread Patrick Ohly
On Sat, 2017-01-07 at 09:59 +, Phil Blundell wrote: > On Sat, 2017-01-07 at 09:06 +0100, Patrick Ohly wrote: > > > Yes, but there's already a solution for that problem: > > useradd-staticids.bbclass > > > > I was assuming that someone who wants identical

Re: [OE-core] [PATCH 1/1] rootfs-postcommands.bbclass: sort passwd entries

2017-01-08 Thread Patrick Ohly
bly difficult, just more code. I also wonder how to handle comment lines - remove them (easy) or associate with the following entry (nicer)? -- 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

[OE-core] [PATCH V2 1/1] rootfs-postcommands.bbclass: sort passwd entries

2017-01-09 Thread Patrick Ohly
n't the case before. The order of the entries should not matter, but in obscure cases where it does (like having multiple entries for the same numeric ID) this behavior can be disabled by setting SORT_PASSWD_POSTPROCESS_COMMAND to an empty string. Fixes: YOCTO #10520 Signed-off-by: Patrick Ohly

Re: [OE-core] [PATCH 2/3] rm_work_and_downloads.bbclass: more aggressively minimize disk usage

2017-01-09 Thread Patrick Ohly
On Sat, 2017-01-07 at 09:09 +0100, Patrick Ohly wrote: > On Fri, 2017-01-06 at 13:29 -0800, Randy Witt wrote: > > > > There are times that the work directories help with the debugging of > > build failures. The logs aren't always enough. So a person might want > >

Re: [OE-core] [PATCH 8/9] runqemu: support UEFI with OVMF firmware

2017-01-09 Thread Patrick Ohly
On Mon, 2017-01-09 at 19:50 -0800, Ricardo Neri wrote: > On Wed, 2017-01-04 at 10:43 +0100, Patrick Ohly wrote: > > To > > test that supporting separate code and variables also works, I've > > implemented that locally so that ovmf.fd ovmf_secboot.fd, ovmf_code.fd, &g

Re: [OE-core] [PATCH 4/9] ovmf: deploy firmware in image directory

2017-01-09 Thread Patrick Ohly
On Mon, 2017-01-09 at 19:50 -0800, Ricardo Neri wrote: > On Wed, 2017-01-04 at 11:01 +0100, Patrick Ohly wrote: > > On Wed, 2016-12-28 at 13:38 -0800, Ricardo Neri wrote: > > > > do_install_class-target() { > > > > -OVMF_DIR_SUFFIX="X64" > > &g

[OE-core] [PATCH v2 00/11] UEFI + Secure Boot + qemu

2017-01-10 Thread Patrick Ohly
utils (2017-01-09 13:34:32 +) are available in the git repository at: git://github.com/pohly/openembedded-core secure-boot https://github.com/pohly/openembedded-core/tree/secure-boot Fathi Boudra (1): acpica: move from meta-oe to OE-core Patrick Ohly (9): ovmf: explicitly depend on nasm-nat

[OE-core] [PATCH v2 01/11] acpica: move from meta-oe to OE-core

2017-01-10 Thread Patrick Ohly
be9ba (current master). Signed-off-by: Patrick Ohly --- meta/recipes-extended/acpica/acpica_20150515.bb| 46 +++ .../acpica/acpitests/aapits-linux.patch| 336 + .../acpica/acpitests/aapits-makefile.patch | 34 +++ meta/recipes-extended/a

[OE-core] [PATCH v2 05/11] ovmf_git.bb: enable parallel compilation

2017-01-10 Thread Patrick Ohly
x27;1' [1] https://src.fedoraproject.org/cgit/rpms/edk2.git/tree/edk2.spec Signed-off-by: Patrick Ohly --- 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_git.bb index 8

[OE-core] [PATCH v2 02/11] ovmf: move from meta-luv to OE-core

2017-01-10 Thread Patrick Ohly
From: meta-luv This is an unmodified copy of github.com/01org/luv-yocto/meta-luv/recipes-core/ovmf revision 4be4329. Signed-off-by: Patrick Ohly --- ...s-Force-tools-variables-to-host-toolchain.patch | 48 .../ovmf/0001-OvmfPkg-Enable-BGRT-in-OVMF.patch| 110

[OE-core] [PATCH v2 03/11] ovmf: explicitly depend on nasm-native

2017-01-10 Thread Patrick Ohly
Fixes a build issue when nasm was not build already because of something else. Signed-off-by: Patrick Ohly --- 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-core/ovmf/ovmf_git.bb index e722db5..13b583b

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

2017-01-10 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'

[OE-core] [PATCH v2 04/11] ovmf: deploy firmware in image directory

2017-01-10 Thread Patrick Ohly
are also provided as separate files, in ovmf.code.qcow2 and ovmf.vars.qcow2. The traditional usage of ovmf via the qemu bios parameter is no longer supported and therefore it is not necessary to create a "bios.bin" file in the target sysroot. Signed-off-by: Patrick Ohly --- meta/recipes-cor

[OE-core] [PATCH v2 09/11] runqemu: support UEFI with OVMF firmware

2017-01-10 Thread Patrick Ohly
6/ovmf.vars.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: Patrick Ohly --- scripts/

[OE-core] [PATCH v2 07/11] runqemu: also accept -image suffix for rootfs parameter

2017-01-10 Thread Patrick Ohly
ose string searches a bit (no need for re; any()+map() a bit closer to the intended logic). Signed-off-by: Patrick Ohly --- scripts/runqemu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/runqemu b/scripts/runqemu index 203992a..7d84f19 100755 --- a/scripts/runqem

[OE-core] [PATCH v2 06/11] ovmf_git.bb: enable Secure Boot

2017-01-10 Thread Patrick Ohly
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 --- meta

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

2017-01-10 Thread Patrick Ohly
the initializer. Signed-off-by: Patrick Ohly --- meta/recipes-core/ovmf/ovmf-shell-image.bb | 17 + ...ollDefaultKeys-application-for-enrolling-.patch | 1124 meta/recipes-core/ovmf/ovmf/ovmf-shell-image.wks |4 + meta/recipes-core/ovmf/ovmf_git.bb

  1   2   3   4   5   6   7   8   >