build_packages: Enable expanded binhosts by default
BUG=b:187795483
TEST=cq
Cq-Depend: chromium:2757608
Change-Id: I03d2ee933e5f2174ce4a331220b438717d61e80f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/2757488
Tested-by: Alex Klein <saklein@chromium.org>
Commit-Queue: Alex Klein <saklein@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/build_packages b/build_packages
index 81a63d8..115d567 100755
--- a/build_packages
+++ b/build_packages
@@ -90,7 +90,7 @@
"Build factory installer."
DEFINE_boolean withtest "${FLAGS_TRUE}" \
"Build packages required for testing."
-DEFINE_boolean expandedbinhosts "${FLAGS_FALSE}" \
+DEFINE_boolean expandedbinhosts "${FLAGS_TRUE}" \
"Allow expanded binhost inheritance."
# The --reuse_pkgs_from_local_boards flag tells Portage to share binary
@@ -204,9 +204,7 @@
if [ "${FLAGS_cleanbuild}" -eq "${FLAGS_TRUE}" ]; then
UPDATE_ARGS+=( --force )
fi
- if [[ "${FLAGS_expandedbinhosts}" -eq "${FLAGS_TRUE}" ]]; then
- UPDATE_ARGS+=( --more-binhosts )
- else
+ if [[ "${FLAGS_expandedbinhosts}" -eq "${FLAGS_FALSE}" ]]; then
UPDATE_ARGS+=( --fewer-binhosts )
fi