scripts: Update factory mod diff for boot-complete job.

I'm changing the boot-complete init script to start on
login-prompt-visible instead of login-prompt-ready in
http://codereview.chromium.org/5868004/.

This also adds a missing description and fixes an outdated
email address.

BUG=chromium-os:10349
TEST=ran mod_image_for_test.sh with --factory and with --factory_install and checked that resulting image contained boot-complete.conf change

Review URL: http://codereview.chromium.org/5975002

Change-Id: I709bc2b4eaaccd222b31388633522c32514206ac
This commit is contained in:
Daniel Erat 2010-12-17 16:36:02 -08:00
parent 40fa0ded27
commit 3a13f91195

View File

@ -20,8 +20,8 @@ patch -d "${ROOT_FS_DIR}" -Np1 <<EOF
diff -Naur old/etc/init/boot-complete.conf new/etc/init/boot-complete.conf diff -Naur old/etc/init/boot-complete.conf new/etc/init/boot-complete.conf
--- old/etc/init/boot-complete.conf 2010-07-21 11:22:30.000000000 +0800 --- old/etc/init/boot-complete.conf 2010-07-21 11:22:30.000000000 +0800
+++ new/etc/init/boot-complete.conf 2010-07-21 22:13:36.000000000 +0800 +++ new/etc/init/boot-complete.conf 2010-07-21 22:13:36.000000000 +0800
@@ -7 +7 @@ @@ -15 +15 @@
-start on login-prompt-ready -start on login-prompt-visible
+start on started udev +start on started udev
EOF EOF
@ -31,7 +31,7 @@ cat >"${ROOT_FS_DIR}/etc/init/factory.conf" <<EOF
# found in the LICENSE file. # found in the LICENSE file.
description "Chrome OS factory startup stub" description "Chrome OS factory startup stub"
author "chromium-os-dev@googlegroups.com" author "chromium-os-dev@chromium.org"
start on stopped udev-addon start on stopped udev-addon
stop on starting halt or starting reboot stop on starting halt or starting reboot
@ -55,6 +55,9 @@ cat >"${ROOT_FS_DIR}/etc/init/factorylog.conf" <<EOF
# 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.
description "Print Chrome OS factory log to tty3"
author "chromium-os-dev@chromium.org"
start on started factory start on started factory
stop on starting halt or starting reboot stop on starting halt or starting reboot