mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 06:01:41 +02:00
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:
parent
93e7b78eea
commit
db0f538d44
13
chroot_version_hooks.d/23_vcs_migration
Normal file
13
chroot_version_hooks.d/23_vcs_migration
Normal 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
|
Loading…
x
Reference in New Issue
Block a user