# -*-mic2-options-*- -f mrstnand -*-mic2-options-*- # # Do not Edit! Generated by: # kickstarter.py # lang en_US.UTF-8 keyboard us timezone --utc America/Los_Angeles part / --size 2400 --ondisk sda --fstype=ext3 rootpw meego xconfig --startxonboot bootloader --timeout=2 --append="ro pci=noearly console=tty1 console=ttyS0 earlyprintk=mrst loglevel=8 nosplash s0ix_latency=160" desktop --autologinuser=meego --defaultdesktop=X-DUI user --name meego --groups audio,video --password meego repo --name=oss --baseurl=http://download.meego.com/snapshots/1.2.80.0.20110503.2/repos/oss/ia32/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego repo --name=non-oss --baseurl=http://download.meego.com/snapshots/1.2.80.0.20110503.2/repos/non-oss/ia32/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego repo --name=adobe --baseurl=http://linuxdownload.adobe.com/linux/i386/ --save %packages @MeeGo Core @MeeGo X Window System @MeeGo Tablet @MeeGo Tablet Applications @X for Medfield @Medfield Support @MeeGo Base Development @Development Tools kernel-adaptation-medfield %end %post # save a little bit of space at least... rm -f /boot/initrd* # Prelink can reduce boot time if [ -x /usr/sbin/prelink ]; then /usr/sbin/prelink -aRqm fi rm -f /var/lib/rpm/__db* rpm --rebuilddb #Create Initrd if it does not exist and create symlinks for bzImage and initrd for kboot autoboot echo "ro pci=noearly console=tty1 console=ttyS0 earlyprintk=mrst loglevel=8 nosplash s0ix_latency=160" > /boot/kboot.cmdline echo "Checking for kernel......." Kernel_Name=`ls /boot | grep vmlinuz` if [ -f /boot/$Kernel_Name ]; then Kernel_Ver=`echo $Kernel_Name | sed s/vmlinuz-//` if [ -f /boot/initrd* ]; then echo "Initrd exists" > /dev/null else /usr/libexec/mkmrstinitrd /boot/initrd-$Kernel_Ver.img $Kernel_Ver fi #Create Symlinks cd /boot ln -s $Kernel_Name bzImage ln -s initrd-$Kernel_Ver.img initrd ln -s kboot.cmdline cmdline else echo "No Kernels were found" fi # verify link of flash plugin if [ -f /usr/lib/flash-plugin/setup ]; then sh /usr/lib/flash-plugin/setup install rm -f /root/oldflashplugins.tar.gz fi echo "DISPLAYMANAGER=\"uxlaunch\"" >> /etc/sysconfig/desktop echo "session=/usr/bin/mcompositor" >> /etc/sysconfig/uxlaunch gconftool-2 --direct \ --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ -s -t string /meegotouch/target/name tablet gconftool-2 --direct \ --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ -s -t string /meego/ux/theme 1024-600-10 gconftool-2 --direct \ --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \ -s -t bool /meego/ux/ShowPanelsAsHome true # Copy boot and shutdown images cp /usr/share/themes/1024-600-10/images/system/boot-screen.png /usr/share/plymouth/splash.png cp /usr/share/themes/1024-600-10/images/system/shutdown-screen.png /usr/share/plymouth/shutdown-1024x600.png # work around for maemo6 sensor crash rm /usr/lib/qt4/plugins/sensors/libqtsensors_meego.so # work around for camera rm /usr/lib/gstreamer-0.10/libgstcamerabin.so # open serial line console for embedded system echo "s0:235:respawn:/sbin/agetty -L 115200 ttyS0 vt100" >> /etc/inittab %end %post --nochroot if [ -n "$IMG_NAME" ]; then echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release fi %end