mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
Remove external_extensions.json from test images
Remove external_extensions.json to further reduce the differences between test and base images. /opt/google/chrome/extensions/external_extensions.json was a symlink to /usr/local/autotest/tests/external_extensions.json (broken by default) so that a test could put an extension at the destination to make chrome load it at login. This was an ugly hack from the time when we didn't have a way to install extensions during tests on chromeos. power_LoadTest has been updated to not need this hack. BUG=None TEST=None Change-Id: Ibee30315aef725d69725fcf9c5ea72687d030f4e Reviewed-on: https://gerrit.chromium.org/gerrit/33255 Reviewed-by: Chris Masone <cmasone@chromium.org> Commit-Ready: Nirnimesh <nirnimesh@chromium.org> Tested-by: Nirnimesh <nirnimesh@chromium.org>
This commit is contained in:
parent
76452baac3
commit
80c426856a
@ -1,15 +0,0 @@
|
||||
#!/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
|
Loading…
x
Reference in New Issue
Block a user