run_chroot_version_hooks: update usages
The run_chroot_version_hooks script has been ported to chromite,
and old references need to be updated.
BUG=chromium:874988
TEST=precq
CQ-DEPEND=CL:1236536
Change-Id: Ifbd8810bf3f89a415ccb191f247fc88273178c6c
Reviewed-on: https://chromium-review.googlesource.com/1236781
Commit-Ready: Alex Klein <saklein@chromium.org>
Tested-by: Alex Klein <saklein@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
diff --git a/sdk_lib/make_chroot.sh b/sdk_lib/make_chroot.sh
index e78f847..2159532 100755
--- a/sdk_lib/make_chroot.sh
+++ b/sdk_lib/make_chroot.sh
@@ -635,8 +635,7 @@
if [ -n "${INITIALIZE_CHROOT}" ]; then
# If we're creating a new chroot, we also want to set it to the latest
# version.
- enter_chroot \
- "${CHROOT_TRUNK_DIR}/src/scripts/run_chroot_version_hooks" --init_latest
+ enter_chroot run_chroot_version_hooks --init-latest
fi
# Update chroot.