]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
recipetool/create: show more of the license path when it can't be identified
authorRoss Burton <ross.burton@arm.com>
Wed, 4 Jun 2025 14:03:22 +0000 (15:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Jun 2025 10:01:24 +0000 (11:01 +0100)
commit9679f4055ad5a077c6b06aa6125cee4e8fa93471
treee621df070fe6efdaf52148298b2556dc42184643
parentee80c4f013052950ebc4107a2aa4f9ffc1b28975
recipetool/create: show more of the license path when it can't be identified

If there are multiple source trees in a project (incredibly common with
go-mod, for example) then the relative path of the LICENSE file from
the source tree could just be "LICENSE", which is not useful when there
are tens of files across the recipe with that name.

Show the parent directory name too, to clarify which file is unknown.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create.py