# -*-mic2-options-*- -f raw --save-kernel --arch=armv7hl --record-pkgs=name --pkgmgr=yum -*-mic2-options-*- # # Do not Edit! Generated by: # kickstarter.py # lang en_US.UTF-8 keyboard us timezone --utc America/Los_Angeles part / --size=3600 --ondisk mmcblk0p --fstype=ext4 # This is not used currently. It is here because the /boot partition # needs to be the partition number 3 for the u-boot usage. part swap --size=8 --ondisk mmcblk0p --fstype=swap # This partition is made so that u-boot can find the kernel part /boot --size=32 --ondisk mmcblk0p --fstype=vfat rootpw meego user --name meego --groups audio,video --password meego repo --name=oss-trunk-testing-daily --baseurl=http://download.meego.com/snapshots/latest-testing/repos/oss/armv7hl/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego repo --name=mtf-trunk-testing --baseurl=http://repo.pub.meego.com/Project:/MTF/MeeGo_Trunk_Testing/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego repo --name=ce-1.3-testing --baseurl=http://repo.pub.meego.com/Project:/DE:/Trunk:/Testing:/1.3/standard/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego repo --name=non-oss-trunk-testing-daily --baseurl=http://download.meego.com/snapshots/latest-testing/repos/non-oss/armv7hl/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego %packages @Compliance @Core @Base Development @Common User Interface @MTF Handset UX @Community Edition Base @Community Edition Libraries @Samples and Demos @Nokia N900 Support @Nokia N900 Proprietary Support kernel-adaptation-n900 basesystem gst-nokia-camera usb-moded-config-n900 xorg-x11-server-Xorg-setuid contextkit-maemo-battery-rx51-bin -syncevolution -contextkit-meego-battery-upower %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* # Remove cursor from showing during startup BMC#14991 echo "xopts=-nocursor" >> /etc/sysconfig/uxlaunch # work around for poor key import UI in PackageKit rm -f /var/lib/rpm/__db* rpm --rebuilddb # 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 # Fix for https://bugs.meego.com/show_bug.cgi?id=15963 mkdir -p /usr/share/themes/base/meegotouch/ cp -rf /usr/share/themes/meego/meegotouch/dialer /usr/share/themes/base/meegotouch/ # Also some other apps need fixes for other themes than meego cp -rf /usr/share/themes/meego/meegotouch/meegophotos /usr/share/themes/base/meegotouch/ cp -rf /usr/share/themes/meego/meegotouch/meegomusic /usr/share/themes/base/meegotouch/ cp -rf /usr/share/themes/meego/meegotouch/meegovideo /usr/share/themes/base/meegotouch/ # Hack to fix the plymouth based splash screen on N900 mv /usr/bin/ply-image /usr/bin/ply-image-real cat > /usr/bin/ply-image << EOF #!/bin/sh echo 32 > /sys/class/graphics/fb0/bits_per_pixel exec /usr/bin/ply-image-real $@ EOF chmod +x /usr/bin/ply-image # Remove some unwanted "engineering english" translations. rm -f /usr/share/l10n/meegotouch/recovery* # We can run the prelink only with qemu version 0.14 and newer. qemu-arm-static -version | grep "0\.14" if [ "x$?" == "x0" ]; then echo "QEMU version 0.14 running prelink." # Prelink can reduce boot time if [ -x /usr/sbin/prelink ]; then /usr/sbin/prelink -aRqm fi else echo "QEMU version is not 0.14 so not running prelink." fi # Create a session file for MTF. cat > /usr/share/xsessions/X-MEEGO-HS.desktop << EOF [Desktop Entry] Version=1.0 Name=mtf compositor session Exec=/usr/bin/mcompositor Type=Application EOF # Set symlink pointing to .desktop file ln -sf X-MEEGO-HS.desktop /usr/share/xsessions/default.desktop # Mask corewatcher.service to disable it on boot. # Do "rm /etc/systemd/system/corewatcher.service" to re-enable it. ln -s /dev/null /etc/systemd/system/corewatcher.service # ohm outputs "No protocol specified" message couple of times a second, because of videoep module. # See: https://bugs.meego.com/show_bug.cgi?id=22887 sed -i 's!ModulesBanned=!ModulesBanned=videoep!g' /etc/ohm/modules.ini # Tune tracker a bit. sed -i "s|Exec=|Exec=/usr/bin/ionice -c 3 -n 7 |g" /etc/xdg/autostart/tracker-miner-fs.desktop # Without this line the rpm don't get the architecture right. echo -n 'armv7hl-meego-linux' > /etc/rpm/platform # Also libzypp has problems in autodetecting the architecture so we force tha as well. # https://bugs.meego.com/show_bug.cgi?id=11484 echo 'arch = armv7hl' >> /etc/zypp/zypp.conf # 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 # 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 cat > /etc/powervr.ini << EOF [default] WSEGL_UseHWSync=1 ExternalZBufferMode=4 ParamBufferSize=1048576 [conform] ExternalZBufferMode=2 [conform-cl] ExternalZBufferMode=2 [GTF] ExternalZBufferMode=2 EOF # This causes problems with the bme in N900 images so removing for now. rm -f /lib/modules/*/kernel/drivers/power/bq27x00_battery.ko # Wait a bit more than the default 5s when starting application. mkdir -p /etc/xdg/mcompositor/ echo "close-timeout-ms 15000;" > /etc/xdg/mcompositor/new-mcompositor.conf %end %post --nochroot if [ -n "$IMG_NAME" ]; then echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release fi %end