Commit 7b12443
fix(smoke-chroot): add -E flag to sudo awf for PATH preservation
Without -E flag, sudo does not preserve environment variables,
causing AWF_HOST_PATH to be set from sudo's default PATH instead
of the user's PATH with toolcache directories. This resulted in
Python/Node version mismatches between host and chroot.
The -E flag ensures PATH is passed to AWF, allowing proper
resolution of host toolcache binaries in chroot mode.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 9dab6f3 commit 7b12443
2 files changed
Lines changed: 55 additions & 101 deletions
0 commit comments