]> code.ossystems Code Review - openembedded-core.git/commit
utils.bbclass: remove the unused oe_system
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 24 May 2012 08:03:26 +0000 (16:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 May 2012 10:17:35 +0000 (11:17 +0100)
commit15ad62ab1be060d8a7cdc2d28167ea3af4cfd5d5
treed17491fb24a05e1e958c02f33ab5882b5517b9cd
parent0ddf7861d36452c0fe40b4ce439a2954de507965
utils.bbclass: remove the unused oe_system

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.

[YOCTO #2489]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/classes/utils.bbclass