diff --git a/sdk_lib/make_chroot.sh b/sdk_lib/make_chroot.sh index bc9fade881..7cfb4d590f 100755 --- a/sdk_lib/make_chroot.sh +++ b/sdk_lib/make_chroot.sh @@ -92,7 +92,8 @@ early_enter_chroot() { # the overhead of enter_chroot, and do not need access to the source tree, # don't need the actual chroot profile env, and can run the command as root. bare_chroot() { - chroot "${FLAGS_chroot}" "$@" + PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" \ + chroot "${FLAGS_chroot}" "$@" } cleanup() {