aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2016-09-28 09:28:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-28 15:02:54 +0100
commita11d0d8641b7dfb05c78645cf21f2c04a08c4822 (patch)
tree6dc90ae0d2667726ab409d5ff038a225234b2d9b /scripts
parent145a29ca99d9fec5eff97d77c8cff6356fe88ba5 (diff)
downloadopenembedded-core-contrib-a11d0d8641b7dfb05c78645cf21f2c04a08c4822.tar.gz
qemuboot: don't fail when QB_DEFAULT_KERNEL isn't symlink
* in some cases we might set QB_DEFAULT_KERNEL to the real filename instead of symlink and then this whole readlink work around actually breaks the build, because os.readlink fails on normal files: >>> os.readlink('deploy/images/qemux86/bzImage-linux-yocto-qemux86-master-20160927084848.bin') 'bzImage-linux-yocto-qemux86.bin' >>> os.readlink('deploy/images/qemux86/bzImage-linux-yocto-qemux86.bin') Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: [Errno 22] Invalid argument: '/jenkins/mjansa/build-starfish-master-mcf/BUILD/deploy/images/qemux86/bzImage-linux-yocto-qemux86.bin' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions