poky/scripts/lib/recipetool
Ross Burton 632bb571d7 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.

(From OE-Core rev: 9679f4055ad5a077c6b06aa6125cee4e8fa93471)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-05 11:02:22 +01:00
..
__init__.py scripts/recipetool: Add a recipe auto-creation script 2014-12-23 10:18:15 +00:00
append.py classes/lib/scripts: Initial WORKDIR -> UNPACKDIR updates 2024-05-02 15:15:51 +01:00
create_buildsys_python.py recipetool; add support for python_mesonpy class 2024-02-20 11:39:45 +00:00
create_buildsys.py scripts: python 3.12 regex 2024-02-13 13:51:41 +00:00
create_go.py recipetool: create: split guess_license function 2024-08-23 09:51:36 +01:00
create_kernel.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
create_kmod.py Convert to new override syntax 2021-08-02 15:44:10 +01:00
create_npm.py recipetool: create_npm: reuse license utils 2024-08-23 09:51:36 +01:00
create.py recipetool/create: show more of the license path when it can't be identified 2025-06-05 11:02:22 +01:00
edit.py recipetool: Fix list concatenation when using edit 2020-06-15 14:53:45 +01:00
licenses.csv recipetool/devtool: Further SPDX identifier cleanups 2022-03-02 18:43:24 +00:00
newappend.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
setvar.py recipetool/devtool: Ensure server knows about changed files 2023-09-18 11:35:38 +01:00