[oe] [PATCH] base.bbclass: Replace os.system with subprocess call.

Richard Purdie rpurdie at rpsys.net
Tue Aug 25 15:42:14 UTC 2009


On Mon, 2009-08-24 at 05:49 +0200, Holger Hans Peter Freyther wrote:
> On Monday 24 August 2009 04:31:41 Khem Raj wrote:
> > Often gzip is reporting broken pipe errors with do_unpack of
> > tar.gz files.
> >
> > If you use the commands described above to extract a tar.gz file, gzip
> > sometimes emits a Broken pipe error message. This can safely be ignored
> > if tar extracted all files without any other error message.
> >
> > We do not let python install its SIGPIPE handler and use subprocess call
> > to invoke the command.
> >
> > This is based on the following python bug report.
> > http://bugs.python.org/issue1652
> >
> > Signed-off-by: Khem Raj <raj.khem at gmail.com>
> 
> Acked-by: Holger Freyther <zecke at selfish.org>

Thanks, I've been seeing reports of this and have just merged into
Poky! :)

Cheers,

Richard





More information about the Openembedded-devel mailing list