install: Add service for the loopback device.

Lack of a loopback device prevented the system from building starting
from commit 363c946b36.

* gnu/system/install.scm (%installation-services): Add
'static-networking-service-type' instance for 'lo'.
This commit is contained in:
Ludovic Courtès 2018-07-20 17:57:36 +02:00
parent eb9c0d20f9
commit 264967c883
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -298,6 +298,13 @@ (define bare-bones-os
`(("/bin/sh" ,(file-append (canonical-package bash)
"/bin/sh"))))
;; Loopback device, needed by OpenSSH notably.
(service static-networking-service-type
(list (static-networking (interface "lo")
(ip "127.0.0.1")
(requirement '())
(provision '(loopback)))))
;; Keep a reference to BARE-BONES-OS to make sure it can be
;; installed without downloading/building anything. Also keep the
;; things needed by 'profile-derivation' to minimize the amount of