Bug 2489 - remove some oe_functions and oe/process.py
Summary: remove some oe_functions and oe/process.py
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M1
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard: (P3)(Scheduled)
Depends on:
Blocks:
 
Reported: 2012-05-24 09:05 UTC by Robert Yang
Modified: 2012-06-19 09:27 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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