[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/21: DRAFT: system: vm: Activate the Hurd.
From: |
guix-commits |
Subject: |
20/21: DRAFT: system: vm: Activate the Hurd. |
Date: |
Sun, 10 May 2020 10:07:42 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 3e632091f00c247736f774d8d2ceee1e8316b7ff
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 | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 33e1c18..f305f42 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -657,6 +657,11 @@ of the GNU system as described by OS."
(with-parameters ((%current-target-system target))
hurd)
hurd)))
+ (boot-activation (and hurd (operating-system-activation-script os)))
+ (boot-activation (and hurd (if target
+ (with-parameters ((%current-target-system
target))
+ boot-activation)
+ boot-activation)))
(hurd-directives (if hurd
`((directory "/servers")
,@(map (lambda (server)
@@ -664,7 +669,9 @@ of the GNU system as described by OS."
'("startup" "exec" "proc" "password"
"default-pager" "crash-dump-core"
"kill" "suspend"))
- ("/hurd" -> ,(file-append hurd "/hurd")))
+ ("/hurd" -> ,(file-append hurd "/hurd"))
+ (directory "/boot")
+ ("/boot/activation" -> ,boot-activation))
'())))
(qemu-image #:os os
#:bootcfg-drv bootcfg
- 05/21: system: Add 'hurd' field to <operating-system>., (continued)
- 05/21: system: Add 'hurd' field to <operating-system>., guix-commits, 2020/05/10
- 07/21: system: Add 'hurd' field to <boot-parameters>., guix-commits, 2020/05/10
- 12/21: services: hurd: Add `hurd-etc-service'., guix-commits, 2020/05/10
- 14/21: services: hurd: Use activation-service, hurd-etc-service., guix-commits, 2020/05/10
- 08/21: bootloader: grub: Add support for '<hurd-menu-entry>'., guix-commits, 2020/05/10
- 10/21: system: Use 'hurd' package in label., guix-commits, 2020/05/10
- 13/21: system: Add `hurd-activation'., guix-commits, 2020/05/10
- 09/21: system: vm: Initial vm-image support for the Hurd., guix-commits, 2020/05/10
- 15/21: gnu: hurd: Create minimal "runsystem" script to invoke "rc"., guix-commits, 2020/05/10
- 21/21: gnu: guix: Update to 3e632091f0., guix-commits, 2020/05/10
- 20/21: DRAFT: system: vm: Activate the Hurd.,
guix-commits <=
- 11/21: system: examples: Add bare-hurd.tmpl., guix-commits, 2020/05/10
- 16/21: services: Add `hurd-console-service-type'., guix-commits, 2020/05/10
- 17/21: services: Add `hurd-getty-service-type'., guix-commits, 2020/05/10
- 18/21: WIP: gnu: services: Add `%hurd-bare-metal-service'., guix-commits, 2020/05/10
- 19/21: DRAFT: system: hurd: Populate services., guix-commits, 2020/05/10