From f341bf6cf77d888240cce91d283c97db48671027 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 20 May 2019 22:04:44 +0100 Subject: Improved fix for Xfce auto-login (requires drakiso >= 1.12). --- config/build.cfg | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/build.cfg b/config/build.cfg index 7138384..a2b586f 100644 --- a/config/build.cfg +++ b/config/build.cfg @@ -10,10 +10,7 @@ my $has_lxde = member('LXDE', @desktops); my $has_plasma = member('Plasma', @desktops); my $has_xfce = member('Xfce', @desktops); -# This is the desktop name we use in the ISO name. -$build->{settings}{primary_desktop} = $desktops[0]; -# This is the desktop name used for autologin. -$build->{settings}{desktop} = $desktops[0] eq 'Xfce' ? 'XfceSession' : $desktops[0]; +$build->{settings}{default_session} = $desktops[0] eq 'Xfce' ? 'XfceSession' : $desktops[0]; my @user_config_dirs = ('/etc/skel', '/home/' . $default_user); @@ -389,5 +386,4 @@ my $config = { ], checksums => [ qw(md5 sha2 sha3) ], }, - iso_name_fields => [ qw(distro release product primary_desktop arch) ] }; -- cgit v1.2.1