[OE-core] qemu + initramfs

2015-08-24 Thread Patrick Ohly
perhaps)? -- 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 matter

Re: [OE-core] [RFC PATCH 1/1] classes/whitelist: add class to allow whitelisting recipes from a layer

2015-08-21 Thread Patrick Ohly
conceptually the same as whitelisting. -- 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 matter

Re: [OE-core] [RFC PATCH 1/1] classes/whitelist: add class to allow whitelisting recipes from a layer

2015-08-20 Thread Patrick Ohly
. Doing that with an empty string is more readable than with a fake recipe name to make the variable non-empty. -- 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

[OE-core] [PATCH v2 0/2] xattr + tar

2015-08-14 Thread Patrick Ohly
: tzdata: update to 2015f (2015-08-14 08:30:21 +0100) are available in the git repository at: git://github.com/pohly/openembedded-core xattr https://github.com/pohly/openembedded-core/tree/xattr Patrick Ohly (2): tar-replacement-native: relocate via NATIVE_PACKAGE_PATH_SUFFIX

[OE-core] [PATCH v2 1/2] tar-replacement-native: relocate via NATIVE_PACKAGE_PATH_SUFFIX

2015-08-14 Thread Patrick Ohly
it by the sanity check for tar = 1.26. Therefore tar-replacement-native_1.28.bb can be removed in favor of adapting the normal tar recipe such that it installs an opt-in binary under a different path. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/recipes-extended/tar/tar-replacement

Re: [OE-core] [PATCH 1/3] tar-replacement-native: avoid race condition with host tar

2015-08-14 Thread Patrick Ohly
with by bitbake automatically seems not very user friendly. On IRC, Ross suggested that I should rewrite the regular tar recipe such that it installs tar as opt-in binary and remove the (mostly obsolete) tar-replacement-native). I'll send updated patches based on that. -- Best Regards, Patrick Ohly

[OE-core] [PATCH v2 2/2] image_types.bbclass: allow replacing tar command

2015-08-14 Thread Patrick Ohly
Usually, the host's tar command is sufficient. However, special cases like archiving xattrs depend on a modern GNU tar version. The new IMAGE_CMD_TAR makes that possible, with xattrs given as example. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/classes/image_types.bbclass | 14

Re: [OE-core] [PATCH 1/3] tar-replacement-native: avoid race condition with host tar

2015-08-14 Thread Patrick Ohly
On Fri, 2015-08-14 at 15:56 +0100, Paul Eggleton wrote: On Friday 14 August 2015 16:52:08 Patrick Ohly wrote: On Fri, 2015-08-14 at 12:03 +0100, Burton, Ross wrote: On 14 August 2015 at 12:01, Paul Eggleton paul.eggle...@linux.intel.com wrote: Or install the buildtools

[OE-core] [PATCH v3 2/2] image_types.bbclass: allow replacing tar command

2015-08-14 Thread Patrick Ohly
Usually, the host's tar command is sufficient. However, special cases like archiving xattrs depend on a modern GNU tar version. The new IMAGE_CMD_TAR makes that possible, with xattrs given as example. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/classes/image_types.bbclass | 14

[OE-core] [PATCH v3 1/2] tar-replacement-native: relocate via NATIVE_PACKAGE_PATH_SUFFIX

2015-08-14 Thread Patrick Ohly
and disabling it (which would be the case for class-native and class-nativesdk). Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/recipes-extended/tar/tar-replacement-native_1.28.bb | 6 -- meta/recipes-extended/tar/tar.inc| 11 +-- 2 files changed, 5

[OE-core] [PATCH v3 0/2] xattr + tar

2015-08-14 Thread Patrick Ohly
https://github.com/pohly/openembedded-core/tree/xattr Patrick Ohly (2): tar-replacement-native: relocate via NATIVE_PACKAGE_PATH_SUFFIX image_types.bbclass: allow replacing tar command meta/classes/image_types.bbclass | 14 +- meta/recipes-extended/tar/tar

Re: [OE-core] [PATCH 0/3] preserve xattrs in images

2015-08-12 Thread Patrick Ohly
fail the requirement. -- 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 matter

Re: [OE-core] [PATCH 3/3] mtd-utils: keep xattr support enabled

2015-08-12 Thread Patrick Ohly
On Tue, 2015-08-11 at 15:33 +0100, Burton, Ross wrote: On 11 August 2015 at 09:45, Patrick Ohly patrick.o...@intel.com wrote: -EXTRA_OEMAKE = 'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR= ${S

Re: [OE-core] [PATCH 0/3] preserve xattrs in images

2015-08-12 Thread Patrick Ohly
On Tue, 2015-08-11 at 15:29 +0100, Burton, Ross wrote: Hi Patrick, On 11 August 2015 at 09:44, Patrick Ohly patrick.o...@intel.com wrote: The default does not get changed because supporting xattrs causes a certain overhead (need to build GNU tar, additional system

[OE-core] [PATCH 1/3] tar-replacement-native: avoid race condition with host tar

2015-08-11 Thread Patrick Ohly
Installing tar into the sysroot leads to race conditions (tasks which do not depend on tar-replacement-native may already call tar while it's installation is incomplete). Avoid those by installing only the tar binary under the name tar-native. Signed-off-by: Patrick Ohly patrick.o...@intel.com

[OE-core] [PATCH 2/3] image_types.bbclass: allow replacing tar command

2015-08-11 Thread Patrick Ohly
Usually, the host's tar command is sufficient. However, special cases like archiving xattrs depend on a modern GNU tar version. The new IMAGE_CMD_TAR makes that possible, with xattrs given as example. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/classes/image_types.bbclass | 13

[OE-core] [PATCH 3/3] mtd-utils: keep xattr support enabled

2015-08-11 Thread Patrick Ohly
xattrs may be needed by some distros. Support that by compiling in the necessary code, even if it is not used by default. Then .jffs2 images including xattrs can be created with: EXTRA_IMAGECMD_jffs2_append = --with-xattr Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/recipes

[OE-core] [PATCH 0/3] preserve xattrs in images

2015-08-11 Thread Patrick Ohly
5094354a2811825e6d60963f03959daa349cab23: bind: upgrade to 9.10.2-p3 (2015-08-09 15:14:32 -0700) are available in the git repository at: git://github.com/pohly/openembedded-core xattr https://github.com/pohly/openembedded-core/tree/xattr Patrick Ohly (3): tar-replacement-native: avoid race condition with host tar

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

2015-08-04 Thread Patrick Ohly
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 patrick.o...@intel.com --- scripts/combo-layer | 6 -- 1 file changed, 4

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

2015-08-04 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

[OE-core] [PATCH 0/2] enhance action_pull

2015-08-04 Thread Patrick Ohly
in the git repository at: git://github.com/pohly/openembedded-core action-pull https://github.com/pohly/openembedded-core/tree/action-pull Patrick Ohly (2): combo-layer: enhance output in action_pull combo-layer: fix action_pull for unknown branch scripts/combo-layer | 20

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

2015-08-04 Thread Patrick Ohly
Please ignore, I accidentally resent this pull request. On Tue, 2015-08-04 at 18:20 +0200, Patrick Ohly wrote: The previous clean up dest_dir checking patch (f8cdbe7497) improved handling of empty dest_dir but made handling of unset dest_dir worse: instead showing the Option dest_dir

[OE-core] [PATCH 1/2] combo-layer: enhance output in action_pull

2015-08-04 Thread Patrick Ohly
it occurred. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- scripts/combo-layer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/combo-layer b/scripts/combo-layer index 70dad83..7380f5b 100755 --- a/scripts/combo-layer +++ b/scripts/combo-layer @@ -585,8 +585,8

[OE-core] [PATCH 2/2] combo-layer: fix action_pull for unknown branch

2015-08-04 Thread Patrick Ohly
, fall back to the slow git fetch + git checkout. In the conf.hard_reset case, do the checkout always after the git fetch. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- scripts/combo-layer | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/scripts/combo

[OE-core] [PATCH] archiver.bbclass: add do_deploy_all_archives

2015-07-09 Thread Patrick Ohly
When working specifically on source archiving, it is useful to trigger that for all recipes required by something like an image recipe, without actually having to build that. bitbake -c deploy_all_archives target does that now. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/classes

Re: [OE-core] KCONF_AUDIT_LEVEL + kernel_configcheck

2015-06-18 Thread Patrick Ohly
On Tue, 2015-06-16 at 09:48 -0400, Bruce Ashfield wrote: On 2015-06-16 04:06 AM, Patrick Ohly wrote: I cannot say how much noise it would create in practice, but at least I had one specific case where I was using a non-hardware configuration not supported by the kernel and would have

Re: [OE-core] [PATCH] insane.bbclass: add indirect-build-deps QA check

2015-06-17 Thread Patrick Ohly
On Wed, 2015-06-17 at 12:25 +0200, Patrick Ohly wrote: However, there are at least two false positives left in the current code: * aliases for recipes via PROVIDES * unnecessarily linking against libs which are not really used See the TODOs in the code. Actually, I had written more about

[OE-core] indirect dependencies

2015-06-17 Thread Patrick Ohly
not at the moment. I started coding that, but ran into issues with false positives. I don't have the time and knowledge to address these problems, but wanted to shared the code anyway, in case that someone wants to continue. Patrick Ohly (1): insane.bbclass: add indirect-build-deps QA check meta/classes

[OE-core] [PATCH] insane.bbclass: add indirect-build-deps QA check

2015-06-17 Thread Patrick Ohly
. However, there are at least two false positives left in the current code: * aliases for recipes via PROVIDES * unnecessarily linking against libs which are not really used See the TODOs in the code. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/classes/insane.bbclass | 52

Re: [OE-core] KCONF_AUDIT_LEVEL + kernel_configcheck

2015-06-16 Thread Patrick Ohly
On Mon, 2015-06-15 at 15:48 -0400, Bruce Ashfield wrote: On 2015-06-15 8:17 AM, Patrick Ohly wrote: Hello! In Fido and master, the following patch changed the default value of KCONF_AUDIT_LEVEL: $ git annotate origin/fido -- meta/classes/kernel-yocto.bbclass | grep

[OE-core] KCONF_AUDIT_LEVEL + kernel_configcheck

2015-06-15 Thread Patrick Ohly
? There is no mismatch.cfg, only a nonhw_report.cfg. This seems to point towards an error in the configure task, if I understand the kernel recipes correctly. Speaking of nonhw_report.cfg, are there plans to make the core BSPs clean enough to pass the check without warnings? -- Best Regards, Patrick Ohly The content

[OE-core] [PATCH] insane.bbclass: fix false negative in build-deps QA check

2015-06-15 Thread Patrick Ohly
the 'package in packages' check. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/classes/insane.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index ab7ca3b..156ae5a 100644 --- a/meta/classes

[OE-core] [PATCH] logging.bbclass: avoid bashism in bbdebug()

2015-06-15 Thread Patrick Ohly
Checking the bbdebug() debug level parameter with a regular test expression only works in bash. Using tr to filter out digits and then checking whether anything is left achieves the same result and is more portable. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/classes

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

2015-05-20 Thread Patrick Ohly
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 patrick.o...@intel.com --- scripts/combo-layer | 6 -- 1 file changed, 4

[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

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

2015-05-08 Thread Patrick Ohly
the traditional behavior. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- 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

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

2015-05-08 Thread Patrick Ohly
/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 mailing list Openembedded-core

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 patrick.o...@intel.com 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] ssh host key

2015-04-13 Thread Patrick Ohly
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 meta

[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 patrick.o...@intel.com --- meta/classes/rootfsdebugfiles.bbclass | 36 +++ 1 file changed, 36 insertions(+) create mode 100644 meta/classes/rootfsdebugfiles.bbclass diff --git a/meta/classes

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

2015-04-09 Thread Patrick Ohly
-by: Patrick Ohly patrick.o...@intel.com --- 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

[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 patrick.o...@intel.com --- 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

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

2015-04-09 Thread Patrick Ohly
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 logging oeqa

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

2015-04-09 Thread Patrick Ohly
are not found and reordering does not happen. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- meta/classes/testimage.bbclass| 6 - meta/lib/oeqa/oetest.py | 56 --- meta/lib/oeqa/utils/decorators.py | 1 + 3 files changed, 59 insertions

Re: [OE-core] runqemu + dhcp server

2015-04-07 Thread Patrick Ohly
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 Intel, the statements I make here in no way represent Intel's position on the issue, nor am I

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

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

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

2015-03-27 Thread Patrick Ohly
(as done in some places), rewrite the value in sanity_check() and then only check for '.'. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- scripts/combo-layer | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/scripts/combo-layer b/scripts/combo-layer index

[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 patrick.o...@intel.com --- 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

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

2015-03-24 Thread Patrick Ohly
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' systemctl start invocation? -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I

[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)

[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 patrick.o...@intel.com --- 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

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

2015-03-13 Thread Patrick Ohly
blank line since the last non-blank line. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- 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] [PATCH 06/11] combo-layer: init with full history

2015-03-13 Thread Patrick Ohly
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: Patrick Ohly patrick.o...@intel.com --- scripts/combo-layer | 187

[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 patrick.o...@intel.com --- scripts/combo-layer | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/combo-layer b

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

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

[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

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

2015-03-13 Thread Patrick Ohly
) if the 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 patrick.o...@intel.com --- scripts/combo-layer | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/scripts/combo

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

2015-03-13 Thread Patrick Ohly
-by: Patrick Ohly patrick.o...@intel.com --- 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..8db5d7e

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

2015-03-13 Thread Patrick Ohly
the subject line. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- scripts/combo-layer | 40 scripts/combo-layer.conf.example | 13 + 2 files changed, 53 insertions(+) diff --git a/scripts/combo-layer b/scripts/combo-layer index

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

2015-03-13 Thread Patrick Ohly
-ivi Signed-off-by: Patrick Ohly patrick.o...@intel.com --- 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 00/11] combo-layer enhancements

2015-03-13 Thread Patrick Ohly
://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 instance property combo

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: +# global options +[DEFAULT] + +# Add 'Signed-off

[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 patrick.o...@intel.com --- scripts/combo-layer-hook-default.sh | 2 +- 1 file

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. +signoff = True + # component name [bitbake

[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

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

2015-03-10 Thread Patrick Ohly
) if the 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 patrick.o...@intel.com --- scripts/combo-layer | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/scripts/combo

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

2015-03-10 Thread Patrick Ohly
, 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 ++-- scripts

[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-off-by: Patrick Ohly patrick.o

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

2015-03-09 Thread Patrick Ohly
-ivi Signed-off-by: Patrick Ohly patrick.o...@intel.com --- 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

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

2015-03-03 Thread Patrick Ohly
not seem to help to change it into rw (but I'm no longer absolutely sure whether I tried that). Sorry for being so vague :-/ Just wanted to confirm that there is indeed something fishy and that running further experiments is needed. -- Best Regards, Patrick Ohly The content of this message

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

2015-02-25 Thread Patrick Ohly
. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- 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

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

2015-02-25 Thread Patrick Ohly
. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- 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.bbclass +++ b/meta

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 +199,13 @@ python write_specfile

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

2015-02-18 Thread Patrick Ohly
, 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 symlinks to those in /. Without this patch it was not possible to get these symlinks packaged in the basefiles rpm. -- Best Regards, Patrick Ohly

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 patrick.o...@intel.com 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
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 patrick.o...@intel.com wrote: +# Treat all symlinks to directories as normal files

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

2015-02-17 Thread Patrick Ohly
is simple: find such special directory entries and move them to the files list. Signed-off-by: Patrick Ohly patrick.o...@intel.com --- 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 index

Re: [OE-core] runqemu + dhcp server

2015-02-17 Thread Patrick Ohly
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) resolv.conf. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I

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

2015-01-23 Thread Patrick Ohly
* the 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 patrick.o...@intel.com --- meta/classes/binconfig-disabled.bbclass | 10 ++ 1 file changed, 10 insertions(+) diff --git a/meta/classes/binconfig

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

2015-01-23 Thread Patrick Ohly
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 changed, 13

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

2015-01-23 Thread Patrick Ohly
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 patrick.o

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 patrick.o...@intel.com wrote: Recently I built a custom image which depended on a DHCP server to configure Ethernet. runqemu with tap for networking doesn't provide

Re: [OE-core] runqemu + dhcp server

2014-11-07 Thread Patrick Ohly
Adrian Freihofer 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

[OE-core] runqemu + dhcp server

2014-11-04 Thread Patrick Ohly
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 matter. From

<    3   4   5   6   7   8