From 25b6f07b7cfb80626debb4f906efdc381e1a1459 Mon Sep 17 00:00:00 2001 From: Zdenek Behan Date: Fri, 13 May 2011 02:28:05 +0200 Subject: [PATCH] chroot_upgrade: rename things before it's too late The name chroot_upgrade is rather confusing since we already have "chroot_update" and those two scripts will be chained. It was the original name before update_chroot existed. BUG=none TEST=run the new one, see it work the same Change-Id: I851fc4a0f28e32a9bbd01b2e4ddedbaffc6abf1c Reviewed-on: http://gerrit.chromium.org/gerrit/876 Reviewed-by: David James Tested-by: Zdenek Behan --- {chroot_upgrade.d => chroot_version_hooks.d}/1_init | 0 cros_upgrade_chroot => run_chroot_version_hooks | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {chroot_upgrade.d => chroot_version_hooks.d}/1_init (100%) rename cros_upgrade_chroot => run_chroot_version_hooks (98%) diff --git a/chroot_upgrade.d/1_init b/chroot_version_hooks.d/1_init similarity index 100% rename from chroot_upgrade.d/1_init rename to chroot_version_hooks.d/1_init diff --git a/cros_upgrade_chroot b/run_chroot_version_hooks similarity index 98% rename from cros_upgrade_chroot rename to run_chroot_version_hooks index b872cb28d6..becd7fe036 100755 --- a/cros_upgrade_chroot +++ b/run_chroot_version_hooks @@ -25,7 +25,7 @@ DEFINE_boolean skipfirst "${FLAGS_FALSE}" \ FLAGS "$@" || exit 1 VERSION_FILE=/etc/cros_chroot_version -UPGRADE_D="$(dirname ${0})/chroot_upgrade.d" +UPGRADE_D="$(dirname ${0})/chroot_version_hooks.d" function update_version() { sudo touch ${VERSION_FILE}