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:50:26 +0000 |
commit | 43c8867b63462fc94b09d01cd8fe4252c003f787 (patch) | |
tree | 4b28a05330e13f0e2dc9660d735363169e4d9c28 /meta/classes/setuptools.bbclass | |
parent | 59b27d558febc42e5f127a7f27f6c0de73a61e30 (diff) | |
download | poky-43c8867b63462fc94b09d01cd8fe4252c003f787.tar.gz |
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].
(From OE-Core rev: f533c1bf4c6edbecc67f9e2c62fd475d64668e86)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/setuptools.bbclass')
0 files changed, 0 insertions, 0 deletions