From cbc51a09293165b998e44ba6c78d4b8f47b32054 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 31 Oct 2011 11:24:20 -0400 Subject: [PATCH] update hooks: punt old localtime symlinks Older core ebuilds would install /etc/localtime symlinks that'd confuse the build system, so scrub them now that the ebuilds in question have been fixed up. See http://gerrit.chromium.org/gerrit/10960 for more info. BUG=chromium-os:21850 TEST=`./build_packages --board=x86-alex` cleaned my old /etc/._cfg*_localtime symlinks Change-Id: I3b3d2a42e77d259cf9eda380f791e8108fef7458 Reviewed-on: https://gerrit.chromium.org/gerrit/10965 Reviewed-by: Mike Frysinger Tested-by: Mike Frysinger Commit-Ready: Mike Frysinger --- chroot_version_hooks.d/16_localtime | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 chroot_version_hooks.d/16_localtime diff --git a/chroot_version_hooks.d/16_localtime b/chroot_version_hooks.d/16_localtime new file mode 100644 index 0000000000..7e1ba00307 --- /dev/null +++ b/chroot_version_hooks.d/16_localtime @@ -0,0 +1,9 @@ +# 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. + +# We used to install an /etc/localtime symlink for the cros sdk when +# we really only wanted it for the target boards. +sudo rm -f /etc/._cfg????_localtime + +exit 0