Added functionalities to configure license mapping files (json-formatted) to do a rewrite of the licenses to write spdx conform ones into the generated document.
This is to handle non spdx conform license naming in packages taken from upstream without forking/fixing each package.
The mapping has to be part of the image sources/created rootfs (e.g. livebuild).
The flag can be defined multiple times for different files if needed, the content of the files gets merged.
The files are defined in the BuildFlag with its path in the created rootfs.
Added functionalities to configure license mapping files (json-formatted) to do a rewrite of the licenses to write spdx conform ones into the generated document.
This is to handle non spdx conform license naming in packages taken from upstream without forking/fixing each package.
The mapping has to be part of the image sources/created rootfs (e.g. livebuild).
Example of a mapping file:
The mapping is activated by specifying the files in the project configuration:
The flag can be defined multiple times for different files if needed, the content of the files gets merged. The files are defined in the BuildFlag with its path in the created rootfs.