[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/59: guix system: When installing the Hurd, create essential devices.
From: |
guix-commits |
Subject: |
02/59: guix system: When installing the Hurd, create essential devices. |
Date: |
Mon, 11 Nov 2024 09:56:02 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 35bf34ba7869a241ebbb7e4b32004eb90acb4051
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Oct 24 20:57:46 2024 +0200
guix system: When installing the Hurd, create essential devices.
* 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 @@
#: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 @@ the ownership of '~a' may be incorrect!~%")
(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)))
- branch hurd-team created (now bf9b13cd1c), guix-commits, 2024/11/11
- 02/59: guix system: When installing the Hurd, create essential devices.,
guix-commits <=
- 05/59: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2024/11/11
- 09/59: maint: Add installer dependencies to the manifest., guix-commits, 2024/11/11
- 21/59: gnu: hurd: Update to v0.9.git20240714., guix-commits, 2024/11/11
- 17/59: installer: Add static-networking template., guix-commits, 2024/11/11
- 30/59: gnu: libstdc++: Support the 64bit Hurd., guix-commits, 2024/11/11
- 08/59: system: examples: Add devel-hurd.tmpl., guix-commits, 2024/11/11
- 26/59: gnu: elfutils: Fix build for 64bit Hurd., guix-commits, 2024/11/11
- 01/59: reconfigure: Use native bootloader package for running the installer., guix-commits, 2024/11/11
- 03/59: bootloader: grub: Remove hardcoded partition number for the Hurd., guix-commits, 2024/11/11
- 22/59: gnu: gcc: Add indirections current-gcc, current-gcc-toolchain., guix-commits, 2024/11/11