]> code.ossystems Code Review - openembedded-core.git/commit
base.bbclass: Use subprocess rather than os.system for do_unpack
authorRichard Purdie <rpurdie@linux.intel.com>
Tue, 25 Aug 2009 15:37:50 +0000 (16:37 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 25 Aug 2009 15:37:50 +0000 (16:37 +0100)
commitc2b4308119d32c07e9c7a120e06b78afd26ff58c
treedeff0f578769c65dbca652e00a508deb2a1540ba
parent7859b4c9bd0e62cc220faf74c8c51ed6e46f405b
base.bbclass: Use subprocess rather than os.system for do_unpack

gzip reports broken pipe errors with do_unpack on Fedora with
certain builds of gzip and bash. By avoding python's SIGPIPE handler
we can work correctly on these distributions.

Patch based on a patch from the OE-devel mailing list, thanks to
Khem Raj <raj.khem@gmail.com> and Holger Freyther <zecke@selfish.org>

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
meta/classes/base.bbclass