mod_for_factory: adjust patch to boot-complete

mod_for_factory patches boot-complete since it disables the ui job,
meaning that login-prompt-visible will never happen. The correct
place to move "boot-complete" to is "started boot-services" - this
means all boot services are done.

system-services depends on boot-complete, so this means that without
ui, system-services will be run on started boot-services which is
what we want.

BUG=chromium-os:16079
TEST=none

Change-Id: I93b86eefe8df9da2e9fbff75aa1e9b80a1f9ad1b
Reviewed-on: http://gerrit.chromium.org/gerrit/2323
Reviewed-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Nick Sanders <nsanders@chromium.org>
Tested-by: Scott James Remnant <keybuk@chromium.org>
This commit is contained in:
Scott James Remnant 2011-06-08 15:25:42 -07:00
parent a4fca6f29b
commit d5061a7be9

View File

@ -23,7 +23,7 @@ diff -Naur old/etc/init/boot-complete.conf new/etc/init/boot-complete.conf
+++ new/etc/init/boot-complete.conf 2010-07-21 22:13:36.000000000 +0800
@@ -15 +15 @@
-start on login-prompt-visible
+start on started udev
+start on started boot-services
EOF
if [ -r "${ROOT_FS_DIR}/etc/init/update-engine.conf" ]; then