generate_bom: Rework scanning to improve reliability
Improve BOM generation with additional logic to avoid picking wrong license/copyright
To do this, calculate the trickiness of the debug information and in case of high trickiness only rely on full copyright reports.
https://phabricator.apertis.org/T8032
Signed-off-by: Walter Lozano walter.lozano@collabora.com
Edited by Walter Lozano