1 # -*-mic2-options-*- -f loop --pack-to=@NAME@-rs.zip -*-mic2-options-*-
4 # Do not Edit! Generated by:
10 timezone --utc America/Los_Angeles
11 part / --size 1624 --ondisk sda --fstype=ext3 --label platform
14 bootloader --timeout=0 --append="rootdelay=5"
16 desktop --autologinuser=tizen
17 user --name tizen --groups audio,video --password 'tizen'
19 repo --name=Tizen-base --baseurl=http://109.123.123.185/download.tizendev.org/not-exists/ --save --gpgkey=0 --ssl_verify=no
20 repo --name=Tizen-main --baseurl=http://109.123.123.185/download.tizendev.org/not-exist/ --save --gpgkey=0 --ssl_verify=no
50 libprivilege-control-conf
53 libsecurity-server-client
68 echo 'kickstart post script start'
69 if [ -d /etc/init.d ]; then
70 cp /etc/init.d/* /etc/rc.d/init.d/ -rdf
73 ln -sf /etc/rc.d/init.d /etc/init.d
76 ln -sf /opt/etc/localtime /etc/localtime
77 #rm -rf /usr/share/zoneinfo
78 #ln -sf /opt/share/zoneinfo /usr/share/zoneinfo
80 # Without this line the rpm don't get the architecture right.
81 echo -n 'armv7l-tizen-linux' > /etc/rpm/platform
83 ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
84 ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
85 ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
90 /opt/apps/com.samsung.menu-screen/bin/menuscreen_initdb
92 # ims-service domain setting
93 RESULT=`grep "192.168.0.163 config.45001.rcse" /etc/hosts`
94 if [ -z "$RESULT" ]; then
95 echo "Set domain for auto configuration"
96 echo "192.168.0.163 config.45001.rcse" >> /etc/hosts
98 echo "Already setted domain for test auto configuration"
100 # ims-service domain setting
102 cat > /usr/bin/press << EOF
107 [ "\$1" ] && TIMEOUT="\$1" || TIMEOUT="1"
109 echo "Press return key to stop scripts"
110 read -t \$TIMEOUT JUNK
113 chmod +x /usr/bin/press
115 # [systemd] we need suid-root X for it to work from user-session
116 # Xorg will move to system, so this is temporary
117 chmod 4755 /usr/bin/Xorg
119 ln -s /opt/etc/X11/xkb /usr/share/X11
121 echo "UDEV_PERSISTENT_STORAGE=no" >> /etc/sysconfig/udev
124 rm -rf /usr/share/man
125 rm -rf /usr/share/doc
129 mkdir -p /opt/var/lib/dbus
132 # read-writeable /var will be bind-mounted to /opt/var leaving rootfs read-only
133 # below script more generic
135 rm -f /var/lib/rpm/__db*
142 # [systemd] some firstboot script like kbd could be done to image-creatation stage
143 # this patch is for it.
144 for i in /etc/preconf.d/*; do
148 if [ -e /usr/bin/build-backup-data.sh ]; then
149 /usr/bin/build-backup-data.sh
152 /etc/make_info_file.sh Ref.Device-210 Tizen_Ref.Device-210_`date +%Y%m%d.%H%M`
154 ln -sf /etc/info.ini /opt/etc/info.ini
155 ln -sf /etc/info.ini /usr/etc/info.ini
157 echo "s1:12345:respawn:/sbin/agetty -L 115200 ttyMFD3 vt100" >> /etc/inittab