flatcar-scripts/mod_for_test_scripts/750enableExternalExtensions
Dale Curtis 86213e6795 Fix path for upcoming Autotest relocation.
Additional change for the relocation of Autotest from /home/autotest to /usr/local/autotest. See http://codereview.chromium.org/6090004/

Change-Id: Id6f7ac6e93124414b0b6c6bed48efccfd982a49d

BUG=chromium-os:10799
TEST=Will test as whole with rest of /usr/local changes.

Review URL: http://codereview.chromium.org/5972012
2011-01-10 11:50:01 -08:00

16 lines
549 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 2010 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.
#
# Create a symlink to external_extensions.json to allow autotests
# to launch a packaged extension at login.
echo "Creating external_extensions.json symlink"
LINK_TARGET="/usr/local/autotest/tests/external_extensions.json"
EXT_DIR="${ROOT_FS_DIR}/opt/google/chrome/extensions"
FILE="${EXT_DIR}/external_extensions.json"
mkdir -p $EXT_DIR
ln -sf $LINK_TARGET $FILE