From f6ac2d399aae6c6aad9b24a96abc860229c4a603 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 8 Jun 2010 07:46:58 -0700 Subject: utils.bbclass: set close_fds=True by default for the popen helper Signed-off-by: Chris Larson --- classes/relocatable.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'classes/relocatable.bbclass') diff --git a/classes/relocatable.bbclass b/classes/relocatable.bbclass index eb5b9e62ed..e4ababa57d 100644 --- a/classes/relocatable.bbclass +++ b/classes/relocatable.bbclass @@ -75,7 +75,8 @@ def process_dir (directory, d): if len(new_rpaths): args = ":".join(new_rpaths) #bb.note("Setting rpath for %s to %s" %(fpath,args)) - sub.call([cmd, '-r', args, fpath]) + oe_system(d, [cmd, '-r', args, fpath], shell=False, + stdout=open("/dev/null", "a")) if perms: os.chmod(fpath, perms) -- cgit v1.2.3