diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-11-09 14:40:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-12 08:42:28 +0000 |
commit | 777451ca43642e915b3ee9fa76b7a08a0936fa29 (patch) | |
tree | 6cf333f25565f7d88e1a9df29d565c9382518c4c /meta/classes/sip.bbclass | |
parent | cb0ca7264d5049c91bee1414e43509a1c9ef0714 (diff) | |
download | poky-777451ca43642e915b3ee9fa76b7a08a0936fa29.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 master rev: f533c1bf4c6edbecc67f9e2c62fd475d64668e86)
(From OE-Core rev: 8968ede9c8cdcd2cbf13bd5bba95883082189908)
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/sip.bbclass')
0 files changed, 0 insertions, 0 deletions