[oe-commits] [openembedded-core] 05/83: openssl: prevent warnings from openssl-c_rehash.sh

git at git.openembedded.org git at git.openembedded.org
Fri Jul 1 15:31:33 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 88c25318db9f8091719b317bacd636b03d50a411
Author: Joshua Lock <joshua.g.lock at intel.com>
AuthorDate: Wed Jun 22 11:22:25 2016 +0100

    openssl: prevent warnings from openssl-c_rehash.sh
    
    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 at intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-connectivity/openssl/openssl/openssl-c_rehash.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/openssl/openssl/openssl-c_rehash.sh b/meta/recipes-connectivity/openssl/openssl/openssl-c_rehash.sh
index 0ea2263..f67f415 100644
--- a/meta/recipes-connectivity/openssl/openssl/openssl-c_rehash.sh
+++ b/meta/recipes-connectivity/openssl/openssl/openssl-c_rehash.sh
@@ -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
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list