[Buildroot] [PATCH] utils/scanpypi: correctly handle license dirs in subdirs for .hash files

Peter Korsgaard peter at korsgaard.com
Fri Mar 9 21:23:39 UTC 2018


>>>>> "Peter" == Peter Korsgaard <peter at korsgaard.com> writes:

 > create_hash_file() used basename(licensefile) when it writes the entry for
 > the license file in the .hash, which is obviously not correct when license
 > file is locate in a sub directory.

 > Instead copy the logic from __create_mk_license() to strip the directory
 > prefix from the absolute filename instead.

 > Signed-off-by: Peter Korsgaard <peter at korsgaard.com>


Committed, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list