mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 21:16:57 +02:00
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 <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
6b38b1e1af
commit
cbc51a0929
9
chroot_version_hooks.d/16_localtime
Normal file
9
chroot_version_hooks.d/16_localtime
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user