# # Do not Edit! Generated by: # kickstarter.py # # http://meego.gitorious.org/meego-os-base/package-groups/blobs/master/comps.xml lang en_US.UTF-8 keyboard us timezone --utc America/New_York auth --useshadow --enablemd5 # part / --size 1500 --ondisk sda --fstype=ext3 rootpw meego xconfig --startxonboot # bootloader --timeout=0 --append="quiet" desktop --autologinuser=meego --defaultdesktop=xfce user --name meego --groups audio,video --password meego repo --name=core --baseurl=http://repo.meego.com/MeeGo/builds/trunk/@BUILD_ID@/core/repos/armv7l/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego repo --name=ivi --baseurl=http://download.meego.com/live/Trunk:/IVI/Trunk/ # Harbaum repository for omapfb xserver repo --name harbaum --baseurl=http://download.obs.maemo.org/home%3a/harbaum/MeeGo_current/ --save %packages --excludedocs @MeeGo Core @MeeGo Compliance @IVI Support @X for IVI @MeeGo Base @MeeGo X Window System @MeeGo IVI Applications @Basic Hardware Support # @Development Tools # Xorg needs a driver xorg-x11-drv-omapfb xorg-x11-utils-xinput xorg-x11-utils-xev devmem2 sample-media meego-ivi-configs #udiskie desktop-backgrounds-basic nodoka-filesystem # on n900 alsa comes as a dependency alsa-utils alsa-plugins-pulseaudio # Some extra tools and libs openssh-server qt-demos cutecontrol # helpful stuff for debugging emacs strace wget lsof -installer -installer-shell %end %post # open serial line console for embedded system echo "s0:235:respawn:/sbin/agetty -L 115200 ttyS2 vt100" >> /etc/inittab # # Copying desktop config file back to correct place for xfce to get the bluetooth applet running if [ -f /usr/share/gnome/autostart/bluetooth-applet.desktop ]; then cp -v /usr/share/gnome/autostart/bluetooth-applet.desktop /etc/xdg/autostart/. fi # # Add Carrick to to task bar icon, modifying desktop config file for this echo -e "[Desktop Entry]\nVersion=1.0\nName=Network Setup\nExec=/usr/libexec/carrick-connection-panel -s\nIcon=stock_cell-phone.png\nStartupNotify=true\nTerminal=false\nType=Application\nCategories=System\nGenericName=NetworkSetup" >> /usr/share/applications/network.desktop # save a little bit of space at least... rm -f /boot/initrd* # make sure there aren't core files lying around rm -f /core* # Tell alsa the correct audio card to use # echo -e "options snd-hda-intel index=0\noptions snd-timbi2s index=1" > /etc/modprobe.d/alsa.conf # # Starting Obexd client once X starts up echo -e "[Desktop Entry]\nName=Obex client\nComment=Obex Client\nExec=/usr/libexec/obex-client\nTerminal=false\nType=Application\nCategories=\nX-GNOME-Autostart-enable=true\nX-Moblin-Priority=Low\n" >> /etc/xdg/autostart/obex-client.desktop # # Copying correct audio ivi conf placed by the pkg bluetooth-ivi if [ -f /etc/bluetooth/audio-ivi.conf ]; then cp -v /etc/bluetooth/audio-ivi.conf /etc/bluetooth/audio.conf fi # Install working xorg.conf # # if [ -f /usr/share/iegd/xorg-dual-ts.conf ]; then # cp /usr/share/iegd/xorg-dual-ts.conf /etc/X11/xorg.conf # fi # work around for poor key import UI in PackageKit rm -f /var/lib/rpm/__db* rpm --rebuilddb if [ -f /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux ]; then rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux fi if [ -f /etc/pki/rpm-gpg/RPM-GPG-KEY-meego ]; then rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-meego fi echo "session=/usr/bin/startivi" >> /etc/sysconfig/uxlaunch # change DUI settings to not use fullscreen echo -e "export DUI_DECORATED=1" >> /etc/bashrc # set the default style for dui apps gconftool-2 --direct \ --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ -s -t string /meegotouch/theme/name meegite gconftool-2 --direct \ --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \ -s -t string /meegotouch/theme/target russelville sed -i -e 's:^OnlyShowIn=.*$:OnlyShowIn=GNOME;XFCE;X-IVI;:' /etc/xdg/autostart/bluetooth-applet.desktop sed -i -e 's:^OnlyShowIn=.*$:OnlyShowIn=GNOME;XFCE;X-IVI;:' /usr/share/applications/bluetooth-properties.desktop #sed -i -e 's:^OnlyShowIn=.*$:OnlyShowIn=GNOME;MOBLIN;X-IVI;:' /etc/xdg/autostart/gnome-settings-daemon.desktop # last minute work around for liveinst (installer-gui) trying to default to a dialog... sed -i -e 's:^Exec=:Exec=xterm -e :' /usr/share/applications/liveinst.desktop # ivihome doesn't support NoDisplay=true... echo 'OnlyShowIn=;' >> /usr/share/applications/gpk-install-catalog.desktop echo 'OnlyShowIn=;' >> /usr/share/applications/gpk-install-file.desktop # add swap support to fstab echo "/dev/mmcblk0p3 none swap sw 0 0" >> /etc/fstab # prevent evbug module being loaded echo "blacklist evbug" >> /etc/modprobe.d/blacklist.conf %end %post --nochroot if [ -n "$IMG_NAME" ]; then echo "BUILD: $IMG_NAME" >> $INSTALL_ROOT/etc/meego-release fi # add preset touchscreen calibration mkdir -p $INSTALL_ROOT/etc/X11/xorg.conf.d cat << HERE >> $INSTALL_ROOT/etc/X11/xorg.conf.d/50-input-touch.conf Section "InputClass" Identifier "evdev touchscreen catchall" MatchIsTouchscreen "on" MatchDevicePath "/dev/input/event*" Driver "evdev" # change the following for you own touchscreen if needed Option "Calibration" "80 1918 133 1863" EndSection HERE # install PVR driver if present GFX=GFX_4_00_00_01_libs.tar.gz if [ -f $GFX ]; then echo "GFX tarball found, installing PVR support ..." tar xfz $GFX target_libs.tar.gz tar xf target_libs.tar.gz -C $INSTALL_ROOT rm target_libs.tar.gz $INSTALL_ROOT/devmem2*.deb mv $INSTALL_ROOT/opt/pvr $INSTALL_ROOT/etc/init.d/pvr chmod +x $INSTALL_ROOT/etc/init.d/pvr # make sure, mesa links are now pointing to TI libs rm $INSTALL_ROOT/usr/lib/libEGL.so.1 rm $INSTALL_ROOT/usr/lib/libGLESv2.so.2 ln -s libEGL.so $INSTALL_ROOT/usr/lib/libEGL.so.1 ln -s libGLESv2.so $INSTALL_ROOT/usr/lib/libGLESv2.so.2 # Add links for pvr script echo "Creating PVR links ..." ln -s ../init.d/pvr $INSTALL_ROOT/etc/rc.d/rc5.d/S60pvr ln -s ../init.d/pvr $INSTALL_ROOT/etc/rc.d/rc6.d/K20pvr else echo "WARNING: $GFX does not exist, skipping PVR setup!" echo "You'll have to add this manually to the running system" fi %end