lang en_US.UTF-8 keyboard us timezone --utc America/Los_Angeles auth --useshadow --enablemd5 part / --size=1600 --ondisk mmcblk0p --fstype=btrfs # 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 desktop --autologinuser=meego --defaultdesktop=DUI --session=/usr/bin/mcompositor user --name meego --groups audio,video --password meego repo --name=core --baseurl=http://repo.meego.com/MeeGo/builds/1.0.99/preview/core/repos/armv7l/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego repo --name=handset --baseurl=http://repo.meego.com/MeeGo/builds/1.0.99/preview/handset/repos/armv7l/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/1.0.99/preview/non-oss/repos/armv7l/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego %packages @MeeGo Core @MeeGo Base @Minimal MeeGo X Window System @MeeGo Compliance @Nokia N900 Support @MeeGo Handset Desktop @MeeGo Handset Applications @MeeGo Handset Applications Branding @Nokia N900 Proprietary Support @X for Handsets @MeeGo Handset Base Support # Some development tools openssh-server wget strace bootchart # Some extra tools/libs connman-test xorg-x11-utils-xev # http://bugs.meego.com/show_bug.cgi?id=5651 -meegotouch-inputmethodbridges -meegotouch-inputmethodframework -meegotouch-inputmethodkeyboard -meegotouch-inputmethodengine %end %post # Prelink not included because of following bug # http://bugs.meego.com/show_bug.cgi?id=5217 # make sure there aren't core files lying around rm -f /core* # open serial line console for embedded system echo "s0:235:respawn:/sbin/agetty -L 115200 ttyS2 vt100" >> /etc/inittab # work around for poor key import UI in PackageKit rm -f /var/lib/rpm/__db* rpm --rebuilddb # Set up sane defaults for mthemedaemon settings Config_Src=`gconftool-2 --get-default-source` gconftool-2 --direct --config-source $Config_Src \ -s -t string /meegotouch/theme/target N900 # By default N900 has different value than Aava for showStatusBar sed -i 's!showStatusBar=false!showStatusBar=true!g' /etc/meegotouch/devices.conf # 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 %end %post --nochroot if [ -n "$IMG_NAME" ]; then echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release fi %end