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:53 +0000 (11:17 +0100)
commit960ebf4654e0d08ca8d16bd4d8a7789e0ceb440f
tree87a3d5c62a8ea0bc78526a3d6905c3be3f9b6f16
parenta73df7e033acacc72871b33b4b9bf1264481e375
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]

(From OE-Core rev: 15ad62ab1be060d8a7cdc2d28167ea3af4cfd5d5)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/utils.bbclass