makedist.inc.sh: move /tmp cleanup code after post_install_rpms
livecd, livedvd: use kickoffcfg to configure firefox, kaffeine and amarok as KDE favorite apps
This commit is contained in:
parent
2136019aab
commit
0b1a3bc1fe
@ -105,9 +105,6 @@ find $MOUNTDIR/usr/share/locale \
|
|||||||
-maxdepth 1 -mindepth 1 -type d \
|
-maxdepth 1 -mindepth 1 -type d \
|
||||||
! -name it* ! -name en* ! -name C ! -name l10n -exec rm -rf {} \;
|
! -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 ||
|
#$CHROOTCMD chkconfig --add acpid ||
|
||||||
# { echo "$mkcd_me: fatal error, aborting installation" >&2
|
# { echo "$mkcd_me: fatal error, aborting installation" >&2
|
||||||
@ -148,6 +145,10 @@ fi
|
|||||||
|
|
||||||
post_install_rpms
|
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
|
[ "$QEMU_COPIED_FOR_INST" ] && post_qemu
|
||||||
|
|
||||||
# copy static files for target
|
# 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/
|
cp $MOUNTDIR/usr/share/applications/openmamba-bootrecover.desktop $MOUNTDIR/root/Desktop/
|
||||||
|
|
||||||
# configure firefox as favorite in kde menu
|
# configure firefox 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)
|
# 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`
|
[ -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/
|
cp $MOUNTDIR/usr/share/applications/openmamba-bootrecover.desktop $MOUNTDIR/root/Desktop/
|
||||||
|
|
||||||
# configure firefox as favorite in kde menu
|
# configure firefox 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)
|
# 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`
|
[ -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