From 3ed755217248fdedc7e800908e6a44a25bbc8bf1 Mon Sep 17 00:00:00 2001 From: "Graydon, Tracy" Date: Mon, 4 Mar 2013 15:27:10 -0800 Subject: [PATCH] UI-console switching --- custom/scripts/ivi-2.0-symlinks.post | 10 ++++++---- ivi/ivi-2.0.yaml | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) mode change 100644 => 100755 custom/scripts/ivi-2.0-symlinks.post diff --git a/custom/scripts/ivi-2.0-symlinks.post b/custom/scripts/ivi-2.0-symlinks.post old mode 100644 new mode 100755 index 5ad7d40..922b887 --- a/custom/scripts/ivi-2.0-symlinks.post +++ b/custom/scripts/ivi-2.0-symlinks.post @@ -1,8 +1,10 @@ echo 'kickstart post script start' # inittab hack to fix console - UI switching -sed -ri 's/--noclear tty1/tty3/' /etc/inittab -sed -ri 's/tty2/tty4/' /etc/inittab +sed -ri '/^1\:2345\:respawn/d' /etc/inittab +echo '' >> /etc/inittab +echo '1:12345:respawn:/sbin/mingetty tty3' >> /etc/inittab +echo '2:12345:respawn:/sbin/mingetty tty4' >> /etc/inittab if [ -d /etc/init.d ]; then @@ -31,10 +33,10 @@ if [ -z "$RESULT" ]; then else echo "Already setted domain for test auto configuration" fi -# ims-service domain setting + cat > /usr/bin/press << EOF -#!/bin/sh +!/bin/sh JUNK="SLP" diff --git a/ivi/ivi-2.0.yaml b/ivi/ivi-2.0.yaml index c052db5..c1ba409 100755 --- a/ivi/ivi-2.0.yaml +++ b/ivi/ivi-2.0.yaml @@ -39,6 +39,6 @@ PrePackages: - vconf - tizen-coreutils PostScripts: - - ivi-2.0-symlinks.post + - ivi-2.0-symlinks - symlink-root - boot-into-ui -- 2.7.4