simplify quirks

This commit is contained in:
lukas 2023-05-27 15:33:09 +02:00
parent 7c445f822b
commit 1d56725e17

View File

@ -5,21 +5,8 @@
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/ # / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
# /_/ /____/ # /_/ /____/
%post --log=/opt/live-desktop-quirks.log # Beginning of %post section. The following commands are executed inside a chroot environment. Add logging part / --fstype="ext4" --size=5120
cat >> /etc/rc.d/init.d/livesys << EOF # %post --log=/opt/live-desktop-quirks.log # Beginning of %post section. The following commands are executed inside a chroot environment. Add logging
# set up auto-login # %end # End of the %post section
cat > /etc/gdm/custom.conf << FOE
[daemon]
AutomaticLoginEnable=True
AutomaticLogin=liveuser
FOE
# Make sure to set the right permissions and selinux contexts
chown -R liveuser:liveuser /home/liveuser/
restorecon -R /home/liveuser/
EOF
%end # End of the %post section