From 059a21701b89919798ec75480822e6ac46800e13 Mon Sep 17 00:00:00 2001 From: David Michael Date: Thu, 19 Oct 2017 08:42:57 -0700 Subject: [PATCH] build_library: Whitelist the binutils GLSA --- build_library/test_image_content.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build_library/test_image_content.sh b/build_library/test_image_content.sh index 2189e5ec17..0e81dcfff7 100644 --- a/build_library/test_image_content.sh +++ b/build_library/test_image_content.sh @@ -2,10 +2,13 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -GLSA_WHITELIST="201412-09" +GLSA_WHITELIST=( + 201412-09 # incompatible CA certificate version numbers + 201709-02 # updating binutils breaks amd64 Linux uncompression +) glsa_image() { - if glsa-check-$BOARD -t all | grep -v "$GLSA_WHITELIST"; then + if glsa-check-$BOARD -t all | grep -Fvx "${GLSA_WHITELIST[@]/#/-e}"; then echo "The above GLSAs apply to $ROOT" return 1 fi