Re: [OE-core] [PATCH] license: improve handling of license files with identical basenames

2016-08-05 Thread Markus Lehtonen
Doing a quick check on core-image-minimal I found out that there are many recipes whose do_populate_lic did not do the right thing: Only in build1/tmp-glibc/deploy/licenses/binutils-cross-i586: COPYING Only in build2/tmp-glibc/deploy/licenses/binutils-cross-i586: COPYING.0 Only in

[OE-core] [PATCH] license: improve handling of license files with identical basenames

2016-08-05 Thread Markus Lehtonen
Previously, find_license_files() in license.bbclass just blindly assumed that all different licenses specified in LIC_FILES_CHKSUM have unique filenames. As a consequence, only the last one of these similarly named license files was copied and the rest were "lost". This patch changes the behavior