update to 4.0 [release 4.0-1mamba;Mon Jan 01 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 06:24:36 +01:00
parent 9eaf8c5cd7
commit 2620c944f5

View File

@ -4,8 +4,8 @@
%define lpadmin_uid 65032 %define lpadmin_uid 65032
%define lpadmin_gid 65032 %define lpadmin_gid 65032
Name: livecd-tools Name: livecd-tools
Version: 3.90.0 Version: 4.0
Release: 3mamba Release: 1mamba
Summary: Live cd environment and utilities Summary: Live cd environment and utilities
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
@ -117,7 +117,7 @@ if [ $1 -eq 0 ]; then
[ -e /etc/lxdm/lxdm.conf ] && sed -i "s|^autologin=liveuser|# autologin=|" \ [ -e /etc/lxdm/lxdm.conf ] && sed -i "s|^autologin=liveuser|# autologin=|" \
/etc/lxdm/lxdm.conf /etc/lxdm/lxdm.conf
# Unconfigure LXDM for autologin # Unconfigure LXDM for autologin
[ -e /etc/sddm.conf ] && sed -i "s|^User=liveuser|User=|;s|MinimumUid=.*|MinimumUid=1000|" \ [ -e /etc/sddm.conf ] && sed -i "s|^User=liveuser|User=|;s|MinimumUid=.*|MinimumUid=1000|;s|Relogin=.*|Relogin=false|" \
/etc/sddm.conf /etc/sddm.conf
# Unconfigure GDM for autologin # Unconfigure GDM for autologin
if [ -e /etc/gdm/custom.conf -a -e /etc/gdm/custom.conf.livesave ]; then if [ -e /etc/gdm/custom.conf -a -e /etc/gdm/custom.conf.livesave ]; then
@ -151,7 +151,7 @@ if [ $1 -eq 1 ]; then
/etc/lxdm/lxdm.conf /etc/lxdm/lxdm.conf
# Configure SDDM for autologin # Configure SDDM for autologin
if [ -e /etc/sddm.conf ]; then if [ -e /etc/sddm.conf ]; then
sed -i "s|User=.*|User=liveuser|;s|Session=.*|Session=plasma|;s|MinimumUid=.*|MinimumUid=999|" \ sed -i "s|User=.*|User=liveuser|;s|Session=.*|Session=plasma|;s|MinimumUid=.*|MinimumUid=999|;s|Relogin=.*|Relogin=true|" \
/etc/sddm.conf /etc/sddm.conf
fi fi
# Configure GDM for autologin # Configure GDM for autologin
@ -195,6 +195,9 @@ fi
%attr(-,liveuser,users) /home/liveuser/.kde4/share/config/* %attr(-,liveuser,users) /home/liveuser/.kde4/share/config/*
%changelog %changelog
* Mon Jan 01 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0-1mamba
- update to 4.0
* Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 3.90.0-3mamba * Wed Nov 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 3.90.0-3mamba
- liveuser autologin support for sddm - liveuser autologin support for sddm