makedist.inc.sh: move /tmp cleanups after post_install_rpms
livecd, livedvd: use kickoffcfg to configure firefox, kaffeine and amarok as KDE favorite apps
This commit is contained in:
parent
e21557a598
commit
181ff468d6
@ -105,10 +105,6 @@ find $MOUNTDIR/usr/share/locale \
|
||||
-maxdepth 1 -mindepth 1 -type d \
|
||||
! -name it* ! -name en* ! -name C ! -name l10n -exec rm -rf {} \;
|
||||
|
||||
# cleanup: prevent generating a cleanfs script crash due to a unionfs bug
|
||||
rm -rf $MOUNTDIR/tmp/.ICE-unix
|
||||
rm -rf $MOUNTDIR/tmp/kde-root
|
||||
|
||||
#$CHROOTCMD chkconfig --add acpid ||
|
||||
# { echo "$mkcd_me: fatal error, aborting installation" >&2
|
||||
# { (exit 1); exit 1; }; }
|
||||
@ -148,6 +144,10 @@ fi
|
||||
|
||||
post_install_rpms
|
||||
|
||||
# cleanup: prevent generating a cleanfs script crash due to a unionfs bug
|
||||
rm -rf $MOUNTDIR/tmp/.ICE-unix
|
||||
rm -rf $MOUNTDIR/tmp/kde-root
|
||||
|
||||
[ "$QEMU_COPIED_FOR_INST" ] && post_qemu
|
||||
|
||||
# copy static files for target
|
||||
|
@ -62,7 +62,9 @@ cp $MOUNTDIR/usr/share/applications/openmamba-installer.desktop $MOUNTDIR/root/D
|
||||
cp $MOUNTDIR/usr/share/applications/openmamba-bootrecover.desktop $MOUNTDIR/root/Desktop/
|
||||
|
||||
# configure fireofox as favorite in kde menu
|
||||
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite /usr/share/applications/mozilla-firefox3.desktop
|
||||
for f in /usr/share/applications/mozilla-firefox3.desktop /opt/kde/share/applications/kaffeine.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`
|
||||
|
@ -63,7 +63,10 @@ cp $MOUNTDIR/usr/share/applications/openmamba-installer.desktop $MOUNTDIR/root/D
|
||||
cp $MOUNTDIR/usr/share/applications/openmamba-bootrecover.desktop $MOUNTDIR/root/Desktop/
|
||||
|
||||
# configure fireofox as favorite in kde menu
|
||||
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite /usr/share/applications/mozilla-firefox3.desktop
|
||||
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
|
||||
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`
|
||||
|
Loading…
Reference in New Issue
Block a user