[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/28: DRAFT: system: vm: Activate the Hurd.
From: |
guix-commits |
Subject: |
24/28: DRAFT: system: vm: Activate the Hurd. |
Date: |
Sat, 23 May 2020 05:28:03 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit fb5e7d20da88d0e164fa6c887a83023d4308344b
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Wed May 6 10:10:59 2020 +0200
DRAFT: system: vm: Activate the Hurd.
* gnu/system/vm.scm (system-qemu-image): Add boot-activation.
---
gnu/system/vm.scm | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 151cf62..c894c02 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -692,6 +692,7 @@ of the GNU system as described by OS."
(bootloader (bootloader-configuration-bootloader
(operating-system-bootloader os)))
(hurd (operating-system-hurd os))
+ (boot-activation (and hurd (operating-system-activation-script os)))
(hurd-directives (if hurd
`((directory "/servers")
,@(map (lambda (server)
@@ -700,9 +701,8 @@ of the GNU system as described by OS."
"default-pager" "crash-dump-core"
"kill" "suspend"))
("/hurd" -> ,(file-append hurd "/hurd"))
- ;; XXX remove ttys after adding hurd-getty
service
- (directory "/etc")
- ("/etc/ttys" -> ,(file-append hurd
"/etc/ttys")))
+ (directory "/boot")
+ ("/boot/activation" -> ,boot-activation))
'())))
(qemu-image #:os os
#:bootcfg-drv bootcfg
@@ -711,7 +711,10 @@ of the GNU system as described by OS."
#:file-system-type file-system-type
#:file-system-uuid root-uuid
#:inputs `(("system" ,os)
- ("bootcfg" ,bootcfg))
+ ("bootcfg" ,bootcfg)
+ ,@(if hurd
+ `(("boot-activation" ,boot-activation))
+ '()))
#:extra-directives hurd-directives
#:copy-inputs? #t)))
- 12/28: system: Add 'hurd' field to <boot-parameters>., (continued)
- 12/28: system: Add 'hurd' field to <boot-parameters>., guix-commits, 2020/05/23
- 15/28: system: Use 'hurd' package in label., guix-commits, 2020/05/23
- 04/28: system: image: Fix disk-image cross-compilation., guix-commits, 2020/05/23
- 05/28: utils: Move 'reset-timestamps' out of database., guix-commits, 2020/05/23
- 07/28: system: vm: Build vm-image using native qemu, for the Hurd., guix-commits, 2020/05/23
- 08/28: system: vm: Add defaults for the Hurd., guix-commits, 2020/05/23
- 09/28: system: hurd: Add hurd-default-essential-services., guix-commits, 2020/05/23
- 10/28: system: Add 'hurd' field to <operating-system>., guix-commits, 2020/05/23
- 11/28: bootloader: Add `<hurd-menu-entry>'., guix-commits, 2020/05/23
- 17/28: services: hurd: Add `hurd-etc-service'., guix-commits, 2020/05/23
- 24/28: DRAFT: system: vm: Activate the Hurd.,
guix-commits <=
- 27/28: gnu: hurd: Update to upstream Hurd-reserved xattr index., guix-commits, 2020/05/23
- 18/28: system: Add `hurd-activation'., guix-commits, 2020/05/23
- 26/28: gnu: linux-libre: Add support for gnu.* namespace., guix-commits, 2020/05/23
- 19/28: services: hurd: Use activation-service, hurd-etc-service., guix-commits, 2020/05/23
- 21/28: services: Add `hurd-console-service-type'., guix-commits, 2020/05/23
- 22/28: services: Add `hurd-getty-service-type'., guix-commits, 2020/05/23
- 23/28: system: hurd: Populate services., guix-commits, 2020/05/23
- 14/28: system: vm: Initial vm-image support for the Hurd., guix-commits, 2020/05/23
- 16/28: system: examples: Add bare-hurd.tmpl., guix-commits, 2020/05/23
- 20/28: gnu: hurd: Create minimal "runsystem" script to invoke "rc"., guix-commits, 2020/05/23