summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2019-05-14 00:00:00 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2019-05-14 00:00:00 +0100
commit5982adfc75ef73a58fe345f58f09b8e92d12fd72 (patch)
tree5e24a0c715037cfedd3a26234114d6d21af0694e
parentac4321bd073e0222e95e48a6e1044ba333274ae5 (diff)
downloaddraklive-config-5982adfc75ef73a58fe345f58f09b8e92d12fd72.tar
draklive-config-5982adfc75ef73a58fe345f58f09b8e92d12fd72.tar.gz
draklive-config-5982adfc75ef73a58fe345f58f09b8e92d12fd72.tar.bz2
draklive-config-5982adfc75ef73a58fe345f58f09b8e92d12fd72.tar.xz
draklive-config-5982adfc75ef73a58fe345f58f09b8e92d12fd72.zip
Fix Xfce autologin.
-rw-r--r--config/build.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/build.cfg b/config/build.cfg
index 847b6c8..7138384 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -10,6 +10,11 @@ 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];
+
my @user_config_dirs = ('/etc/skel', '/home/' . $default_user);
sub build_label {
@@ -384,4 +389,5 @@ my $config = {
],
checksums => [ qw(md5 sha2 sha3) ],
},
+ iso_name_fields => [ qw(distro release product primary_desktop arch) ]
};