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>
This commit is contained in:
Mike Frysinger 2012-01-04 15:59:57 -05:00 committed by Gerrit
parent 93e7b78eea
commit db0f538d44

View File

@ -0,0 +1,13 @@
# 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