Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: mod_for_factory_scripts/510populateGbbFiles

Issue 3111014: Populate the GBB blob files to factory image. (Closed) Base URL: http://src.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mod_for_factory_scripts/500populateQualDbs ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 TEST_DIR="${ROOT_FS_DIR}/usr/local/autotest/site_tests/factory_WriteGBB"
8
9 pushd ${TEST_DIR} 1> /dev/null
10
11 GBB_FILE="gbb_${BOARD}*"
12 FIRST_GBB_FILE=$(ls $GBB_FILE 2> /dev/null | head -1)
13 if [ -e "${FIRST_GBB_FILE}" -o "${BOARD}" = "x86-generic" ]; then
14 # Remove GBB files belonging to other boards
15 ls gbb* 2> /dev/null | grep -v gbb_${BOARD} | xargs rm -f
16 else
17 echo "No GBB file found at: ${GBB_FILE}"
18 fi
19
20 popd 1> /dev/null
OLDNEW
« no previous file with comments | « mod_for_factory_scripts/500populateQualDbs ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698