# -*-mic2-options-*- --format=raw --compress-disk-image=none --package=tar.bz2 --arch=armv7l --save-kernel -*-mic2-options-*- # # Do not Edit! Generated by: # kickstarter.py # lang en_US.UTF-8 keyboard us timezone --utc America/Los_Angeles part / --size=2000 --ondisk mmcblk0p --fstype=ext3 # Add swap partition. It is a bit bad practise to have the swap on the same # device as root partition, but currently we do not want to do changes to the # N900 internal memories (emmc or nand). part swap --size=256 --ondisk mmcblk0p --fstype=swap rootpw meego xconfig --startxonboot bootloader --timeout=0 --append="quiet" desktop --autologinuser=meego --defaultdesktop=DUI --session="/usr/bin/mcompositor" user --name meego --groups audio,video --password meego repo --name=1.2-oss --baseurl=http://repo.meego.com/MeeGo/builds/1.1.99/@BUILD_ID@/repos/oss/armv7l/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego %packages @MeeGo Base Development @MeeGo Compliance @MeeGo Core @MeeGo Handset Applications @MeeGo Handset Desktop @MeeGo X Window System @Nokia N900 Support @X for Handsets kernel-adaptation-n900 kmod-kfgles2 libfgles2 mad-developer meegotouch-demos xorg-x11-drv-omapfb xorg-x11-utils-xev xorg-x11-utils-xdpyinfo %end %post # save a little bit of space at least... rm -f /boot/initrd* rm -f /var/lib/rpm/__db* rpm --rebuilddb # open serial line console for embedded system echo "s0:235:respawn:/sbin/agetty -L 115200 ttyO2 vt100" >> /etc/inittab # Set up proper target for libmeegotouch Config_Src=`gconftool-2 --get-default-source` gconftool-2 --direct --config-source $Config_Src \ -s -t string /meegotouch/target/name N900 # 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 # Allow meego user to execute any command echo "meego ALL=NOPASSWD: ALL" >> /etc/sudoers #QEMU image customization cat > /tmp/qemu.sh << EOF #!/bin/sh sed -i '/^PATH=/ a\\ ulimit -l unlimited\\ mknod -m 666 /dev/kfgles2 c 124 0\\ modprobe kfgles2 kfgles2_abi=1\\ chmod 666 /dev/kfgles2\\ echo "32" > /sys/devices/platform/omapfb/graphics/fb0/bits_per_pixel\\ ' /usr/sbin/meego-dm EOF chmod +x /tmp/qemu.sh /tmp/qemu.sh rm -f /tmp/qemu.sh %end %post --nochroot if [ -n "$IMG_NAME" ]; then echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release fi %end