]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
buildinfohelper: discover kernel artifacts correctly
authorElliot Smith <elliot.smith@intel.com>
Tue, 23 Aug 2016 11:18:26 +0000 (14:18 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 2 Sep 2016 15:29:36 +0000 (16:29 +0100)
commit927ec3524625ac731326b3c1c1361c2a4d2bd9e1
treec9a9a83ca9f1a088d917e1ed04ea07f6ac4c89b6
parentcea8113d14da9e12db80a5b6b5811a47a7dfdeef
buildinfohelper: discover kernel artifacts correctly

Because some image_license.manifest files contain multiple
FILES lines, and because those lines can sometimes not contain
a list of files (i.e. they look like "FILES:\n"), we were
resetting the list of kernel artifacts when we hit the second
"empty" line.

Fix by ignoring any FILES line which doesn't list files, and by
appending any files found in a valid FILES line, rather than
overwriting the existing list.

[YOCTO #10107]

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/ui/buildinfohelper.py