aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>2020-04-08 09:46:40 +0200
committerJan Nieuwenhuizen <janneke@gnu.org>2020-05-01 08:52:53 +0200
commit3eb4b466fcbe35cbc51e97d088cdcc2ba1853350 (patch)
treee9974cff743acc80eec7a3f07edad7f2fc97e291
parent9b0c047c53ce064451717eeae4cc95c8ab213e57 (diff)
downloadguix-3eb4b466fcbe35cbc51e97d088cdcc2ba1853350.tar
guix-3eb4b466fcbe35cbc51e97d088cdcc2ba1853350.tar.gz
system: hurd: Add /etc/group.
This allows download to run. * gnu/system/hurd.scm (cross-hurd-image): Add /etc/group with guixbuilder.
-rw-r--r--gnu/system/hurd.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index f691d96e9d..58bfdf88f6 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -109,6 +110,12 @@ menuentry \"GNU\" {
(define passwd
(plain-file "passwd"
"root:x:0:0:root:/root:/bin/sh
+guixbuilder:x:1:1:guixbuilder:/var/empty:/bin/no-sh
+"))
+
+ (define group
+ (plain-file "group"
+ "guixbuild:x:1:guixbuilder
"))
(define shadow
@@ -163,6 +170,7 @@ fi\n"))
("/run/current-system/profile" -> ,system-profile)
("/etc/profile" -> ,etc-profile)
("/etc/fstab" -> ,fstab)
+ ("/etc/group" -> ,group)
("/etc/passwd" -> ,passwd)
("/etc/shadow" -> ,shadow)
(file "/etc/hostname" "guixygnu")
@@ -203,6 +211,7 @@ fi\n"))
("grub.cfg" ,grub.cfg)
("fstab" ,fstab)
("passwd" ,passwd)
+ ("group" ,group)
("etc-profile" ,etc-profile)
("shadow" ,shadow))
#:copy-inputs? #t