diff --git a/sdk_lib/make_chroot.sh b/sdk_lib/make_chroot.sh index 8f402a99c3..e0ddd0b964 100755 --- a/sdk_lib/make_chroot.sh +++ b/sdk_lib/make_chroot.sh @@ -298,6 +298,10 @@ EOF echo "Copying ~/.gitconfig into chroot" cp $HOME/.gitconfig "$FLAGS_chroot/home/$USER/" fi + + if [[ -f $HOME/.cros_chroot_init ]]; then + /bin/bash $HOME/.cros_chroot_init "${FLAGS_chroot}" + fi } # Handle deleting an existing environment.