summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) ]
};