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/repo/download.tizen.org/releases/2.2/tizen-2.2_20130719.3/repos/tizen-base/ia32/packages/ --save --gpgkey=0 --ssl_verify=no
20 repo --name=Tizen-main --baseurl=http://109.123.123.185/repo/download.tizen.org/releases/2.2/tizen-2.2_20130719.3/repos/tizen-main/ia32/packages/ --save --gpgkey=0 --ssl_verify=no
23 echo 'kickstart post script start'
24 if [ -d /etc/init.d ]; then
25 cp /etc/init.d/* /etc/rc.d/init.d/ -rdf
28 ln -sf /etc/rc.d/init.d /etc/init.d
31 ln -sf /opt/etc/localtime /etc/localtime
32 #rm -rf /usr/share/zoneinfo
33 #ln -sf /opt/share/zoneinfo /usr/share/zoneinfo
35 # Without this line the rpm don't get the architecture right.
36 echo -n 'armv7l-tizen-linux' > /etc/rpm/platform
38 ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
39 ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
40 ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""
45 /opt/apps/com.samsung.menu-screen/bin/menuscreen_initdb
47 # ims-service domain setting
48 RESULT=`grep "192.168.0.163 config.45001.rcse" /etc/hosts`
49 if [ -z "$RESULT" ]; then
50 echo "Set domain for auto configuration"
51 echo "192.168.0.163 config.45001.rcse" >> /etc/hosts
53 echo "Already setted domain for test auto configuration"
55 # ims-service domain setting
57 cat > /usr/bin/press << EOF
62 [ "\$1" ] && TIMEOUT="\$1" || TIMEOUT="1"
64 echo "Press return key to stop scripts"
65 read -t \$TIMEOUT JUNK
68 chmod +x /usr/bin/press
70 # [systemd] we need suid-root X for it to work from user-session
71 # Xorg will move to system, so this is temporary
72 chmod 4755 /usr/bin/Xorg
74 ln -s /opt/etc/X11/xkb /usr/share/X11
76 echo "UDEV_PERSISTENT_STORAGE=no" >> /etc/sysconfig/udev
84 mkdir -p /opt/var/lib/dbus
87 # read-writeable /var will be bind-mounted to /opt/var leaving rootfs read-only
88 # below script more generic
90 rm -f /var/lib/rpm/__db*
97 # [systemd] some firstboot script like kbd could be done to image-creatation stage
98 # this patch is for it.
99 for i in /etc/preconf.d/*; do
103 if [ -e /usr/bin/build-backup-data.sh ]; then
104 /usr/bin/build-backup-data.sh
107 /etc/make_info_file.sh Ref.Device-210 Tizen_Ref.Device-210_`date +%Y%m%d.%H%M`
109 ln -sf /etc/info.ini /opt/etc/info.ini
110 ln -sf /etc/info.ini /usr/etc/info.ini
112 echo "s1:12345:respawn:/sbin/agetty -L 115200 ttyMFD3 vt100" >> /etc/inittab