generic-poky/scripts/lib
Paul Eggleton 0ffd92707b 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].

(From OE-Core rev: 66bf6978fc807ecc422fb6b6328f68bc3406cf15)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-23 11:10:12 +00:00
..
bsp conf: Remove legacy X input drivers 2016-11-15 15:19:55 +00:00
devtool devtool: update-recipe: check output before treating it as a string 2016-11-23 11:10:12 +00:00
recipetool recipetool: create: separate LICENSE items with & by default 2016-11-07 11:04:22 +00:00
wic wic: fix function comment typos 2016-11-15 15:19:55 +00:00
argparse_oe.py scripts/lib/argparse_oe: also change 'positional arguments' to 'arguments' 2016-05-06 10:31:13 +01:00
scriptpath.py scripts: consolidate code to find bitbake path 2014-06-25 13:51:45 +01:00
scriptutils.py recipetool: create: support git short form URLs 2016-09-20 15:11:07 +01:00