gnu: installer: Launch the installer as kmscon login-program.
authorMathieu Othacehe <m.othacehe@gmail.com>
Fri, 23 Nov 2018 14:18:59 +0000 (23:18 +0900)
committerLudovic Courtès <ludo@gnu.org>
Thu, 17 Jan 2019 13:04:21 +0000 (14:04 +0100)
commita79617468e98c4c30ce2c972ae198feda4760c6e
tree91116eee8f43f3961d1b02443f7b3ddf9776d179
parent16006a05a1019c4d898ec22333bb2ba3d0784e96
gnu: installer: Launch the installer as kmscon login-program.

Source /etc/environment just before starting the installer. The login program
is supposed to load the environment variables of this file through PAM, but as
we replace it by the installer, they are no longer available. This is mostly
useful for the LANG environment variable.

* gnu/installer/build-installer.scm (installer-program-launcher): New exported
procedure.
* gnu/system/install.scm (%installation-services): Restore most of the origin
code. kmscon is only started on TTY1, and the graphical installer is the
login-program.
gnu/installer/build-installer.scm
gnu/system/install.scm