summaryrefslogtreecommitdiffstats
path: root/meta-selftest
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-11-10 14:45:14 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-23 11:02:26 +0000
commit66bf6978fc807ecc422fb6b6328f68bc3406cf15 (patch)
tree7f52bbcc977bd2a3b74e0d9acdc923152238f740 /meta-selftest
parent826f3cdb474b5728b22f08d2342fc90235ca9e7d (diff)
downloadopenembedded-core-66bf6978fc807ecc422fb6b6328f68bc3406cf15.tar.gz
devtool: update-recipe: check output before treating it as a string
As of the move to Python 3 and the fixes we applied at that time, bb.process.run() will return a byte array of length 0 rather than an empty string if the output is empty. That may be a bug that we should fix, but for now it's easiest to just check the result here before treating it as a string. This fixes running "devtool update-recipe" or "devtool finish" on a recipe which has no source tree, for example initramfs-framework. Fixes [YOCTO #10563]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta-selftest')
0 files changed, 0 insertions, 0 deletions