mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-12 21:01:36 +01:00
build_library: Whitelist the binutils GLSA
This commit is contained in:
parent
f7faf7a8a3
commit
059a21701b
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user