mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
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
This commit is contained in:
parent
24e10cb3db
commit
dd5e04a875
@ -48,18 +48,19 @@ diff -Nau old/etc/init/chrontel.conf new/etc/init/
|
|||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -r "${ROOT_FS_DIR}/etc/init/nvrm.conf" ]; then
|
if [ -r "${ROOT_FS_DIR}/etc/init/tegra-devices.conf" ]; then
|
||||||
patch -d "${ROOT_FS_DIR}" -Np1 << EOF
|
patch -d "${ROOT_FS_DIR}" -Np1 <<EOF
|
||||||
--- old/etc/init/nvrm.conf 2010-11-19 14:57:16.000000000 -0800
|
diff -Nau old/etc/init/tegra-devices.conf new/etc/init/
|
||||||
+++ new/etc/init/nvrm.conf 2010-11-19 16:52:48.000000000 -0800
|
--- old/etc/init/tegra-devices.conf 2011-04-08 10:40:01.000000000 -0500
|
||||||
@@ -2,7 +2,7 @@
|
+++ new/etc/init/tegra-devices.conf 2011-04-08 10:40:16.000000000 -0500
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
@@ -9,7 +9,7 @@ author "chromium-os-dev@chromium.
|
||||||
# found in the LICENSE file.
|
# ui runs, so we won't be racing with X starting. It will be left in
|
||||||
|
# "running" state by upstart so it won't re-launch on every ui restart
|
||||||
|
|
||||||
-start on starting ui
|
-start on starting ui
|
||||||
+start on starting factory
|
+start on starting factory
|
||||||
|
|
||||||
respawn
|
pre-start script
|
||||||
|
for i in nvmap nvos nvrm nvrpc nvfw tegra_avp tegra_sema tegra_rpc ; do
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user