-# customize the slp-common post script
-
echo 'kickstart post script start'
-# to make udev happy
-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
-
if [ -d /etc/init.d ]; then
cp /etc/init.d/* /etc/rc.d/init.d/ -rdf
fi
rm -rf /etc/localtime
ln -sf /opt/etc/localtime /etc/localtime
-# Without this line the rpm doesn't get the architecture right.
-# echo -n 'armv7l-tizen-linux' > /etc/rpm/platform
-> /etc/rpm/platform
-
ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
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
if [ -e /usr/bin/build-backup-data.sh ]; then
/usr/bin/build-backup-data.sh
fi
+