diff options
author | Peter Tworek <tworaz666@gmail.com> | 2012-03-06 09:03:13 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-08 11:48:39 -0800 |
commit | 34bdb9a459208377210454e54635afb9404ee126 (patch) | |
tree | 2d0e413d08b6542861591665fa1de5f8e5474fa2 /meta-demoapps/recipes-gnome | |
parent | 40d7a4b70d342f75e13de7872fb62e2b9d6d40bf (diff) | |
download | openembedded-core-34bdb9a459208377210454e54635afb9404ee126.tar.gz openembedded-core-34bdb9a459208377210454e54635afb9404ee126.tar.bz2 openembedded-core-34bdb9a459208377210454e54635afb9404ee126.tar.xz openembedded-core-34bdb9a459208377210454e54635afb9404ee126.zip |
psplash: Add mising commands module import.
Python commands module is used in the recipe, but never imported.
This leads to build errors like:
NameError: global name 'commands' is not defined
ERROR: The stack trace of python calls that resulted in this exception/failure was:
ERROR: File "do_compile", line 24, in <module>
ERROR:
ERROR: File "do_compile", line 11, in do_compile
ERROR:
ERROR: The code that was being executed was:
ERROR: 0020: bb.build.exec_func("oe_runmake", d)
ERROR: 0021: shutil.copyfile("psplash", outputfile)
ERROR: 0022:
ERROR: 0023:
ERROR: *** 0024:do_compile(d)
ERROR: 0025:
ERROR: (file: 'do_compile', lineno: 24, function: <module>)
ERROR: 0007: localfiles = d.getVar('SPLASH_LOCALPATHS', True).split()
ERROR: 0008: outputfiles = d.getVar('SPLASH_INSTALL', True).split()
ERROR: 0009: for localfile, outputfile in zip(localfiles, outputfiles):
ERROR: 0010: if localfile.endswith(".png"):
ERROR: *** 0011: outp = commands.getstatusoutput('./make-image-header.sh %s POKY' % localfile)
ERROR: 0012: print(outp[1])
ERROR: 0013: fbase = os.path.splitext(os.path.basename(localfile))[0]
ERROR: 0014: shutil.copyfile("%s-img.h" % fbase, destfile)
ERROR: 0015: else:
Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-demoapps/recipes-gnome')
0 files changed, 0 insertions, 0 deletions