]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
openssl: prevent warnings from openssl-c_rehash.sh
authorJoshua Lock <joshua.g.lock@intel.com>
Wed, 22 Jun 2016 10:22:25 +0000 (11:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Jul 2016 15:08:42 +0000 (16:08 +0100)
The openssl-c_rehash.sh script reports duplicate files and files which
don't contain a certificate or CRL by echoing a WARNING to stdout.
This warning gets picked up by the log checker during rootfs and results
in several warnings getting reported to the console during an image build.

To prevent the log from being overrun by warnings related to certificates
change these messages in openssl-c_rehash.sh to be prefixed with NOTE not
WARNING.

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-connectivity/openssl/openssl/openssl-c_rehash.sh

index 0ea22637ee6dbce845a9e2caf62540aaaf5d0761..f67f415544bc4d91adb3145a488e03c534064013 100644 (file)
@@ -106,7 +106,7 @@ link_hash()
     do
        if [ ${FINGERPRINT} = $( fingerprint ${LINKFILE} ${2} ) ]
        then
-           echo "WARNING: Skipping duplicate file ${1}" >&2
+           echo "NOTE: Skipping duplicate file ${1}" >&2
            return 1
        fi      
 
@@ -153,7 +153,7 @@ hash_dir()
         then
             TYPE_STR='crl'
         else
-            echo "WARNING: ${FILE} does not contain a certificate or CRL: skipping" >&2
+            echo "NOTE: ${FILE} does not contain a certificate or CRL: skipping" >&2
            continue
         fi