guix/gnu/installer
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
..
aux-files
newt installer: Run the installation inside a container. 2020-09-02 17:05:23 +02:00
connman.scm installer: connman: Fix Wifi connection. 2020-04-19 11:46:21 +02:00
final.scm installer: Run the installation inside a container. 2020-09-02 17:05:23 +02:00
hostname.scm
keymap.scm
locale.scm
newt.scm
parted.scm installer: Remove logical devices. 2020-08-06 11:31:38 +02:00
proxy.scm
record.scm
services.scm installer: Install xterm alongside ratpoison. 2019-06-07 22:32:19 +02:00
steps.scm installer: Implement a dialog on /var/guix/installer-socket. 2020-03-05 23:40:22 +01:00
tests.scm
timezone.scm
user.scm installer: User can have a "real name". 2019-04-28 22:57:07 +02:00
utils.scm