Skip to content

Commit e89fdc5

Browse files
Mossakaclaude
andcommitted
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 40fa6d2 commit e89fdc5

2 files changed

Lines changed: 58 additions & 104 deletions

File tree

0 commit comments

Comments
 (0)