diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/license.bbclass | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 76749c4c29..2ca47cc198 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
@@ -51,11 +51,10 @@ license_create_manifest() { | |||
51 | printf "LICENSE:" >> ${LICENSE_MANIFEST} | 51 | printf "LICENSE:" >> ${LICENSE_MANIFEST} |
52 | for lic in ${pkged_lic}; do | 52 | for lic in ${pkged_lic}; do |
53 | # to reference a license file trim trailing + symbol | 53 | # to reference a license file trim trailing + symbol |
54 | if [ -e "${LICENSE_DIRECTORY}/${pkged_pn}/generic_${lic%+}" ]; then | 54 | if ! [ -e "${LICENSE_DIRECTORY}/${pkged_pn}/generic_${lic%+}" ]; then |
55 | printf " ${lic}" >> ${LICENSE_MANIFEST} | 55 | bbwarn "The license listed ${lic} was not in the licenses collected for ${pkged_pn}" |
56 | else | ||
57 | echo "WARNING: The license listed ${lic} was not in the licenses collected for ${pkged_pn}" | ||
58 | fi | 56 | fi |
57 | printf " ${lic}" >> ${LICENSE_MANIFEST} | ||
59 | done | 58 | done |
60 | printf "\n\n" >> ${LICENSE_MANIFEST} | 59 | printf "\n\n" >> ${LICENSE_MANIFEST} |
61 | done | 60 | done |