mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-30 06:52:03 +01:00
update_chroot: update crossdev before updating toolchains
BUG=none TEST=run it Change-Id: Ie2420cf3fa9ca9295b7ee51300166cc65dd82fcd Reviewed-on: https://gerrit.chromium.org/gerrit/24040 Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: Zdenek Behan <zbehan@chromium.org> Tested-by: Zdenek Behan <zbehan@chromium.org>
This commit is contained in:
parent
df2a1e2bd4
commit
42184b4d2c
@ -83,6 +83,9 @@ fi
|
|||||||
# In first pass, update portage and toolchains. Lagged updates of both
|
# In first pass, update portage and toolchains. Lagged updates of both
|
||||||
# can cause serious issues later.
|
# can cause serious issues later.
|
||||||
if [ "${FLAGS_skip_toolchain_update}" -eq "${FLAGS_FALSE}" ]; then
|
if [ "${FLAGS_skip_toolchain_update}" -eq "${FLAGS_FALSE}" ]; then
|
||||||
|
# First update crossdev.
|
||||||
|
sudo -E ${EMERGE_CMD} ${EMERGE_FLAGS} crossdev
|
||||||
|
|
||||||
TOOLCHAIN_FLAGS=""
|
TOOLCHAIN_FLAGS=""
|
||||||
# This should really only be skipped while bootstrapping.
|
# This should really only be skipped while bootstrapping.
|
||||||
if [ "${FLAGS_usepkg}" -eq "${FLAGS_FALSE}" ]; then
|
if [ "${FLAGS_usepkg}" -eq "${FLAGS_FALSE}" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user