diff options
author | Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> | 2012-11-14 16:31:46 +0100 |
---|---|---|
committer | Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> | 2012-11-14 16:31:46 +0100 |
commit | 1d3e9f9a462b9bf669cbeace83052ad3c9e73ee2 (patch) | |
tree | 2dafbec4662cb1b5b6a7f7a653ebeefa18ba5cdd | |
parent | ff1d85cbe681d814d86c3c09d8231036ac1e92fd (diff) | |
download | kickstart-master.tar.gz kickstart-master.tar.bz2 kickstart-master.zip |
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
-rw-r--r-- | ivi-1.0-demo-amb-dual-screen.ks | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/ivi-1.0-demo-amb-dual-screen.ks b/ivi-1.0-demo-amb-dual-screen.ks new file mode 100644 index 0000000..6a43c4a --- /dev/null +++ b/ivi-1.0-demo-amb-dual-screen.ks @@ -0,0 +1,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 |