2014-08-21 17:32:21 +02:00
|
|
|
# FIXME: ensure alternatives are correclty set
|
|
|
|
chroot $MOUNTDIR update-alternatives-set-dri
|
|
|
|
|
|
|
|
# configure favorites in kde menu
|
|
|
|
for f in /usr/share/applications/chromium-devel.desktop; do
|
|
|
|
chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f
|
|
|
|
done
|
|
|
|
|
2015-03-05 11:05:50 +01:00
|
|
|
# remove unused initramfs generated by kernel
|
|
|
|
for f in $MOUNTDIR/boot/initramfs-*.img*; do
|
|
|
|
case "$f" in
|
|
|
|
*failsafe*) continue ;;
|
|
|
|
*) rm -f $f ;;
|
|
|
|
esac
|
2014-08-21 17:32:21 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
prelink
|