diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-11-09 14:40:08 +0000 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2015-12-27 23:03:15 -0800 |
commit | 8968ede9c8cdcd2cbf13bd5bba95883082189908 (patch) | |
tree | b11cbca3d00bf65051f3f6bb864cc980746b4049 /scripts/lib/devtool/runqemu.py | |
parent | e353b303e271368426e71810bb75173ca6f53455 (diff) | |
download | openembedded-core-8968ede9c8cdcd2cbf13bd5bba95883082189908.tar.gz openembedded-core-8968ede9c8cdcd2cbf13bd5bba95883082189908.tar.bz2 openembedded-core-8968ede9c8cdcd2cbf13bd5bba95883082189908.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].
(From OE-Core master 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 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions