lang en_US.UTF-8
keyboard us
timezone --utc America/Los_Angeles
auth --useshadow --enablemd5
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://download.meego.com/live/devel:/hardfp:/testrun/standard
repo --name=base --baseurl=http://download.meego.com/live/devel:/hardfp:/base/standard
repo --name=package-groups --baseurl=http://repo.meego.com/MeeGo/builds/trunk/daily/core/repos/armv7l/packages/ --excludepkgs=*
#repo --name=non-oss --baseurl=http://repo.meego.com/MeeGo/builds/trunk/1.1.80.13.20110105.1/non-oss/repos/armv7l/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego
%packages
@MeeGo Core
@MeeGo Base Development
@MeeGo X Window System
@X for Handsets
@MeeGo Compliance
@MeeGo Handset Desktop
@MeeGo Handset Applications
#@Nokia N900 Support
#@Nokia N900 Proprietary Support
#@Development Tools
xorg-x11-drv-fbdev
mesa-dri-swrast-driver
%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 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
# 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
# Create the /boot/uImage for u-boot support.
#mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n vmlinuz -d /boot/vmlinuz* /boot/uImage
%end
%post --nochroot
if [ -n "$IMG_NAME" ]; then
echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release
fi
%end