# -*-mic2-options-*- -f raw --save-kernel --record-pkgs=name --pkgmgr=yum --arch=armv7l -*-mic2-options-*-
#
# Do not Edit! Generated by:
# kickstarter.py
#

lang en_US.UTF-8
keyboard us
timezone --utc America/Los_Angeles

# This partition is made so that u-boot can find the kernel
part /boot --size=32 --ondisk mmcblk0p --fstype=vfat

part / --size=3000 --ondisk mmcblk0p --fstype=ext4

part swap --size=600 --ondisk mmcblk0p --fstype=swap

rootpw meego

user --name meego --groups audio,video --password meego

repo --name=mer-core --baseurl=http://releases.merproject.org/releases/latest/builds/armv7l/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego

%packages

@Mer Core
@Mer Graphics Common
@Mer Connectivity
xorg-x11-xauth
xorg-x11-server-Xorg-setuid
xorg-x11-drv-evdev
xorg-x11-drv-fbdev
openssh-clients
openssh-server
qt-qmlviewer

%end

%post

# save a little bit of space at least...
rm -f /boot/initrd*

# make sure there aren't core files lying around
rm -f /core*

# work around for poor key import UI in PackageKit
rm -f /var/lib/rpm/__db*
rpm --rebuilddb

# Remove cursor from showing during startup BMC#14991
echo "xopts=-nocursor" >> /etc/sysconfig/uxlaunch

# Remove some unwanted "engineering english" translations.
rm -f /usr/share/l10n/meegotouch/recovery*
# Create a session file for MTF.
cat > /usr/share/xsessions/X-MEEGO-HS.desktop << EOF
[Desktop Entry]
Version=1.0
Name=qmlviewer session
Exec=/usr/bin/qmlviewer
Type=Application
EOF

%end

%post --nochroot
if [ -n "$IMG_NAME" ]; then
echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release
fi

%end