summary refs log tree commit diff
path: root/gnu/machine.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2021-12-25 00:54:48 -0500
committerLeo Famulari <leo@famulari.name>2021-12-28 15:26:39 -0500
commit029f8d7c120f80475aee6100e4f682bc7ab8f1f9 (patch)
treecc1388271f3ce434f99143df99ad8e75aab3aa5d /gnu/machine.scm
parent9309b488ca4ceef4fcc9283546e3b05c57b16ca8 (diff)
downloadguix-029f8d7c120f80475aee6100e4f682bc7ab8f1f9.tar.gz
installer: Offer the CUPS printing service on a dedicated page.
Currently, the installer page RUN-OTHER-SERVICES-CBT-PAGE offers to the user all
installer services that are not of the types 'desktop', 'network-management', or
'networking'. Concretely, this means that it offers the CUPS printing service,
because that is the only service of a different type defined in the installer.

In later commits, we will add some services of a new type, and we only want them
to be offered when the user is installing a non-graphical system.

At least one of these new services (NTP) is part of %DESKTOP-SERVICES. If it
was also offered on RUN-OTHER-SERVICES-CBT-PAGE, and the user had configured a
system using %DESKTOP-SERVICES, the user could accidentally add NTP to their
services twice, which is an error and would break installation.

So, this commit makes the RUN-OTHER-SERVICES-CBT-PAGE be more specific about
what services to offer. This makes it easier to discriminate between desktop and
non-desktop installations, in terms of when a given service is offered.

* gnu/installer/newt/services.scm (RUN-OTHER-SERVICES-CBT-PAGE): Rename to ...
(RUN-PRINTING-SERVICES-CBT-PAGE): ... new variable, and select only 'document' services.
(RUN-SERVICES-PAGE): Adjust accordingly.
* gnu/installer/tests.scm (CHOOSE-SERVICES): Adjust accordingly.
Diffstat (limited to 'gnu/machine.scm')
0 files changed, 0 insertions, 0 deletions