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

Unified Diff: src/scripts/mod_for_test_scripts/000recordRootFsSize

Issue 845007: Change mod_for_test_script to make it work with arm os image. (Closed)
Patch Set: patch 6. Created 10 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/scripts/mod_for_test_scripts/300changePassword » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/mod_for_test_scripts/000recordRootFsSize
diff --git a/src/scripts/mod_for_test_scripts/000recordRootFsSize b/src/scripts/mod_for_test_scripts/000recordRootFsSize
index e926695a669c92a14f14de8f9a728dc98520aa32..983ee00116b0cdfbfca52d4611fe29d39772dd1e 100755
--- a/src/scripts/mod_for_test_scripts/000recordRootFsSize
+++ b/src/scripts/mod_for_test_scripts/000recordRootFsSize
@@ -10,7 +10,7 @@
# Record the size, but don't overwrite the file as its existence indicates
# that this image is not a production image.
echo "Recording production image size."
-FILE="/root/bytes-rootfs-prod"
+FILE="${ROOT_FS_DIR}/root/bytes-rootfs-prod"
if [[ ! -f "${FILE}" ]]; then
# This will complain it cannot find a valid mtab so keep it quiet.
df -B1 / 2>/dev/null | tail -1 | awk '{ print $3 }' > "${FILE}"
« no previous file with comments | « no previous file | src/scripts/mod_for_test_scripts/300changePassword » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698