From 780933db565a4ebbd17aae498dedf49446565707 Mon Sep 17 00:00:00 2001 From: Ryan Cui Date: Thu, 2 Jun 2011 19:58:32 -0700 Subject: [PATCH] Add chroot version 2 upgrade script Add script that adds depot_tools and chromite/bin to the PATH globally using /etc/env.d BUG=16093 TEST=Ran make_chroot and run_chroot_version_hooks Change-Id: I6011d7436f18ce46dfe215f01068e862d2567273 Reviewed-on: http://gerrit.chromium.org/gerrit/2022 Reviewed-by: David James Tested-by: Ryan Cui --- chroot_version_hooks.d/2_path_update | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 chroot_version_hooks.d/2_path_update diff --git a/chroot_version_hooks.d/2_path_update b/chroot_version_hooks.d/2_path_update new file mode 100644 index 0000000000..6372e5fdac --- /dev/null +++ b/chroot_version_hooks.d/2_path_update @@ -0,0 +1,15 @@ +# Copyright (c) 2011 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. + +target="/etc/env.d/99chromiumos" +sudo_clobber "${target}" <