From 41cc212e2add7be830901bac6cc855fbd230b7b8 Mon Sep 17 00:00:00 2001 From: Tom Zanussi Date: Sat, 31 Dec 2011 13:57:16 -0600 Subject: [PATCH] documentation-audit.sh: remove COMMERCIAL_LICENSE warning COMMERCIAL_LICENSE no longer exists; the equivalent functionality is now has been replaced by LICENSE_FLAGS_WHITELIST, so replace the COMMERCIAL_LICENSE warning with a similarly equivalent warning. (From OE-Core rev: 64e1db588bcb7b66b08097c0ea443bd4406422d3) Signed-off-by: Tom Zanussi Signed-off-by: Richard Purdie --- scripts/contrib/documentation-audit.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/contrib/documentation-audit.sh b/scripts/contrib/documentation-audit.sh index 5070fee..5b66f03 100755 --- a/scripts/contrib/documentation-audit.sh +++ b/scripts/contrib/documentation-audit.sh @@ -25,7 +25,8 @@ if [ -z "$BITBAKE" ]; then fi echo "REMINDER: you need to build for MACHINE=qemux86 or you won't get useful results" -echo "REMINDER: you need to have COMMERCIAL_LICENSE = \"\" in local.conf or you'll get false positives" +echo "REMINDER: you need to set LICENSE_FLAGS_WHITELIST appropriately in local.conf or " +echo " you'll get false positives. For example, LICENSE_FLAGS_WHITELIST = \"Commercial\"" for pkg in `bitbake -s | awk '{ print \$1 }'`; do if [[ "$pkg" == "Loading" || "$pkg" == "Loaded" || -- 2.7.4