summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/any.pm4
2 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 376a1a12b..5158066cd 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- drakboot:
+ o fix lightdm support after upstream config file change
+
Version 17.1 - 27 August 2015
- recognize new kernel-4.1 drivers
diff --git a/perl-install/any.pm b/perl-install/any.pm
index c37c444c6..3bd13fceb 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -679,7 +679,7 @@ sub get_autologin() {
my %conf = read_gnomekderc($kdm_file, 'X-:0-Core');
$autologin_user = text2bool($conf{AutoLoginEnable}) && $conf{AutoLoginUser};
} elsif ($dm eq "lightdm") {
- my %conf = read_gnomekderc($lightdm_conffile, 'SeatDefaults');
+ my %conf = read_gnomekderc($lightdm_conffile, 'Seat:*');
$autologin_user = text2bool($conf{'#dummy-autologin'}) && $conf{"autologin-user"};
} else {
my %conf = getVarsFromSh($autologin_file);
@@ -723,7 +723,7 @@ sub set_autologin {
#- Configure LIGHTDM
my $lightdm_conffile = "$::prefix/etc/lightdm/lightdm.conf.d/50-mageia-autologin.conf";
- eval { update_gnomekderc($lightdm_conffile, SeatDefaults => (
+ eval { update_gnomekderc($lightdm_conffile, 'Seat:*' => (
'#dummy-autologin' => $do_autologin,
'autologin-user' => $autologin->{user}
)) } if -e $lightdm_conffile;