blob: 6a43c4a0ea126bcc5fc4090d07e7e0cf1aafb4f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
#
# This is a kickstart file that generates a complete demo image for Tizen IVI 1.0 codebase.
# It demonstrates GhostCluster and the automotive-message-broker while playing back a HD video
# on the second (passenger) screen.
# To generate such image, use the following command-line:
# mic cr raw <this file> --release=latest --generate-bmap --compress-image=bz2
#
lang en_US.UTF-8
keyboard us
timezone --utc America/Los_Angeles
part /boot --size 1024 --ondisk sda --fstype=ext4 --label boot
part /opt --size 4096 --ondisk sda --fstype=ext4 --label opt
part / --size 10240 --ondisk sda --fstype=ext4 --label platform
rootpw tizen
xconfig --startxonboot
# The autosuspend parameter is to work around TIVI-162
bootloader --timeout=0 --append="rootwait rootfstype=ext4 usbcore.autosuspend=-1 quiet"
desktop --autologinuser=tizen
user --name tizen --groups audio,video --password 'tizen'
repo --name=Tizen-base --baseurl=https://download.tizen.org/snapshots/trunk/ivi/@BUILD_ID@/repos/base/ia32/packages/
repo --name=Tizen-ivi --baseurl=https://download.tizen.org/snapshots/trunk/ivi/@BUILD_ID@/repos/ivi/ia32/packages/
repo --name=Tizen-ivi-demo --baseurl=http://download.tizen.org/live/Tizen:/IVI:/demo/Tizen_IVI_standard/ --save
%packages
@IVI Base
@IVI Devel
@IVI Support PC
kernel-adaptation-intel-automotive
# Demo packages
@IVI X PC
@IVI Demos Support
sample-media
udev-rules-netbook
-initscripts
-insserv
%end
%post
cp -a /lib/systemd/system/* /usr/lib/systemd/system
mkdir -p /opt/home/app
chown app: /opt/home/app
mkdir -p /home
ln -s /opt/home/app /home/app
ln -sf /opt/home/root /root
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
if [[ (-h /root) ]]; then
rm /root
mkdir /root
fi
# Set up uxlaunch to start openbox automatically
if [ -e /etc/sysconfig/uxlaunch ]; then
if [ -e /usr/bin/openbox-session ]; then
#Comment out current session
sed -i 's/session/#session/' /etc/sysconfig/uxlaunch
# Add new session line
echo 'session=/usr/bin/openbox-session' >> /etc/sysconfig/uxlaunch
fi
fi
%end
%post --nochroot
if [ -n "$IMG_NAME" ]; then
echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/tizen-release
fi
%end
|