#!/bin/bash # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. echo "Applying patch to init scripts." pushd ${ROOT_FS_DIR} patch -d ${ROOT_FS_DIR} -Np1 < ${ROOT_FS_DIR}/etc/init/factory.conf <> /var/log/factory.log cp -f site_tests/suite_Factory/control.full control ./bin/autotest control >> /var/log/factory.log 2>&1 fi end script EOF cat > ${ROOT_FS_DIR}/etc/init/autotest.conf <> /var/log/factory.log ./tools/autotest >> /var/log/factory.log 2>&1 end script EOF cat > ${ROOT_FS_DIR}/etc/init/tty1.conf < /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