[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch wip-hurd-vm updated: squash! linux-boot: Update 'make-hurd-device
From: |
guix-commits |
Subject: |
branch wip-hurd-vm updated: squash! linux-boot: Update 'make-hurd-device-nodes'. |
Date: |
Tue, 26 May 2020 10:21:08 -0400 |
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 <address@hidden>
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"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch wip-hurd-vm updated: squash! linux-boot: Update 'make-hurd-device-nodes'.,
guix-commits <=