diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-06-08 07:46:58 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-06-10 11:35:01 -0700 |
commit | f6ac2d399aae6c6aad9b24a96abc860229c4a603 (patch) | |
tree | c20f84342c0fdbfcfe06055b6f44659a23cca049 /classes/relocatable.bbclass | |
parent | 4d060ecf3da4ee27547e7456df1198a450461ab0 (diff) |
utils.bbclass: set close_fds=True by default for the popen helper
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'classes/relocatable.bbclass')
-rw-r--r-- | classes/relocatable.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
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) |