| Index: mod_for_test_scripts/000recordRootFsSize
|
| diff --git a/mod_for_test_scripts/000recordRootFsSize b/mod_for_test_scripts/000recordRootFsSize
|
| deleted file mode 100755
|
| index b8ce0ef09c57b0d64baf83bcbce2960007f04ea6..0000000000000000000000000000000000000000
|
| --- a/mod_for_test_scripts/000recordRootFsSize
|
| +++ /dev/null
|
| @@ -1,22 +0,0 @@
|
| -#!/bin/bash
|
| -
|
| -# Copyright (c) 2009 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.
|
| -#
|
| -# Record the original size of the image without modifications from
|
| -# cros_mod_image_for_test.sh, for reporting and monitoring through autotest.
|
| -
|
| -# 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_FS_DIR}/root/bytes-rootfs-prod"
|
| -if [[ ! -f "${FILE}" ]]; then
|
| - # This will complain it cannot find a valid mtab so keep it quiet.
|
| - # Grep for rootfs mount at end of line otherwise we will get rootfs/var
|
| - # mount point as well.
|
| - df -B1 -P 2>/dev/null | grep "${ROOT_FS_DIR}$" | awk '{ print $3 }' > \
|
| - "${FILE}"
|
| -else
|
| - echo " Not modifying existing ${FILE}."
|
| -fi
|
|
|