make_chroot: Change --board_overlay_path into --toolchains_overlay_path.
We're moving away from board-specific SDK overlays to using
toolchain-based overlay tarball names. No change to underlying logic.
BUG=brillo:918
TEST=None
Change-Id: I2e095e66349a5c88667093927b01988909ceaf23
Reviewed-on: https://chromium-review.googlesource.com/275059
Trybot-Ready: Gilad Arnold <garnold@chromium.org>
Tested-by: Gilad Arnold <garnold@chromium.org>
Reviewed-by: Bertrand Simonnet <bsimonnet@chromium.org>
Commit-Queue: Gilad Arnold <garnold@chromium.org>
diff --git a/sdk_lib/make_chroot.sh b/sdk_lib/make_chroot.sh
index 3639662..854657e 100755
--- a/sdk_lib/make_chroot.sh
+++ b/sdk_lib/make_chroot.sh
@@ -43,8 +43,8 @@
"Use the stage3 with the given date."
DEFINE_string stage3_path "" \
"Use the stage3 located on this path."
-DEFINE_string board_overlay_path "" \
- "Use the board overlay located on this path."
+DEFINE_string toolchains_overlay_path "" \
+ "Use the toolchains overlay located on this path."
DEFINE_string workspace_root "" \
"The root of your workspace."
DEFINE_string cache_dir "" "Directory to store caches within."
@@ -380,9 +380,9 @@
else
info "Unpacking stage3..."
unpack_tarball "${FLAGS_stage3_path}" "${FLAGS_chroot}"
- if [[ -n "${FLAGS_board_overlay_path}" ]]; then
- info "Unpacking board overlay..."
- unpack_tarball "${FLAGS_board_overlay_path}" "${FLAGS_chroot}"
+ if [[ -n "${FLAGS_toolchains_overlay_path}" ]]; then
+ info "Unpacking toolchains overlay..."
+ unpack_tarball "${FLAGS_toolchains_overlay_path}" "${FLAGS_chroot}"
fi
rm -f "$FLAGS_chroot/etc/"make.{globals,conf.user}
fi