flatcar-scripts/chroot_version_hooks.d/23_vcs_migration
Mike Frysinger db0f538d44 update hooks: smooth out the dev-vcs migration
Not everyone got a smooth migration for git/subversion from dev-util
to dev-vcs, so add a hook to manually unmerge the old versions.  The
newer packages should recover gracefully after that.

BUG=chromium-os:24360
TEST=build_packages ran ver 23 upgrade and continued on

Change-Id: I0b56f0f0a8b8a7ebd64a4a664e5524f0b7828791
Reviewed-on: https://gerrit.chromium.org/gerrit/13663
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
Commit-Ready: Doug Anderson <dianders@chromium.org>
2012-01-05 11:55:44 -08:00

14 lines
561 B
Plaintext

# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# The dev-util -> dev-vcs migration isn't as smooth as we'd like due to
# the profiles/updates/ files only applying to packages installed from
# that overlay. Force unmerge the old packages if they were not auto
# migrated for the user. See https://gerrit.chromium.org/gerrit/13148
# for some in-depth details.
sudo CLEAN_DELAY=0 emerge -C dev-util/{git,subversion} net-misc/neon
exit 0