livegames-root: add firefox and set as favorite in kde menu

This commit is contained in:
Silvan Calarco 2011-06-15 18:02:20 +02:00
parent 181ff468d6
commit 8a04efe376
3 changed files with 7 additions and 2 deletions

View File

@ -62,7 +62,7 @@ mkdir -p $MOUNTDIR/root/Desktop/
cp $MOUNTDIR/usr/share/applications/openmamba-installer.desktop $MOUNTDIR/root/Desktop/
cp $MOUNTDIR/usr/share/applications/openmamba-bootrecover.desktop $MOUNTDIR/root/Desktop/
# configure fireofox as favorite in kde menu
# configure favorites in kde menu
for f in /usr/share/applications/mozilla-firefox3.desktop \
/opt/kde/share/applications/kaffeine.desktop /opt/kde/share/applications/amarok.desktop; do
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f

View File

@ -15,7 +15,7 @@ $(MAKEDIST_TARGET)-livegames-root: \
xorg-drv-input-synaptics \
ttf-freefont liberation-fonts-ttf \
gparted gag ntfs-3g samba-server \
compiz compiz-fusion-plugins-main \
firefox compiz compiz-fusion-plugins-main \
compiz-fusion-plugins-extra compizconfig-settings-manager \
macbook-tools livecd-tools \
kdebluetooth Mesa-tools driconf \

View File

@ -61,6 +61,11 @@ mkdir -p $MOUNTDIR/root/Desktop/
cp $MOUNTDIR/usr/share/applications/openmamba-installer.desktop $MOUNTDIR/root/Desktop/
cp $MOUNTDIR/usr/share/applications/openmamba-bootrecover.desktop $MOUNTDIR/root/Desktop/
# configure favorites in kde menu
for f in /usr/share/applications/mozilla-firefox3.desktop; do
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f
done
# prebuild postplug sound CARDID_DB (with some ugly trick to make it work from chroot)
[ -e $MOUNTDIR/lib/modules/`uname -r` ] || ln -s ${KERNEL_MAJVER}${KERNEL_EXTRAVER} $MOUNTDIR/lib/modules/`uname -r`
echo "SOUND_BUILD_CARDID_DB_ONLY=1 /etc/postplug/postplug.d/sound" >> $MOUNTDIR/tmp/sounddb.sh