# -*-mic2-options-*- -f raw --save-kernel --arch=armv7l -*-mic2-options-*- # # Do not Edit! Generated by: # kickstarter.py # lang en_US.UTF-8 keyboard us timezone --utc America/Los_Angeles part / --size=2000 --ondisk mmcblk0p --fstype=ext3 # 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 xconfig --startxonboot desktop --autologinuser=meego --defaultdesktop=DUI --session="/usr/bin/xterm" #desktop --autologinuser=meego --defaultdesktop=DUI --session="/usr/bin/mcompositor" user --name meego --groups audio,video --password meego repo --name=core --baseurl=http://repo.meego.com/MeeGo/releases/1.1/core/repos/armv7l/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego01 repo --name=updates-core --baseurl=http://repo.meego.com/MeeGo/updates/1.1/core/repos/armv7l/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego01 repo --name=imx --baseurl=http://repo.pub.meego.com/home:/smoku:/imx/meego_1.1_core/ --save --debuginfo --source repo --name=local-1.1 --baseurl=file:///home/smoku/Devel/W7/repo/armv7l-1.1/ %packages @MeeGo Core @MeeGo Base #@MeeGo Compliance @Minimal MeeGo X Window System -acpid xorg-x11-drv-imx dreambook-w7-configs libamdgpu-bin libamdgpu-test # Xorg xorg-x11-server-Xorg-setuid xorg-x11-utils-xinput xorg-x11-utils-xev # Some packages are missing from core group: http://bugs.meego.com/show_bug.cgi?id=6765 gstreamer tracker geoclue sensorfw # Tools for testing/development wget evtest connman-test # Tool used for testing min # To measure the boot performance bootchart # Some development tools tar gdb strace vim-minimal %end %post # save a little bit of space at least... rm -f /boot/initrd* rm -f /var/lib/rpm/__db* rpm --rebuilddb # Remove cursor from showing during startup BMC#14991 #echo "xopts=-nocursor" >> /etc/sysconfig/uxlaunch # open serial line console for embedded system echo "s0:235:respawn:/sbin/agetty -L 115200 ttymxc0 vt100" >> /etc/inittab # 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 # Without this line the rpm don't get the architecture right. echo -n 'armv7l-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 = armv7l' >> /etc/zypp/zypp.conf # Mount stuff mkdir -p /mmc /android cat >> /etc/fstab << EOF /dev/mmcblk1p1 /mmc vfat defaults 0 0 /dev/mmcblk0p2 /android ext4 defaults 0 0 EOF # Modules stuff mkdir -p /android cat >> /etc/rc.local << EOF VER=\`uname -r\` if [ ! -d /lib/modules/\$VER ]; then mkdir /lib/modules/\$VER ln -s /android/lib/modules/* /lib/modules/\$VER depmod -a fi EOF %end %post --nochroot if [ -n "$IMG_NAME" ]; then echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release fi # Put some tools in TOOLS="tools/glestest" for FILE in $TOOLS; do if [ -f $FILE ]; then cp -v $FILE $INSTALL_ROOT/usr/bin/ fi; done %end