diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-11-09 14:40:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-24 15:49:16 +0000 |
commit | f533c1bf4c6edbecc67f9e2c62fd475d64668e86 (patch) | |
tree | 545ea7dc5c0e338ef17dcbb57294ea33b22d814d /meta/classes/kernel-arch.bbclass | |
parent | 6daf138822bbbc46960121d3b76b42eaf19e7c0e (diff) | |
download | openembedded-core-f533c1bf4c6edbecc67f9e2c62fd475d64668e86.tar.gz openembedded-core-f533c1bf4c6edbecc67f9e2c62fd475d64668e86.tar.bz2 openembedded-core-f533c1bf4c6edbecc67f9e2c62fd475d64668e86.zip |
classes/metadata_scm: fix git errors showing up on non-git repositories
Fixes the following error showing up for layers that aren't a git repo
(or aren't parented by one):
fatal: Not a git repository (or any of the parent directories): .git
This was because we weren't intercepting stderr. We might as well just
use bb.process.run() here which does that and returns stdout and stderr
separately.
(This was a regression that came in with OE-Core revision
3aac11076e22ac4fea48f5404110bb959547a9fe).
Fixes [YOCTO #8661].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/kernel-arch.bbclass')
0 files changed, 0 insertions, 0 deletions