guix-commits
[Top][All Lists]
Advanced

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

20/36: system: hurd: Add /etc/group.


From: guix-commits
Subject: 20/36: system: hurd: Add /etc/group.
Date: Fri, 24 Apr 2020 08:14:10 -0400 (EDT)

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

commit 3a72796a248e6a61fc5f8e6b0cf9c310ee7fb7ea
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 | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/system/hurd.scm b/gnu/system/hurd.scm
index 412e835..28ef7cf 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 <address@hidden>
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <address@hidden>
 ;;;
 ;;; 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



reply via email to

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