Skip to content

Commit

Permalink
build.sh: update with new Yocto variables
Browse files Browse the repository at this point in the history
BB_ENV_EXTRAWHITE becomes BB_ENV_PASSTHROUGH_ADDITIONS in latest Yocto
versions.

Signed-off-by: Mathieu Dupré <[email protected]>
  • Loading branch information
dupremathieu committed May 16, 2023
1 parent 031bcea commit 2c611ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ if [ -f seapath.conf ] ; then
if [ -z $(printenv "${seapath_env_key}") ] ; then
export "${seapath_env_key}"="${seapath_env_value}"
fi
BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE ${seapath_env_key}"
BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS ${seapath_env_key}"
done
fi

Expand All @@ -434,7 +434,7 @@ for seapath_env in $(printenv | grep -e "^SEAPATH") ; do
done

# Set variable readable from command line
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE \
export BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS \
ACCEPT_FSL_EULA \
BB_GENERATE_MIRROR_TARBALLS \
BB_NUMBER_THREADS \
Expand Down

0 comments on commit 2c611ff

Please sign in to comment.