mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
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:
parent
eb9c0d20f9
commit
264967c883
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue