| OLD | NEW | 
|    1 #!/bin/bash |    1 #!/bin/bash | 
|    2  |    2  | 
|    3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |    3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 
|    4 # Use of this source code is governed by a BSD-style license that can be |    4 # Use of this source code is governed by a BSD-style license that can be | 
|    5 # found in the LICENSE file. |    5 # found in the LICENSE file. | 
|    6  |    6  | 
|    7 echo "Applying patch to init scripts." |    7 echo "Applying patch to init scripts." | 
|    8 pushd ${ROOT_FS_DIR} |    8 pushd ${ROOT_FS_DIR} | 
|    9  |    9  | 
 |   10 touch ${ROOT_FS_DIR}/root/.factory_test | 
|   10 patch -d ${ROOT_FS_DIR} -Np1 <<EOF |   11 patch -d ${ROOT_FS_DIR} -Np1 <<EOF | 
|   11 --- old/etc/init/ui.conf        2010-04-28 21:28:38.886069000 -0700 |   12 --- old/etc/init/ui.conf        2010-04-28 21:28:38.886069000 -0700 | 
|   12 +++ new/etc/init/ui.conf        2010-04-28 21:29:42.676163000 -0700 |   13 +++ new/etc/init/ui.conf        2010-04-28 21:29:42.676163000 -0700 | 
|   13 @@ -5,7 +5,7 @@ |   14 @@ -5,7 +5,7 @@ | 
|   14  description   "Chrome OS user interface" |   15  description   "Chrome OS user interface" | 
|   15  author        "chromium-os-dev@googlegroups.com" |   16  author        "chromium-os-dev@googlegroups.com" | 
|   16   |   17   | 
|   17 -start on stopping startup |   18 -start on stopping startup | 
|   18 +start on never |   19 +start on never | 
|   19  stop on starting halt or starting reboot |   20  stop on starting halt or starting reboot | 
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   67  |   68  | 
|   68 start on started factory |   69 start on started factory | 
|   69 stop on starting halt or starting reboot |   70 stop on starting halt or starting reboot | 
|   70  |   71  | 
|   71 respawn |   72 respawn | 
|   72 script |   73 script | 
|   73 tail -n 48 -F /var/log/factory.log > /dev/tty1 |   74 tail -n 48 -F /var/log/factory.log > /dev/tty1 | 
|   74 end script |   75 end script | 
|   75 EOF |   76 EOF | 
|   76  |   77  | 
|   77 patch -d ${ROOT_FS_DIR} -Np1 <<EOF |  | 
|   78 diff -Naur old/sbin/chromeos_startup new/sbin/chromeos_startup |  | 
|   79 --- old/sbin/chromeos_startup   2010-04-05 21:33:52.000000000 -0700 |  | 
|   80 +++ new/sbin/chromeos_startup   2010-04-05 21:38:02.000000000 -0700 |  | 
|   81 @@ -20,18 +20,12 @@ |  | 
|   82   |  | 
|   83  # Moblin trick: Disable blinking cursor. Without this a splash screen |  | 
|   84  # will show a distinct cursor shape even when the cursor is set to none. |  | 
|   85 -echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink |  | 
|   86 +# echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink |  | 
|   87   |  | 
|   88  # Since we defer udev until later in the boot process, we pre-populate /dev |  | 
|   89  # with the set of devices needed for X and other early services to run. |  | 
|   90  cp -a -f /lib/chromiumos/devices/* /dev |  | 
|   91   |  | 
|   92 -# Splash screen! |  | 
|   93 -if [ -x /usr/bin/ply-image ] |  | 
|   94 -then |  | 
|   95 -  /usr/bin/ply-image /usr/share/chromeos-assets/images/login_splash.png & |  | 
|   96 -fi |  | 
|   97 - |  | 
|   98  mount -n -t tmpfs tmp /tmp |  | 
|   99  mount -n -t tmpfs -onosuid,nodev shmfs /dev/shm |  | 
|  100  mount -n -t devpts -onoexec,nosuid,gid=5,mode=0620 devpts /dev/pts |  | 
|  101 EOF |  | 
|  102  |  | 
|  103 popd |   78 popd | 
| OLD | NEW |