[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/18: system: vm: Initial vm-image support for the Hurd.
From: |
guix-commits |
Subject: |
09/18: system: vm: Initial vm-image support for the Hurd. |
Date: |
Sat, 16 May 2020 08:00:52 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit caf20bfbc9f500847a2034484ab15ec71099a3f4
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Thu Apr 30 15:40:26 2020 +0200
system: vm: Initial vm-image support for the Hurd.
* gnu/system/vm.scm (system-qemu-image): When building for the Hurd, add
hurd-directives.
---
gnu/system/vm.scm | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 8cccb3f..c386283 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -650,16 +650,28 @@ of the GNU system as described by OS."
(device root-uuid)
(type file-system-type))
file-systems-to-keep))))
- (bootcfg (operating-system-bootcfg os)))
+ (bootcfg (operating-system-bootcfg os))
+ (bootloader (bootloader-configuration-bootloader
+ (operating-system-bootloader os)))
+ (hurd (operating-system-hurd os))
+ (hurd-directives (if hurd
+ `((directory "/servers")
+ ,@(map (lambda (server)
+ `(file ,(string-append "/servers/"
server)))
+ '("startup" "exec" "proc" "password"
+ "default-pager" "crash-dump-core"
+ "kill" "suspend"))
+ ("/hurd" -> ,(file-append hurd "/hurd")))
+ '())))
(qemu-image #:os os
#:bootcfg-drv bootcfg
- #:bootloader (bootloader-configuration-bootloader
- (operating-system-bootloader os))
+ #:bootloader bootloader
#:disk-image-size disk-image-size
#:file-system-type file-system-type
#:file-system-uuid root-uuid
#:inputs `(("system" ,os)
("bootcfg" ,bootcfg))
+ #:extra-directives hurd-directives
#:copy-inputs? #t)))
- branch wip-hurd-vm created (now 9d9195d), guix-commits, 2020/05/16
- 01/18: gnu: linux-libre: Add support for gnu.* namespace., guix-commits, 2020/05/16
- 04/18: system: hurd: Add hurd-default-essential-services., guix-commits, 2020/05/16
- 02/18: gnu: hurd: Update to upstream Hurd-reserved xattr index., guix-commits, 2020/05/16
- 03/18: system: vm: Add defaults for the Hurd., guix-commits, 2020/05/16
- 06/18: bootloader: Add `<hurd-menu-entry>'., guix-commits, 2020/05/16
- 07/18: system: Add 'hurd' field to <boot-parameters>., guix-commits, 2020/05/16
- 08/18: bootloader: grub: Add support for '<hurd-menu-entry>'., guix-commits, 2020/05/16
- 09/18: system: vm: Initial vm-image support for the Hurd.,
guix-commits <=
- 10/18: system: Use 'hurd' package in label., guix-commits, 2020/05/16
- 12/18: services: hurd: Add `hurd-etc-service'., guix-commits, 2020/05/16
- 05/18: system: Add 'hurd' field to <operating-system>., guix-commits, 2020/05/16
- 11/18: system: examples: Add bare-hurd.tmpl., guix-commits, 2020/05/16
- 15/18: utils: Move 'reset-timestamps' out of database., guix-commits, 2020/05/16
- 16/18: system: vm: Do not register-closures when cross-building., guix-commits, 2020/05/16
- 13/18: system: Add `hurd-activation'., guix-commits, 2020/05/16
- 14/18: services: hurd: Use activation-service, hurd-etc-service., guix-commits, 2020/05/16
- 17/18: system: vm: Fix for cross-build to the Hurd., guix-commits, 2020/05/16
- 18/18: DRAFT system: vm: More cross-build fixes via IRC, guix-commits, 2020/05/16