path: root/meta/recipes-core/psplash
diff options
authorNitin A Kamble <>2013-03-26 22:16:26 -0700
committerRichard Purdie <>2013-03-27 11:06:58 +0000
commitc433a1b78c407bea17747cb77f5332ed8ee4c5e7 (patch)
tree27c6b12777ae59636d327a56e2010bc8aacf61b6 /meta/recipes-core/psplash
parent6a2c86fc639dac12e76d8943ea380710164b46d6 (diff)
openembedded-core-contrib-c433a1b78c407bea17747cb77f5332ed8ee4c5e7.tar.bz2 fix do_compile by correcting the script path
The recent change in the builddir location is breaking this recipe as it is trying to run a script ( located in sourcedir from builddir. As the script does not gets to run, the resulting file is not generated causing error as seen below. This commit fixes the issue, by providing complete path of the script. This commit fixes this build error: ERROR: Error executing a python function in /srv/home/nitin/prj/poky.git/meta/recipes-core/psplash/ IOError: [Errno 2] No such file or directory: 'psplash-tlk-img.h' ERROR: Task 6 (/srv/home/nitin/prj/poky.git/meta/recipes-core/psplash/, do_compile) failed with exit code '1' Signed-off-by: Nitin A Kamble <> Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-core/psplash')
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/psplash/ b/meta/recipes-core/psplash/
index 5413b24057..2d0cae371d 100644
--- a/meta/recipes-core/psplash/
+++ b/meta/recipes-core/psplash/
@@ -74,12 +74,13 @@ python do_compile () {
import shutil, commands
# Build a separate executable for each splash image
+ convertscript = "%s/" % d.getVar('S', True)
destfile = "%s/psplash-poky-img.h" % d.getVar('S', True)
localfiles = d.getVar('SPLASH_LOCALPATHS', True).split()
outputfiles = d.getVar('SPLASH_INSTALL', True).split()
for localfile, outputfile in zip(localfiles, outputfiles):
if localfile.endswith(".png"):
- outp = commands.getstatusoutput('./ %s POKY' % localfile)
+ outp = commands.getstatusoutput('%s %s POKY' % (convertscript, localfile))
fbase = os.path.splitext(os.path.basename(localfile))[0]
shutil.copyfile("%s-img.h" % fbase, destfile)