TIVI-256: virtual keyboard fix
[profile/ivi/image-configurations.git] / custom / scripts / ivi-2.0-symlinks.post
index 5a8d822..c88784e 100644 (file)
@@ -8,6 +8,10 @@ ln -sf /bin/busybox /sbin/blkid
 # where in the world is xinitrc?
 ln -sf /etc/X11/xinitrc /usr/etc/X11/xinitrc
 
+# inittab hack to fix console - UI switching
+sed -ri 's/--noclear tty1/tty3/' /etc/inittab
+sed -ri 's/tty2/tty4/' /etc/inittab
+
 # modprobe fuse for sqlfs-mount
 /bin/sed -i "3i /sbin/modprobe fuse || :" /etc/rc.d/init.d/sqlfs-mount 
 
@@ -57,6 +61,9 @@ EOF
 chmod +x /usr/bin/press
 
 ln -s /opt/etc/X11/xkb /usr/share/X11
+ln -s /home/app /opt/home/app
+ln -s /home/developer /opt/home/developer
+
 
 echo "UDEV_PERSISTENT_STORAGE=no" >> /etc/sysconfig/udev