This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/wip-hurd-vm by this push:
     new 6a28406  squash! linux-boot: Update 'make-hurd-device-nodes'.
6a28406 is described below

commit 6a284069188f59553f27760614ffb604b49ec62b
Author: Jan (janneke) Nieuwenhuizen <[email protected]>
AuthorDate: Mon May 25 19:37:12 2020 +0200

    squash! linux-boot: Update 'make-hurd-device-nodes'.
    
    XXX Is there a better way to avoid hard linking/de-duplication?
---
 gnu/build/linux-boot.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm
index 7dd509d..d62c670 100644
--- a/gnu/build/linux-boot.scm
+++ b/gnu/build/linux-boot.scm
@@ -337,6 +337,7 @@ one specific hardware device. These we have to create."
   (for-each (lambda (file)
               (call-with-output-file (scope file)
                 (lambda (port)
+                  (display file port)   ;avoid hard-linking
                   (chmod port #o666))))
             '("dev/null"
               "dev/zero"
@@ -350,6 +351,7 @@ one specific hardware device. These we have to create."
   (for-each (lambda (file)
               (call-with-output-file (scope (string-append "servers/" file))
                 (lambda (port)
+                  (display file port)   ;avoid hard-linking
                   (chmod port #o444))))
             '("startup"
               "exec"

Reply via email to