From dd5e04a875f5ccbbd4cff11422fe2b883486fd25 Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Fri, 8 Apr 2011 10:00:01 -0700 Subject: [PATCH] fix factory scripts based on nvrm changes Change-Id: Iaa0d1d8325894d3e300275bab99a04e4f83ec9b4 BUG=chromium-os:13971 TEST=Run mod_image_for_test -f, make sure it doesn't break. Review URL: http://codereview.chromium.org/6826001 --- mod_for_factory_scripts/200patchInitScript | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/mod_for_factory_scripts/200patchInitScript b/mod_for_factory_scripts/200patchInitScript index 5812b63fdb..fa041d1772 100755 --- a/mod_for_factory_scripts/200patchInitScript +++ b/mod_for_factory_scripts/200patchInitScript @@ -48,18 +48,19 @@ diff -Nau old/etc/init/chrontel.conf new/etc/init/ EOF fi -if [ -r "${ROOT_FS_DIR}/etc/init/nvrm.conf" ]; then - patch -d "${ROOT_FS_DIR}" -Np1 << EOF ---- old/etc/init/nvrm.conf 2010-11-19 14:57:16.000000000 -0800 -+++ new/etc/init/nvrm.conf 2010-11-19 16:52:48.000000000 -0800 -@@ -2,7 +2,7 @@ - # Use of this source code is governed by a BSD-style license that can be - # found in the LICENSE file. +if [ -r "${ROOT_FS_DIR}/etc/init/tegra-devices.conf" ]; then + patch -d "${ROOT_FS_DIR}" -Np1 <