mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 07:31:01 +02:00
fix(setup_board): Depend on --usepkg and --getbinpkg as a pair.
Instead of gating only on --usepkg depend on both flags as a pair. This keeps setup_board's behavior a little closer to build_packages. The buildbot is using --nogetbinpkg to avoid pulling in existing packages built by the SDK but setup_board is causing some to be pulled in anyway.
This commit is contained in:
parent
4ffb21da38
commit
1e7ce95508
@ -258,7 +258,9 @@ if [[ ${FLAGS_regen_configs} -eq ${FLAGS_FALSE} ]]; then
|
|||||||
EMERGE_FLAGS+=" --jobs=${FLAGS_jobs}"
|
EMERGE_FLAGS+=" --jobs=${FLAGS_jobs}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${FLAGS_usepkg}" -eq "${FLAGS_TRUE}" ]]; then
|
if [[ "${FLAGS_usepkg}" -eq "${FLAGS_TRUE}" && \
|
||||||
|
"${FLAGS_getbinpkg}" -eq "${FLAGS_TRUE}" ]]
|
||||||
|
then
|
||||||
EMERGE_FLAGS+=" --usepkgonly --getbinpkg"
|
EMERGE_FLAGS+=" --usepkgonly --getbinpkg"
|
||||||
else
|
else
|
||||||
# When binary packages are disabled we need to make sure the cross
|
# When binary packages are disabled we need to make sure the cross
|
||||||
|
Loading…
x
Reference in New Issue
Block a user