[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/62: linux-boot: 'make-essential-device-nodes' root parameter is optio
From: |
guix-commits |
Subject: |
25/62: linux-boot: 'make-essential-device-nodes' root parameter is optional. |
Date: |
Sat, 11 Apr 2020 11:35:49 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd-vm
in repository guix.
commit 71f84d166f2d2bb498c4cc31c7c7471762b8c985
Author: Ludovic Courtès <address@hidden>
AuthorDate: Mon Apr 6 16:19:05 2020 +0200
linux-boot: 'make-essential-device-nodes' root parameter is optional.
* gnu/build/linux-boot.scm (make-essential-device-nodes): Change 'root'
to an optional parameter.
* gnu/build/vm.scm (root-partition-initializer): Adjust accordingly.
---
gnu/build/linux-boot.scm | 4 ++--
gnu/build/vm.scm | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm
index 4fb711b..787665e 100644
--- a/gnu/build/linux-boot.scm
+++ b/gnu/build/linux-boot.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès
<address@hidden>
+;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès
<address@hidden>
;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
;;; Copyright © 2019 Guillaume Le Vaillant <address@hidden>
;;;
@@ -223,7 +223,7 @@ one specific hardware device. These we have to create."
(call-with-input-file devname-name
read-static-device-nodes))))
-(define* (make-essential-device-nodes #:key (root "/"))
+(define* (make-essential-device-nodes #:optional (root "/"))
"Make essential device nodes under ROOT/dev."
;; The hand-made devtmpfs/udev!
diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
index 84bb259..c062ab5 100644
--- a/gnu/build/vm.scm
+++ b/gnu/build/vm.scm
@@ -392,7 +392,7 @@ system that is passed to 'populate-root-file-system'."
target))
;; Populate /dev.
- (make-essential-device-nodes #:root target)
+ (make-essential-device-nodes target)
;; Optionally, register the inputs in the image's store.
(when register-closures?
- 12/62: gnu: hurd: Add coreutils to startup scripts., (continued)
- 12/62: gnu: hurd: Add coreutils to startup scripts., guix-commits, 2020/04/11
- 13/62: gnu: hurd: Add util-linux to startup scripts., guix-commits, 2020/04/11
- 17/62: system: hurd: Add "/etc/passwd"., guix-commits, 2020/04/11
- 19/62: system: hurd: Add "/bin/sh" symlink., guix-commits, 2020/04/11
- 18/62: gnu: cross-libc: Add patch to allow 'gettyent' reading store file names., guix-commits, 2020/04/11
- 14/62: system: hurd: Add "/etc/fstab"., guix-commits, 2020/04/11
- 15/62: gnu: hurd: Add "hurd/sbin" to PATH., guix-commits, 2020/04/11
- 16/62: system: hurd: Add ttys symlink in "/etc/ttys"., guix-commits, 2020/04/11
- 08/62: DRAFT: Add (gnu system hurd)., guix-commits, 2020/04/11
- 21/62: gnu: hurd: Install the UTF-8 motd., guix-commits, 2020/04/11
- 25/62: linux-boot: 'make-essential-device-nodes' root parameter is optional.,
guix-commits <=
- 34/62: gnu: hurd: Add dependency on libgcrypt., guix-commits, 2020/04/11
- 35/62: gnu: hurd: Add dependency on libdaemon., guix-commits, 2020/04/11
- 39/62: gnu: guile-json: Cross-build fix., guix-commits, 2020/04/11
- 62/62: gnu: guix: Run `make update-guix-package'., guix-commits, 2020/04/11
- 22/62: system: hurd: Create /etc/{hostname,motd,login} and /root., guix-commits, 2020/04/11
- 30/62: vm: Make the device node procedure a parameter., guix-commits, 2020/04/11
- 32/62: system: hurd: Add guix., guix-commits, 2020/04/11
- 38/62: system: hurd: Add openssh, shepherd., guix-commits, 2020/04/11
- 36/62: gnu: hurd: Install a BDF font., guix-commits, 2020/04/11
- 46/62: system: hurd: Add guile-candy., guix-commits, 2020/04/11