2019-08-04 16:30:42 +02:00
|
|
|
## configure favorites in kde menu
|
|
|
|
#for f in /usr/share/applications/chromium.desktop /opt/kde/share/applications/kaffeine.desktop; do
|
|
|
|
# chroot $MOUNTDIR /opt/kde/bin/kickoffcfg --add-favorite $f
|
|
|
|
#done
|
2012-03-07 01:46:24 +01:00
|
|
|
|
2021-01-31 13:26:05 +01:00
|
|
|
if [ -e $MOUNTDIR/etc/lxdm/lxdm.conf ]; then
|
|
|
|
sed -i "s|# session=.*|session=/usr/bin/startkde-x11|" $MOUNTDIR/etc/lxdm/lxdm.conf
|
|
|
|
sed -i "s|# autologin.*|autologin=liveuser|" $MOUNTDIR/etc/lxdm/lxdm.conf
|
|
|
|
fi
|
|
|
|
|
|
|
|
## remove some documentation to save space
|
|
|
|
#for f in ChangeLog Changelog CHANGES TODO NEWS README README.txt; do
|
|
|
|
# find $MOUNTDIR/usr/share/doc -name $f -exec rm -f {} \;
|
|
|
|
#done
|
2012-03-07 01:46:24 +01:00
|
|
|
|
2012-05-10 14:48:53 +02:00
|
|
|
# disable filesystem autocheck due to a kernel bug in hannspad (blkid generated kernel crash)
|
|
|
|
if [ "$ARCH" = "arm" ]; then
|
|
|
|
sed -i "s|FS_PARTS_UPDATE=yes|FS_PARTS_UPDATE=no|" $MOUNTDIR/etc/sysconfig/postplug
|
|
|
|
sed -i "s|FS_SWAP_UPDATE=yes|FS_SWAP_UPDATE=no|" $MOUNTDIR/etc/sysconfig/postplug
|
|
|
|
fi
|
|
|
|
|
2019-08-04 16:30:42 +02:00
|
|
|
## FIXME: this should be done by postplug only when touchscreen is detected
|
|
|
|
#mkdir -p $MOUNTDIR/home/liveuser/.icons/default
|
|
|
|
#cat > $MOUNTDIR/home/liveuser/.icons/default/index.theme << _EOF
|
|
|
|
#[Icon Theme]
|
|
|
|
#Inherits=xcursor-transparent
|
|
|
|
#_EOF
|
2012-03-07 01:46:24 +01:00
|
|
|
|
2012-09-05 16:08:43 +02:00
|
|
|
# configure default liveuser password
|
2019-09-07 11:56:39 +02:00
|
|
|
echo "liveuser:openmamba" | chroot $MOUNTDIR chpasswd
|
2012-09-05 16:08:43 +02:00
|
|
|
|
2018-01-29 12:55:39 +01:00
|
|
|
#prelink
|