Moved disable_idle_suspend to rootfs from stateful partition for test images.

BUG=chromium-os:6204
TEST=Ran mod_image_for_test.sh, mounted resulting image and verfied
     disable_idle_suspend now shows up under /usr/share/power_manager
     instead of /var/lib/power_manager

Change-Id: Ia34787b364cd5ffa199efc4a36b5d9d691a33c5a

Review URL: http://codereview.chromium.org/3326011
This commit is contained in:
Sameer Nanda 2010-09-07 09:34:12 -07:00
parent 03a4dad734
commit f7cf2ca225

View File

@ -4,5 +4,5 @@
# Use of this source code is governed by a BSD-style license that can be # Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file. # found in the LICENSE file.
mkdir -p "${STATEFUL_DIR}/var/lib/power_manager" mkdir -p "${ROOT_FS_DIR}/usr/share/power_manager"
echo 1 > "${STATEFUL_DIR}/var/lib/power_manager/disable_idle_suspend" echo 1 > "${ROOT_FS_DIR}/usr/share/power_manager/disable_idle_suspend"