lang en_US.UTF-8 keyboard us timezone --utc America/Los_Angeles auth --useshadow --enablemd5 part / --size %DISKSIZE% --ondisk sda --fstype=ext3 rootpw meego xconfig --startxonboot desktop --autologinuser=meego --defaultdesktop=DUI --session=/usr/bin/duihome\ -software\ -show-cursor user --name meego --groups audio,video --password meego repo --name=MeeGo-Core-%ARMVER% --baseurl=http://repo.meego.com/MeeGo/builds/trunk/%MEEGOVER%/core/repos/%ARMVER%/packages repo --name=MeeGo-Handset-%ARMVER% --baseurl=http://repo.meego.com/MeeGo/builds/trunk/%MEEGOVER%/handset/repos/%ARMVER%/packages #repo --name=uboot-omap4-panda-%ARMVER% --baseurl=http://download.meego.com/live/home:/nm:/bootloader:/u-boot/u-boot-omap4panda #repo --name=xloader-omap4-panda-%ARMVER% --baseurl=http://download.meego.com/live/home:/nm:/bootloader:/ti:/x-loader/x-loader repo --name=panda2demo --baseurl=http://download.meego.com/live/home:/nm:/pandademo2/devel_kernel_MeeGo_1.0 # repository for uboot mikimage tool repo --name=uboot-mkimage --baseurl=http://download.meego.com/live/home:/marko.saukko/standard %packages kernel-panda kernel-panda-devel u-boot-omap4_panda x-loader-omap4430panda @MeeGo Core @MeeGo Base @Minimal Meego X Window System @X for Handsets @MeeGo Handset Desktop @MeeGo Handset Applications #dirvers for Xorg xorg-x11-drv-omapfb xorg-x11-utils-xinput xorg-x11-utils-xev # install mkimage uboot-mkimage # extra tools openssh-server wget strace %end %post # remove unused package rpm -e xorg-x11-meego-configs #rpm -e meegotouch-inputmethodkeyboard # 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 # open serial line console for embedded system grep ttyO2 /etc/inittab if [ "$?" != "0" ] ; then echo "o2:235:respawn:/sbin/agetty -L 115200 ttyO2 vt100" >> /etc/inittab fi grep ttyO2 /etc/securetty if [ "$?" != "0" ] ; then echo "ttyO2" >> /etc/securetty fi # convert vmlinuz to uImage using uboot tools 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 echo "DVM: %MEEGOVER%" >> $INSTALL_ROOT/etc/meego-release fi # we don't need this files for now rm -f $INSTALL_ROOT/etc/X11/xorg.conf.d/00-input-default.conf rm -f $INSTALL_ROOT/etc/X11/xorg.conf.d/10-input-synaptics.conf # make sure fennec shows cursor sed -i '5iARGS=\"$ARGS -show-cursor\"' $INSTALL_ROOT/usr/bin/fennec # enable software renderer to run apps echo 'export M_USE_SOFTWARE_RENDERING=1' >> $INSTALL_ROOT/home/meego/.bashrc # configuration for omap video cat << OMAPFB >> $INSTALL_ROOT/etc/X11/xorg.conf.d/00-device-omapfb.conf Section "Device" Identifier "omapfb" driver "omapfb" Option "fb" "/dev/fb0" EndSection OMAPFB # General configuaration for X cat << XCONF > $INSTALL_ROOT/etc/X11/xorg.conf.d/00-xorg-full.conf Section "ServerFlags" Option "AutoAddDevices" "false" Option "DontZap" "false" EndSection Section "InputDevice" Identifier "Keyboard1" Driver "evdev" Option "Device" "/dev/input/event1" # multiplexed HID mouse input device Option "AutoRepeat" "250 30" Option "XkbRules" "xorg" Option "XkbModel" "pc105" # supports volume keys; pc104 doesn't Option "CoreKeyboard" EndSection Section "InputDevice" Identifier "USBMouse" Driver "evdev" Option "Device" "/dev/input/event2" # multiplexed HID mouse input device Option "Protocol" "Auto" Option "ZAxisMapping" "4 5" # support a wheel as buttons 4 and 5 Option "Emulate3Buttons" "true" # just in case it is a 2 button Option "CorePointer" Option "Width" "1280" Option "Height" "1024" EndSection Section "ServerLayout" Identifier "DefaultLayout" InputDevice "USBMouse" "CorePointer" InputDevice "Keyboard1" "CoreKeyboard" EndSection XCONF # configuration for 1280x1024 resolution monitor cat << SCREEN > $INSTALL_ROOT/usr/share/meegotouch/targets/Default.conf [resolution] X=1280 Y=1024 [ppi] X=254 Y=254 [allowedOrientations] keyboardOpen = 0 keyboardClosed = 0,270 [other] showStatusBar=true SCREEN %end