mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-24 23:21:17 +02:00
update_chroot: pass env vars to cros_setup_toolchain.
BUG=chromium-os:33007 TEST=remote trybot (chromiumos-sdk) with this CL. Change-Id: If8a0de45eebf158bfc51aa87348b3c96c6c2626e Reviewed-on: https://gerrit.chromium.org/gerrit/33848 Reviewed-by: Zdenek Behan <zbehan@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: asharif <asharif@chromium.org> Tested-by: asharif <asharif@chromium.org>
This commit is contained in:
parent
e81a23207f
commit
89b8a8bf85
@ -95,7 +95,7 @@ if [ "${FLAGS_skip_toolchain_update}" -eq "${FLAGS_FALSE}" ]; then
|
|||||||
TOOLCHAIN_FLAGS+=( --nousepkg )
|
TOOLCHAIN_FLAGS+=( --nousepkg )
|
||||||
fi
|
fi
|
||||||
# Expand the path before sudo, as root doesn't have the same path magic.
|
# Expand the path before sudo, as root doesn't have the same path magic.
|
||||||
sudo $(type -p cros_setup_toolchains) "${TOOLCHAIN_FLAGS[@]}"
|
sudo -E $(type -p cros_setup_toolchains) "${TOOLCHAIN_FLAGS[@]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Build cros_workon packages when they are changed.
|
# Build cros_workon packages when they are changed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user