# -*-mic2-options-*- -f fs --record-pkgs=name --pkgmgr=yum --arch=armv7hl -*-mic2-options-*-
# 
# Do not Edit! Generated by:
# kickstarter.py
# 

lang en_US.UTF-8
keyboard us
timezone --utc UTC


rootpw mer 

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

repo --name=mer-core --baseurl=http://releases.merproject.org/releases/latest/builds/armv7hl/packages --save --debuginfo --source --debuginfo
repo --name=mer-core-debug --baseurl=http://releases.merproject.org/releases/latest/builds/armv7hl/debug --save --debuginfo --source
repo --name=adaptation-archos-gen9-pvr --baseurl=http://repo.merproject.org/obs/home:/wonko:/archos-g9-pa-adaptation:/pvr/latest_armv7hl/ --save --debuginfo --source
repo --name=mer-updates --baseurl=http://repo.merproject.org/obs/kde:/testing:/mer-updates/latest_armv7hl/ --save --debuginfo --source
repo --name=kde-mw --baseurl=http://repo.merproject.org/obs/kde:/testing:/mw/latest_armv7hl/ --save --debuginfo --source
repo --name=adaptation-archos-gen9 --baseurl=http://repo.merproject.org/obs/home:/wonko:/archos-g9-pa-adaptation/latest_armv7hl/ --save --debuginfo --source
repo --name=kde-apps --baseurl=http://repo.merproject.org/obs/kde:/testing:/apps/latest_armv7hl/ --save --debuginfo --source
repo --name=nemo-mw --baseurl=http://repo.merproject.org/obs/nemo:/testing:/mw/latest_armv7hl/ --save --debuginfo --source
repo --name=kde-ux --baseurl=http://repo.merproject.org/obs/kde:/testing:/ux/latest_armv7hl/ --save --debuginfo --source

%packages
@Mer Core Utils
@Mer Core
@Mer Connectivity
@Mer Minimal Xorg

kernel-adaptation-archos-gen9-pvr

nemo-mobile-session
contextkit-plugin-upower
plasma-mobile-config-archos-gen9-pvr
plasma-mobile-config-archos-gen9-pvr-blacklist
pvr-archos-gen9-kernel
pvr-omap4-libEGL
pvr-omap4-libGLESv1
pvr-omap4-libGLESv2
alsa-mixer-asound-state-archos-gen9
archos-udev-rules
libwl1271-bin
linux-firmware
pixcir-touch-callibration
pm-utils-config-wlan-archos
xorg-conf-archos-gen9
xorg-x11-drv-evdev
xorg-x11-drv-mtev
xorg-x11-server-Xorg-setuid
-connman
-connman-test
-connman-configs-mer
droid-sans-fonts
droid-sans-mono-fonts
droid-serif-fonts
liberation-fonts-common
liberation-mono-fonts
liberation-narrow-fonts
liberation-sans-fonts
liberation-serif-fonts
cpio
gzip
openssh-server
libqtwebkit-qmlwebkitplugin
xorg-x11-drv-fbdev
xorg-x11-drv-vesa
xorg-x11-utils-xhost
xorg-x11-server-Xorg-setuid
dbus-x11
libqtdeclarative4-gestures
libdeclarative-multimedia
alsa-utils
gdb
gst-plugins-good
ca-certificates
pulseaudio-policy-enforcement
iodbc
contour
contour-intro
declarative-plasmoids
kdelibs-data
kdelibs-imageio-plugins
kdelibs-plasma-runtime
kdepim-strigi-plugins
kde-runtime-desktoptheme
kde-runtime-emoticons
kde-runtime-nepomuk
kde-runtime-netattach
kde-runtime-newstuff
kde-runtime-plasma
kde-runtime-solid
kde-runtime-sounds
kde-runtime-wallet
konsole
kmix
plasma-active
plasma-mobile-mouse
startactive
virtuoso
virtuoso-drivers
virtuoso-server
kdialog
simple-tests
sample-media
ConsoleKit
ConsoleKit-libs
ConsoleKit-x11
dhclient
libpcap
ModemManager
NetworkManager
NetworkManager-glib
NetworkManager-kde
NetworkManager-kde-libs
plasmoid-networkmanagement
plasma-active-config-blacklist
bodega-client
ssu-vendor-data-kde
encfs
fuse
rlog
kpat
kwrite
plasma-mediacenter
-okular
%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*



# Prelink can reduce boot time
if [ -x /usr/sbin/prelink ]; then
    /usr/sbin/prelink -aRqm
fi

echo "export KDE_IS_PRELINKED=1">/etc/profile.d/kde.sh


 
cat > /usr/share/xsessions/X-MEEGO-HS.plasmaactive << EOF
[Desktop Entry]
Version=1.0
Name=plasma active session
Exec=/usr/bin/startactive
Type=Application
EOF

# Set symlink pointing to .desktop file 

ln -sf X-MEEGO-HS.plasmaactive /usr/share/xsessions/default.desktop

 
ln -s /lib/systemd/system/getty@.service /lib/systemd/system/getty.target.wants/getty@tty2.service

 
# kde-security: load the fuse module
#echo "/sbin/modprobe fuse" >> /etc/modprobe.d/dist.conf
mkdir -p /etc/modules-load.d/
echo "fuse" > /etc/modules-load.d/fuse.conf


if [ "@SSU_RELEASE_TYPE@" = "rnd" ]; then
    [ -n "@MER_RELEASE@" ] && ssu release -r @MER_RELEASE@
    [ -n "@FLAVOUR@" ] && ssu flavour @FLAVOUR@
    ssu mode 2
else
    [ -n "@MER_RELEASE@" ] && ssu release @MER_RELEASE@
    ssu mode 4
fi


%end

%post --nochroot

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



%end
