Skip to content

Commit

Permalink
build.sh: disable CVE warnings
Browse files Browse the repository at this point in the history
Do not show CVE warnings during building. These warnings are too many
and mask other warnings. CVE information can be retrived in the images
directory and inside the security manifest archive.

Signed-off-by: Mathieu Dupré <[email protected]>
  • Loading branch information
dupremathieu committed May 16, 2023
1 parent b3a798a commit 1b030a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ export ACCEPT_FSL_EULA="1"
export LSB_WARN='0'
export SKIP_META_SECURITY_SANITY_CHECK="1"
export SKIP_META_VIRT_SANITY_CHECK="1"
export CVE_CHECK_SHOW_WARNINGS="0"
if [ -f seapath.conf ] ; then
for seapath_env in $(bash -c \
'( source seapath.conf ; set -o posix ; set \
Expand Down Expand Up @@ -448,6 +449,7 @@ export BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS \
SKIP_META_SECURITY_SANITY_CHECK \
SKIP_META_VIRT_SANITY_CHECK \
SSTATE_DIR \
CVE_CHECK_SHOW_WARNINGS \
"

# Set image to build, default to core-image-minimal
Expand Down

0 comments on commit 1b030a6

Please sign in to comment.