mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
Revert "upgrade_chroot: integrate upgrade hooks into chroot updater"
BUG=none (breaks bot) TEST=none This reverts commit 3427593fccdd16248931797dc2e37b267151e759. Change-Id: I42967a80607e8b90f93048ed9fe7d846aab05ac0 Reviewed-on: http://gerrit.chromium.org/gerrit/900 Reviewed-by: Zdenek Behan <zbehan@chromium.org> Tested-by: Zdenek Behan <zbehan@chromium.org>
This commit is contained in:
parent
8cfdd3d266
commit
77f27827f1
@ -14,9 +14,6 @@
|
||||
# Script must run inside the chroot
|
||||
assert_inside_chroot "$@"
|
||||
|
||||
# Do not run as root
|
||||
assert_not_root_user
|
||||
|
||||
# Flags
|
||||
DEFINE_boolean usepkg $FLAGS_TRUE \
|
||||
"Use binary packages to bootstrap."
|
||||
@ -32,9 +29,6 @@ eval set -- "${FLAGS_ARGV}"
|
||||
# so will die prematurely if 'set -e' is specified before now.
|
||||
set -e
|
||||
|
||||
# Run version hooks as pre-update
|
||||
${SCRIPTS_DIR}/run_chroot_version_hooks
|
||||
|
||||
info "Updating chroot"
|
||||
|
||||
EMERGE_FLAGS="-uDNv --with-bdeps=y"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user