mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
build_packages: flip weird inverted boolean flag
Use `--workon` and `--noworkon` instead of `--nonoworkon` and `--noworkon`
This commit is contained in:
parent
602412fd2a
commit
10a7864ff0
@ -18,8 +18,8 @@ DEFINE_boolean usepkg "${FLAGS_TRUE}" \
|
|||||||
"Use binary packages to bootstrap when possible."
|
"Use binary packages to bootstrap when possible."
|
||||||
DEFINE_boolean getbinpkg "${FLAGS_TRUE}" \
|
DEFINE_boolean getbinpkg "${FLAGS_TRUE}" \
|
||||||
"Download binary packages from remote repository."
|
"Download binary packages from remote repository."
|
||||||
DEFINE_boolean noworkon "${FLAGS_FALSE}" \
|
DEFINE_boolean workon "${FLAGS_TRUE}" \
|
||||||
"Don't force-build workon packages."
|
"Automatically rebuild updated cros-workon packages."
|
||||||
DEFINE_boolean fetchonly "${FLAGS_FALSE}" \
|
DEFINE_boolean fetchonly "${FLAGS_FALSE}" \
|
||||||
"Don't build anything, instead only fetch what is needed."
|
"Don't build anything, instead only fetch what is needed."
|
||||||
|
|
||||||
@ -154,7 +154,7 @@ fi
|
|||||||
|
|
||||||
# Build cros_workon packages when they are changed.
|
# Build cros_workon packages when they are changed.
|
||||||
CROS_WORKON_PKGS=()
|
CROS_WORKON_PKGS=()
|
||||||
if [ "${FLAGS_noworkon}" -eq "${FLAGS_FALSE}" ]; then
|
if [ "${FLAGS_workon}" -eq "${FLAGS_TRUE}" ]; then
|
||||||
LIST_MODIFIED_PACKAGES="${CHROMITE_BIN}/cros_list_modified_packages"
|
LIST_MODIFIED_PACKAGES="${CHROMITE_BIN}/cros_list_modified_packages"
|
||||||
CROS_WORKON_PKGS+=( $("${LIST_MODIFIED_PACKAGES}" --board=${FLAGS_board}) )
|
CROS_WORKON_PKGS+=( $("${LIST_MODIFIED_PACKAGES}" --board=${FLAGS_board}) )
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user