The yaml contains packages with an ignored license. These packages are
removed from the license-compliance.pdf, but they must be removed from
the license-report.pdf as well.

Signed-off-by: Michael Tretter <m.tret...@pengutronix.de>
---
 scripts/lib/ptxd_make_license_report.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/lib/ptxd_make_license_report.sh 
b/scripts/lib/ptxd_make_license_report.sh
index 21135d0db9cd..24f833637de0 100644
--- a/scripts/lib/ptxd_make_license_report.sh
+++ b/scripts/lib/ptxd_make_license_report.sh
@@ -185,7 +185,7 @@ ptxd_make_license_report() {
        ptxd_make_license_report_header
        for pkg in ${@}; do
                pkg_lic="${ptxd_package_license_association[${pkg}]}"
-               if [ -z ${pkg_lic} ]; then
+               if [ -z ${pkg_lic} -o "${pkg_lic}" = "ignore" ]; then
                        continue
                fi
                pkg_lic="${pkg_lic}/${pkg}"
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to 
ptxdist-requ...@pengutronix.de

Reply via email to