services: virtual-build-machine: Add base file systems to default OS.

This provides /dev/pts and other things that are important for
builds (for example, Python 2.x has ‘openpty’ unit tests that can only
succeed when /dev/pts is available.)

* gnu/services/virtualization.scm (%virtual-build-machine-operating-system)
[file-systems]: Add %BASE-FILE-SYSTEMS.

Change-Id: I7d12a4cb491e957bf55e6c5f9dd09c013473ca42
This commit is contained in:
Ludovic Courtès 2024-02-12 00:09:09 +01:00
parent faeae5114c
commit 15fd5d6c3f
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1192,10 +1192,11 @@ (define %virtual-build-machine-operating-system
(bootloader (bootloader-configuration ;unused
(bootloader grub-minimal-bootloader)
(targets '("/dev/null"))))
(file-systems (list (file-system ;unused
(file-systems (cons (file-system ;unused
(mount-point "/")
(device "none")
(type "tmpfs"))))
(type "tmpfs"))
%base-file-systems))
(users (cons (user-account
(name "offload")
(group "users")