build_library: Whitelist the binutils GLSA

This commit is contained in:
David Michael 2017-10-19 08:42:57 -07:00
parent f7faf7a8a3
commit 059a21701b

View File

@ -2,10 +2,13 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # 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() { 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" echo "The above GLSAs apply to $ROOT"
return 1 return 1
fi fi