emoved all Adobe package installs from non Netbook ks files. We do not the the rights...
[meego-os-base:image-configurations-yyin2.git] / handset / handset-ia32-aava-mtf-devel.ks
1
2 # Do not Edit! Generated by:
3 # kickstarter.py
4
5
6 lang en_US.UTF-8
7 keyboard us
8 timezone --utc America/Los_Angeles
9 auth --useshadow --enablemd5
10 part / --size 1700 --ondisk sda --fstype=btrfs
11 rootpw meego 
12 xconfig --startxonboot
13 bootloader --timeout=2 --append="ro pci=noearly console=tty1 console=ttyS0 platformid=aava earlyprintk=mrst loglevel=8 s0ix_latency=160"
14 desktop --autologinuser=meego  --defaultdesktop=DUI --session="/usr/bin/mcompositor"
15 user --name meego  --groups audio,video --password meego 
16
17 repo   --name=core     --baseurl=http://repo.meego.com/MeeGo/builds/trunk/@BUILD_ID@/core/repos/ia32/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego
18 repo   --name=handset  --baseurl=http://repo.meego.com/MeeGo/builds/trunk/@BUILD_ID@/handset/repos/ia32/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego
19 repo   --name=non-oss  --baseurl=http://repo.meego.com/MeeGo/builds/trunk/@BUILD_ID@/non-oss/repos/ia32/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego
20
21 %packages 
22
23 @MeeGo Core
24 @MeeGo Base
25 @MeeGo X Window System
26 @X for Handsets 
27 @MeeGo Handset Base Support
28 @MeeGo Handset Desktop
29 @MeeGo Handset Applications
30 @MeeGo Handset Applications Branding
31 @Moorestown Support
32 @Development Tools
33 @MeeGo Handset Development
34 @MeeGo Handset Desktop Developement 
35
36 kernel-mrst
37
38 corewatcher
39 openssh-server
40
41 %end
42
43 %post
44
45 #Create Initrd if it does not exist and create symlinks for bzImage and initrd for kboot autoboot
46 echo "ro pci=noearly console=tty1 console=ttyS0 platformid=aava earlyprintk=mrst loglevel=8 s0ix_latency=160" > /boot/kboot.cmdline
47
48 echo "Checking for kernel......."
49 Kernel_Name=`ls /boot | grep vmlinuz`
50 if [ -f /boot/$Kernel_Name ]; then
51         Kernel_Ver=`echo $Kernel_Name | sed s/vmlinuz-//`
52         if [ -f /boot/initrd* ]; then
53                 echo "Initrd exists" > /dev/null
54         else
55                 /usr/libexec/mkmrstinitrd /boot/initrd-$Kernel_Ver.img $Kernel_Ver
56         fi
57         #Create Symlinks
58         cd /boot
59         ln -s $Kernel_Name bzImage
60         ln -s initrd-$Kernel_Ver.img initrd
61         ln -s kboot.cmdline cmdline
62 else
63         echo "No Kernels were found"
64 fi
65
66 # make sure there aren't core files lying around
67 rm -f /core*
68
69 # Prelink can reduce boot time
70 if [ -x /usr/sbin/prelink ]; then
71     /usr/sbin/prelink -aRqm
72 fi
73
74 # open serial line console for embedded system
75 echo "s0:235:respawn:/sbin/agetty -L 115200 ttyS0 vt100" >> /etc/inittab
76
77 # work around for poor key import UI in PackageKit
78 rm -f /var/lib/rpm/__db*
79 rpm --rebuilddb
80
81 # Make sure phonesim is autostarted
82 [ ! -e /etc/xdg/autostart/phonesim.desktop ] && cp /usr/share/applications/phonesim.desktop /etc/xdg/autostart/
83
84
85 %end
86
87 %post --nochroot
88 if [ -n "$IMG_NAME" ]; then
89     echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release
90 fi
91 %end