2021-01-05 12:28:45 +01:00
|
|
|
if [ -e $MOUNTDIR/etc/lxdm/lxdm.conf ]; then
|
|
|
|
sed -i "s|# session=.*|session=/usr/bin/startlxqt|" $MOUNTDIR/etc/lxdm/lxdm.conf
|
|
|
|
fi
|
2012-08-19 20:02:24 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# 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-08-19 20:02:24 +02: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
|