[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/27: linux-boot: Update 'make-hurd-device-nodes'.
From: |
guix-commits |
Subject: |
10/27: linux-boot: Update 'make-hurd-device-nodes'. |
Date: |
Fri, 29 May 2020 04:43:33 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit fa98782f40408b4ba860025dffeed79beeba72d4
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun May 24 12:41:32 2020 +0200
linux-boot: Update 'make-hurd-device-nodes'.
* gnu/build/linux-boot.scm (make-hurd-device-nodes): Avoid de-duplication of
device mount points; also create mount points for /servers/.
---
gnu/build/linux-boot.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm
index f08bb11..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"
@@ -347,6 +348,20 @@ one specific hardware device. These we have to create."
;; console-run on first boot.
(mkdir (scope "servers"))
+ (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"
+ "proc"
+ "password"
+ "default-pager"
+ "crash-dump-core"
+ "kill"
+ "suspend"))
+
(mkdir (scope "servers/socket"))
;; Don't create /servers/socket/1 & co: runsystem does that on first boot.
- branch wip-hurd-vm created (now 7e26981), guix-commits, 2020/05/29
- 04/27: vm: 'qemu-image' preserves the cross-compilation target of the OS., guix-commits, 2020/05/29
- 01/27: system: 'system-linux-image-file-name' takes an optional parameter., guix-commits, 2020/05/29
- 02/27: vm: 'expression->derivation-in-linux-vm' always returns a native build., guix-commits, 2020/05/29
- 03/27: vm: 'qemu-image' uses the native partitioning tools and bootloader., guix-commits, 2020/05/29
- 09/27: image: Add Hurd support., guix-commits, 2020/05/29
- 12/27: system: hurd: Add hurd-default-essential-services., guix-commits, 2020/05/29
- 10/27: linux-boot: Update 'make-hurd-device-nodes'.,
guix-commits <=
- 13/27: system: Add 'hurd' field to <operating-system>., guix-commits, 2020/05/29
- 14/27: bootloader: Extend `<menu-entry>' for multiboot., guix-commits, 2020/05/29
- 05/27: vm: <virtual-machine> compiler honors system and target., guix-commits, 2020/05/29
- 06/27: vm: Shared-store script runs that native QEMU and Bash., guix-commits, 2020/05/29
- 07/27: gnu: guile-static: Disable JIT on ARMv7., guix-commits, 2020/05/29
- 08/27: gnu: hurd: Update to upstream Hurd-reserved xattr index., guix-commits, 2020/05/29
- 15/27: system: Add 'multiboot-modules' field to <boot-parameters>., guix-commits, 2020/05/29
- 19/27: services: hurd: Add `hurd-etc-service'., guix-commits, 2020/05/29
- 11/27: image: Support extra-directives, add hurd-directives., guix-commits, 2020/05/29
- 16/27: bootloader: grub: Add support for multiboot., guix-commits, 2020/05/29