[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: |
Thu, 7 May 2020 12:31:14 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 9a3ff0f684708b862cf4b2048f01c0803f7e5436
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 e5b297d..8a98252 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -651,6 +651,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)
@@ -660,7 +665,9 @@ of the GNU system as described by OS."
"kill" "suspend"))
("/hurd" -> ,(file-append hurd "/hurd"))
(directory "/etc")
- ("/etc/ttys" -> ,(file-append hurd
"/etc/ttys")))
+ ("/etc/ttys" -> ,(file-append hurd
"/etc/ttys"))
+ (directory "/boot")
+ ("/boot/activation" -> ,boot-activation))
'())))
(qemu-image #:os os
#:bootcfg-drv bootcfg
- 05/21: system: hurd: Add hurd-default-essential-services., (continued)
- 05/21: system: hurd: Add hurd-default-essential-services., guix-commits, 2020/05/07
- 10/21: system: examples: Add bare-hurd.tmpl., guix-commits, 2020/05/07
- 16/21: services: Add `hurd-getty-service-type'., guix-commits, 2020/05/07
- 17/21: HACK services: hurd: Add dummy `loopback'., guix-commits, 2020/05/07
- 11/21: services: hurd: Add `hurd-etc-sevcice'., guix-commits, 2020/05/07
- 12/21: system: Add `hurd-activation'., guix-commits, 2020/05/07
- 13/21: services: hurd: Use activation-service, hurd-etc-service., guix-commits, 2020/05/07
- 14/21: gnu: hurd: Create minimal "runsystem" script to invoke "rc"., guix-commits, 2020/05/07
- 15/21: services: Add `hurd-console-service-type'., guix-commits, 2020/05/07
- 18/21: WIP: gnu: services: Add `%hurd-bare-metal-service'., guix-commits, 2020/05/07
- 20/21: DRAFT: system: vm: Activate the Hurd.,
guix-commits <=
- 19/21: DRAFT: system: hurd: Populate services., guix-commits, 2020/05/07
- 21/21: gnu: guix: Update to 9a3ff0f684., guix-commits, 2020/05/07