blob: 392ce77d8d5be0f01d71fdda0a3c323756061cca [file] [log] [blame]
# Copyright 2015 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.
# Manually force java to be upgraded to the new version when updating.
sudo CLEAN_DELAY=0 emerge -Cq \
'<dev-java/icedtea-bin-7' \
'<virtual/jre-1.7' \
'<virtual/jdk-1.7'
if ! portageq has_version / '>dev-java/icedtea-bin-7'; then
sudo ~/trunk/chromite/bin/parallel_emerge -1ug '>dev-java/icedtea-bin-7'
fi
sudo java-config --set-system-vm 1