]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/package_manager: avoid traceback with no packages
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 17 Apr 2015 15:43:08 +0000 (16:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 19 Apr 2015 12:34:04 +0000 (13:34 +0100)
commita0eb3ebbc82133ad239a752a4a85d154be31a311
tree818384104332fcfb51747e067b454886f31e8376
parent7047d02619547401c313de8c6972a7a0af77e2bc
lib/oe/package_manager: avoid traceback with no packages

If you were using deb packaging, had buildhistory enabled and produced
an SDK that contained no packages in one of the sysroots (such as with
uninative-tarball) then the do_populate_sdk was failing with a python
traceback because there were no fields to split in the output line.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/package_manager.py