# -*-mic2-options-*- -f raw --save-kernel --arch=armv7hl -*-mic2-options-*- # # Do not Edit! Generated by: # kickstarter.py # lang en_US.UTF-8 keyboard us timezone --utc America/Los_Angeles part / --size=1750 --ondisk mmcblk0p --fstype=ext4 # This is not used currently. It is here because the /boot partition # needs to be the partition number 3 for the u-boot usage. part swap --size=8 --ondisk mmcblk0p --fstype=swap # This partition is made so that u-boot can find the kernel part /boot --size=32 --ondisk mmcblk0p --fstype=vfat rootpw meego xconfig --startxonboot bootloader --timeout=0 desktop --autologinuser=meego --defaultdesktop=X-DUI --session="/usr/bin/mcompositor" user --name meego --groups audio,video --password meego repo --name=oss --baseurl=http://repo.meego.com/MeeGo/builds/trunk/@BUILD_ID@/repos/oss/armv7hl/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego repo --name=non-oss --baseurl=http://repo.meego.com/MeeGo/builds/trunk/@BUILD_ID@/repos/non-oss/armv7hl/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego %packages @Core @Compliance @Common User Interface @Console Tools @Tablet @Nokia N900 Support @Nokia N900 Proprietary Support @Samples and Demos @Tablet Applications kernel-adaptation-n900 %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 # Remove cursor from showing during startup BMC#14991 echo "xopts=-nocursor" >> /etc/sysconfig/uxlaunch # Set symlink pointing to .desktop file ln -sf x-meego-tb.desktop /usr/share/xsessions/default.desktop 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 # Normal bootchart is only 30 long so we use this to get longer bootchart during startup when needed. cat > /sbin/bootchartd-long << EOF #!/bin/sh exec /sbin/bootchartd -n 4000 EOF chmod +x /sbin/bootchartd-long # Use eMMC swap partition as MeeGo swap as well. # Because of the 2nd partition is swap for the partition numbering # we can just change the current fstab entry to match the eMMC partition. sed -i 's/mmcblk0p2/mmcblk1p3/g' /etc/fstab # Without this line the rpm don't get the architecture right. echo -n 'armv7hl-meego-linux' > /etc/rpm/platform # Also libzypp has problems in autodetecting the architecture so we force tha as well. # https://bugs.meego.com/show_bug.cgi?id=11484 echo 'arch = armv7hl' >> /etc/zypp/zypp.conf # Set the homekey for N900 through the gconf. gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ -s -t string /meego/ux/HomeKey XF86WebCam %end %post --nochroot if [ -n "$IMG_NAME" ]; then echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release fi %end