linux-container: Compute essential services for THIS-OPERATING-SYSTEM.
commit3f9bed04f031a4d4f8d3b6dc0a4de42b0c628496
authorLudovic Courtès <ludo@gnu.org>
Fri, 10 May 2019 20:07:55 +0000 (10 22:07 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 15 May 2019 14:36:21 +0000 (15 16:36 +0200)
tree363e7ddff745a5a36c5ae9f20cb1d03af2363fc7
parent6edd5c546c7c1bb5ee45436a0441a9daf1e5509c
linux-container: Compute essential services for THIS-OPERATING-SYSTEM.

Previously, the 'essential-services' would correspond to the initial,
non-containerized OS.  Thus, all the file systems removed in
'container-essential-services' would actually still be there because the
essential services would be computed on the non-containerized OS.

This is a followup to 69cae3d3356a69b7fe69481338f760545995485e.

* gnu/system/linux-container.scm (container-essential-services): Call
'operating-system-default-essential-services' to get the baseline
services.
(containerized-operating-system): Pass THIS-OPERATING-SYSTEM, not OS, to
'container-essential-services'.
Add a dummy root file system to 'file-systems'.
(container-script)[mountable-file-system?]: New procedure.
Use it.
gnu/system/linux-container.scm