[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73927] [PATCH v4 03/18] guix system: When installing the Hurd, crea
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#73927] [PATCH v4 03/18] guix system: When installing the Hurd, create essential devices. |
Date: |
Wed, 30 Oct 2024 15:30:32 +0100 |
* guix/scripts/system.scm (install): When installing the Hurd, invoke
`make-hurd-device-nodes'.
Change-Id: If84d5fe0b5bf4a93452f0b5241650f325d583543
---
guix/scripts/system.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index 99c58f3812..7989b183ad 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2017, 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2019 Christopher Baines <mail@cbaines.net>
-;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2020, 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
@@ -63,6 +63,7 @@ (define-module (guix scripts system)
#:autoload (guix progress) (progress-reporter/bar
call-with-progress-reporter)
#:use-module ((guix docker) #:select (%docker-image-max-layers))
+ #:use-module (gnu build hurd-boot)
#:use-module (gnu build image)
#:use-module (gnu build install)
#:autoload (gnu build file-systems)
@@ -243,6 +244,9 @@ (define* (install os-drv target
(delete-file-recursively state)))
(chmod target #o755)
+ ;; For the Hurd to boot, it needs some essential device nodes.
+ (when (target-hurd?)
+ (make-hurd-device-nodes target))
(let ((os-dir (derivation->output-path os-drv))
(format (lift format %store-monad))
(populate (lift2 populate-root-file-system %store-monad)))
--
Janneke Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com
- [bug#73927] [PATCH v3 09/17] installer: Remove unused (newt) imports., (continued)
- [bug#73927] [PATCH v4 00/18] Installer support for (cross) installing the Hurd., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 01/18] gnu: guile-fibers: Fix cross-build for the Hurd., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 04/18] bootloader: grub: Remove hardcoded partition number for the Hurd., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 05/18] system: hurd: Remove qemu networking from %base-services/hurd., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 07/18] gnu: hurd: Support second boot., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 06/18] system: hurd: Add swap-services to hurd-default-essential-services., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 13/18] installer: Fix file-name typos., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 03/18] guix system: When installing the Hurd, create essential devices.,
Janneke Nieuwenhuizen <=
- [bug#73927] [PATCH v4 12/18] installer: Use "partitioning-page" consistently., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 11/18] installer: Align comments., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 02/18] reconfigure: Use native bootloader package for running the installer., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 09/18] maint: Add installer dependencies to the manifest., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 08/18] hurd-boot: Support second boot., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 10/18] installer: Remove unused (newt) imports., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 14/18] installer: Use `%' for parameter %run-command-in-installer., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 15/18] installer: Add dry-run?, Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 18/18] installer: Support dry-run from Guile via store., Janneke Nieuwenhuizen, 2024/10/30
- [bug#73927] [PATCH v4 16/18] installer: Add "Kernel" page to select the Hurd., Janneke Nieuwenhuizen, 2024/10/30