aboutsummaryrefslogtreecommitdiffstats
path: root/classes/base.bbclass
diff options
context:
space:
mode:
authorChristopher Larson <clarson@mvista.com>2010-01-19 10:00:41 +0000
committerChris Larson <chris_larson@mentor.com>2010-03-21 18:31:40 -0700
commit02630483284a2f31b01e636210715ee1fb6e63b9 (patch)
tree75a74ab3f06c319ad76ec2a6eb0672ea06427c15 /classes/base.bbclass
parent097e2a981e58fa52837c352283f503f190896433 (diff)
downloadopenembedded-02630483284a2f31b01e636210715ee1fb6e63b9.tar.gz
base.bbclass: add popen/system convenience functions
Provides oe_popen, which is a subprocess.Popen wrapper that automatically provides our exported variables in the environment, including the PATH, and oe_system, which is just a wrapper that acts like system. Signed-off-by: Chris Larson <clarson@mvista.com> Acked-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'classes/base.bbclass')
-rw-r--r--classes/base.bbclass6
1 files changed, 0 insertions, 6 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index ae8b74ecd4..182ce62d9a 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -154,12 +154,6 @@ python base_do_fetch() {
raise bb.build.FuncFailed("Checksum of '%s' failed" % uri)
}
-def subprocess_setup():
- import signal
- # Python installs a SIGPIPE handler by default. This is usually not what
- # non-Python subprocesses expect.
- signal.signal(signal.SIGPIPE, signal.SIG_DFL)
-
def oe_unpack_file(file, data, url = None):
import subprocess
if not url: