Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(515)

Unified Diff: src/scripts/mod_for_factory_scripts/200patchInitScript

Issue 2132008: Update factory installer, factory test (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: integrate autupdate server changes Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/scripts/make_factory_package.sh ('k') | src/scripts/mod_for_factory_scripts/400configAutotest » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/mod_for_factory_scripts/200patchInitScript
diff --git a/src/scripts/mod_for_factory_scripts/200patchInitScript b/src/scripts/mod_for_factory_scripts/200patchInitScript
index 17f0598ea8df52077cff8835ff0437c9b71c3a72..cd877e56a589a15ed179054ce544994b8cc9dd2f 100755
--- a/src/scripts/mod_for_factory_scripts/200patchInitScript
+++ b/src/scripts/mod_for_factory_scripts/200patchInitScript
@@ -7,6 +7,7 @@
echo "Applying patch to init scripts."
pushd ${ROOT_FS_DIR}
+touch ${ROOT_FS_DIR}/root/.factory_test
patch -d ${ROOT_FS_DIR} -Np1 <<EOF
--- old/etc/init/ui.conf 2010-04-28 21:28:38.886069000 -0700
+++ new/etc/init/ui.conf 2010-04-28 21:29:42.676163000 -0700
@@ -74,30 +75,4 @@ tail -n 48 -F /var/log/factory.log > /dev/tty1
end script
EOF
-patch -d ${ROOT_FS_DIR} -Np1 <<EOF
-diff -Naur old/sbin/chromeos_startup new/sbin/chromeos_startup
---- old/sbin/chromeos_startup 2010-04-05 21:33:52.000000000 -0700
-+++ new/sbin/chromeos_startup 2010-04-05 21:38:02.000000000 -0700
-@@ -20,18 +20,12 @@
-
- # Moblin trick: Disable blinking cursor. Without this a splash screen
- # will show a distinct cursor shape even when the cursor is set to none.
--echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink
-+# echo 0 > /sys/devices/virtual/graphics/fbcon/cursor_blink
-
- # Since we defer udev until later in the boot process, we pre-populate /dev
- # with the set of devices needed for X and other early services to run.
- cp -a -f /lib/chromiumos/devices/* /dev
-
--# Splash screen!
--if [ -x /usr/bin/ply-image ]
--then
-- /usr/bin/ply-image /usr/share/chromeos-assets/images/login_splash.png &
--fi
--
- mount -n -t tmpfs tmp /tmp
- mount -n -t tmpfs -onosuid,nodev shmfs /dev/shm
- mount -n -t devpts -onoexec,nosuid,gid=5,mode=0620 devpts /dev/pts
-EOF
-
popd
« no previous file with comments | « src/scripts/make_factory_package.sh ('k') | src/scripts/mod_for_factory_scripts/400configAutotest » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698