guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

41/52: system: hurd: Add /etc/group.


From: guix-commits
Subject: 41/52: system: hurd: Add /etc/group.
Date: Thu, 9 Apr 2020 13:29:12 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit 2b0431c1aebcc10b6194b653699b8b6c93b37d52
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Wed Apr 8 09:46:40 2020 +0200

    system: hurd: Add /etc/group.
    
    This allows download to run.
    
    * gnu/system/hurd.scm (cross-hurd-image): Add /etc/group with guixbuilder.
---
 gnu/system/hurd.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 3d9369d..9474bf6 100644
--- a/gnu/system/hurd.scm
+++ b/gnu/system/hurd.scm
@@ -103,6 +103,12 @@ PATH=~a/bin:~a/sbin:~a/hurd
   (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
@@ -136,6 +142,7 @@ PATH=~a/bin:~a/sbin:~a/hurd
       (directory "/root")
       ("/root/.profile" -> ,profile)
       ("/etc/fstab" -> ,fstab)
+      ("/etc/group" -> ,group)
       ("/etc/passwd" -> ,passwd)
       ("/etc/shadow" -> ,shadow)
       (file "/etc/hostname" "guixygnu")
@@ -168,6 +175,7 @@ PATH=~a/bin:~a/sbin:~a/hurd
                          ("grub.cfg" ,grub.cfg)
                          ("fstab" ,fstab)
                          ("passwd" ,passwd)
+                         ("group" ,group)
                          ("profile" ,profile)
                          ("shadow" ,shadow))
               #:copy-inputs? #t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]