]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: 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 17:09:49 +0000 (18:09 +0100)
commitd2797b5ec240ab69fb6a5840a77cc5fca8837464
treeac5c3c234a1810f0e79e85fafe876de63e6ae805
parent46bad463ef99db9f237723614c5de01f89d5e54f
bitbake: 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]

(Bitbake rev: 927ec3524625ac731326b3c1c1361c2a4d2bd9e1)

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>
bitbake/lib/bb/ui/buildinfohelper.py