1 echo 'kickstart post script start'
2 if [ -d /etc/init.d ]; then
3 cp /etc/init.d/* /etc/rc.d/init.d/ -rdf
6 ln -sf /etc/rc.d/init.d /etc/init.d
9 ln -sf /opt/etc/localtime /etc/localtime
11 # Without this line the rpm don't get the architecture right.
12 # echo -n 'armv7l-tizen-linux' > /etc/rpm/platform
15 ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
16 ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
17 ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
22 ln -s /opt/etc/X11/xkb /usr/share/X11
24 echo "UDEV_PERSISTENT_STORAGE=no" >> /etc/sysconfig/udev
31 mkdir -p /opt/var/lib/dbus
33 rm -f /var/lib/rpm/__db*
34 mv -f /var/lib/rpm /opt/var/lib/
35 ln -sf /opt/var/lib/rpm /var/lib/rpm
38 if [ -e /usr/bin/build-backup-data.sh ]; then
39 /usr/bin/build-backup-data.sh