From db0f538d4456ce44eec452086afe08c340d66a7b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 4 Jan 2012 15:59:57 -0500 Subject: [PATCH] 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 Tested-by: Mike Frysinger Commit-Ready: Doug Anderson --- chroot_version_hooks.d/23_vcs_migration | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 chroot_version_hooks.d/23_vcs_migration diff --git a/chroot_version_hooks.d/23_vcs_migration b/chroot_version_hooks.d/23_vcs_migration new file mode 100644 index 0000000000..5a2d7ff1f5 --- /dev/null +++ b/chroot_version_hooks.d/23_vcs_migration @@ -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