18 lines
433 B
Bash
18 lines
433 B
Bash
# 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
|
|
|
|
# remove unused initramfs generated by kernel
|
|
for f in $MOUNTDIR/boot/initramfs-*.img*; do
|
|
case "$f" in
|
|
*failsafe*) continue ;;
|
|
*) rm -f $f ;;
|
|
esac
|
|
done
|
|
|
|
prelink
|