# # 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=handset --baseurl=http://repo.meego.com/MeeGo/builds/trunk/@BUILD_ID@/handset/repos/armv7l/packages/ --save --debuginfo --source --gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-meego repo --name=ivi --baseurl=http://stskeeps.subnetmask.net/ivi/builds/trunk/ivi/ivi/repos/armv7l/packages/ %packages --excludedocs @MeeGo Core @MeeGo Base @MeeGo X Window System @X for IVI @IVI Support @Basic Hardware Support @XFCE # @Development Tools #kernel-ivi xorg-x11-server-Xorg-setuid gnome-icon-theme nodoka-filesystem gvfs-obexftp gnome-icon-theme carrick cglaunch -hfp xorg-x11-drv-evtouch xorg-x11-drv-fbdev -cedevicemanager -odccm -bluez-gnome -gnome-bluetooth-gnome -gnome-packagekit obexd bluez-alsa qt qt-x11 -firefox meego-repos # needed for unsupported anaconda -t backdoor installation they do newt-python -installer -installer-shell -navit -navit-maps # for development openssh-server tar gzip wget qt-demos -mesa-iegd-libGL -mesa-iegd-dri-driver -xorg-x11-drv-iegd libmeegotouch libmeegotouch-qtstyle # added per sample UI request fennec-qt hfp totem system-config-date -nautilus gnome-settings-daemon # unstated dep.. yelp # added by a group, best I can figure -libmad -libopensync-plugin-evolution2 -libopensync-plugin-syncml -mtpfs -gnome-voice-control -sphinxbase -pocketsphinx %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 # Prelink can reduce boot time if [ -x /usr/sbin/prelink ]; then /usr/sbin/prelink -aRqm fi # add swap support to fstab echo "/dev/mmcblk0p3 none swap sw 0 0" >> /etc/fstab %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_3_01_00_06_libs.tar.gz if [ -f $GFX ]; then echo "GFX tarball found, installing PVR support ..." tar xvfz $GFX target_libs.tar.gz tar xf target_libs.tar.gz -C $INSTALL_ROOT rm target_libs.tar.gz mv $INSTALL_ROOT/opt/pvr $INSTALL_ROOT/etc/init.d/pvr chmod +x $INSTALL_ROOT/etc/init.d/pvr # 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!" fi %end