flatcar-scripts/chroot_version_hooks.d/49_update_libtool
Allen Martin 642c3be66e Update libtool to keep in sync with toolchain
Force a re-emerge of host libtool

BUG=chromium-os:37334
TEST=Added fake "4.6.x-google" version string to libtool and ran
./update_chroot and verified libtool was re-emerged

Change-Id: I82d3da181831a7718b230305c5aca7899d591c2d
Signed-off-by: Allen Martin <amartin@nvidia.com>
Reviewed-on: https://gerrit.chromium.org/gerrit/39858
Reviewed-by: Mike Frysinger <vapier@chromium.org>
2012-12-18 18:18:26 -08:00

13 lines
364 B
Plaintext

# 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.
# Update libtool to make sure it's in sync with toolchain.
if grep -q 4.6.x-google /usr/bin/libtool; then
info "Rebuilding libtool after gcc upgrade"
sudo -E emerge libtool -q
fi
exit 0