guix/gnu/installer/newt
Mathieu Othacehe 8ce6f4dc28
installer: Run the installation inside a container.
When the store overlay is mounted, other processes such as kmscon, udev
and guix-daemon may open files from the store, preventing the
underlying install support from being umounted. See:
https://lists.gnu.org/archive/html/guix-devel/2018-12/msg00161.html.

To avoid this situation, mount the store overlay inside a container,
and run the installation from within that container.

* gnu/build/shepherd.scm (fork+exec-command/container): New procedure.
* gnu/services/base.scm (guix-shepherd-service): Support an optional PID
argument passed to the "start" method. If that argument is passed, ensure that
guix-daemon enters the given PID MNT namespace by using
fork+exec-command/container procedure.
* gnu/installer/final.scm (umount-cow-store): Remove it,
(install-system): run the installation from within a container.
* gnu/installer/newt/final.scm (run-install-shell): Remove the display hack.
2020-09-02 17:05:23 +02:00
..
ethernet.scm installer: Skip network selection dialogs when there is no choice. 2019-05-06 23:21:33 +02:00
final.scm installer: Run the installation inside a container. 2020-09-02 17:05:23 +02:00
hostname.scm installer: Make sure every sentence is dot terminated. 2019-01-17 14:04:25 +01:00
keymap.scm installer: Include empty variant in keyboard layout selection. 2020-04-09 03:45:22 +00:00
locale.scm installer: Display language and territory names natively. 2019-04-17 11:53:54 +02:00
menu.scm installer: Fix typo. 2019-05-05 17:21:18 +02:00
network.scm installer: Bypass connectivity check when /tmp/installer-assume-online exists. 2020-03-05 23:40:22 +01:00
page.scm installer: Adapt to Guile-newt revision 2. 2020-04-06 15:06:03 +02:00
parameters.scm installer: Add proxy support. 2020-04-08 10:24:02 +02:00
partition.scm installer: Add NTFS support. 2020-07-26 18:35:10 +02:00
services.scm installer: Recommended services are pre-selected. 2019-04-28 22:57:07 +02:00
timezone.scm installer: Look up timezone name translations in "iso_3166-1". 2019-04-17 11:53:54 +02:00
user.scm installer: Adapt to Guile-newt revision 2. 2020-04-06 15:06:03 +02:00
utils.scm gnu: Fix some typos in the installer. 2019-02-18 01:52:47 +01:00
welcome.scm installer: Implement a dialog on /var/guix/installer-socket. 2020-03-05 23:40:22 +01:00
wifi.scm installer: Hide the Wi-Fi passphrase by default. 2019-08-26 15:56:33 +02:00