Bug 2489

Summary: remove some oe_functions and oe/process.py
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: coreAssignee: Robert Yang <liezhi.yang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: laurentiu.serban, meta.mr.watcher, meta.watcher, richard.purdie, sgw, song.liu, zhenfeng.zhao
Version: 1.3   
Target Milestone: 1.3 M1   
Hardware: x86   
OS: Multiple   
Whiteboard: (P3)(Scheduled)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Robert Yang 2012-05-24 09:05:40 UTC
The following functions in meta/classes/utils.bbclass were not 
used by anyone, and they didn't work when I tried to use them:

def oe_popen_env(d):
def oe_run(d, cmd, **kwargs):
def oe_popen(d, cmd, **kwargs):
def oe_system(d, cmd, **kwargs):

There error was:
AttributeError: type object 'str' has no attribute 'getVar'

We have bitbake/lib/bb/process.py to instead, so remove them.

For meta/lib/oe/process.py, it is only used by oe_run and oe_popen which will be removed, and we have a better one: bitbake/lib/bb/process.py, so remove meta/lib/oe/process.py, too.
Comment 2 Laurentiu Serban 2012-06-19 09:27:23 UTC
verified