Rename some documentation/comment references to build_image
build_image was renamed to `cros build-image`. Update comment strings
and docs referencing it.
BUG=b:287468690
TEST=CQ
Change-Id: I212ecc370952bf1686f523dbc464fc8d173066b5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4621770
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
diff --git a/scripts/build_dlc.py b/scripts/build_dlc.py
index b1c3bc3..752037f 100644
--- a/scripts/build_dlc.py
+++ b/scripts/build_dlc.py
@@ -42,7 +42,7 @@
"If building a specific DLC, it is the root path to"
" install DLC images (%s) and metadata (%s). Otherwise it"
" is the target directory where the Chrome OS images gets"
- " dropped in build_image, e.g. "
+ " dropped in `cros build-image`, e.g. "
"src/build/images/<board>/latest."
)
% (dlc_lib.DLC_BUILD_DIR, dlc_lib.DLC_META_DIR),
@@ -203,7 +203,7 @@
parser.error(
"If the intention is to build only one DLC, all the flags"
"%s should be passed in the `cros build-packages` phase, not "
- "in the build_image phase." % invalid_flags
+ "in the `cros build-image` phase." % invalid_flags
)
if opts.fs_type == dlc_lib.EXT4_TYPE: