summaryrefslogtreecommitdiff
path: root/gnu/build/linux-boot.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-06 16:19:05 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-11 20:48:12 +0200
commit683cba75ea529c7390a79826124d7798d47d65cd (patch)
treef1e357f54e526d21fa6882e55039fa7aab1abe2d /gnu/build/linux-boot.scm
parent6a488a3504b345b193e24dfdba2a2ac6b1db1234 (diff)
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.
Diffstat (limited to 'gnu/build/linux-boot.scm')
-rw-r--r--gnu/build/linux-boot.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/build/linux-boot.scm b/gnu/build/linux-boot.scm
index 4fb711b8f24..787665e3202 100644
--- a/gnu/build/linux-boot.scm
+++ b/gnu/build/linux-boot.scm
@@ -1,5 +1,5 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès <ludo@gnu.org> 2;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
3;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com> 3;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
4;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net> 4;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
5;;; 5;;;
@@ -223,7 +223,7 @@ one specific hardware device. These we have to create."
223 (call-with-input-file devname-name 223 (call-with-input-file devname-name
224 read-static-device-nodes)))) 224 read-static-device-nodes))))
225 225
226(define* (make-essential-device-nodes #:key (root "/")) 226(define* (make-essential-device-nodes #:optional (root "/"))
227 "Make essential device nodes under ROOT/dev." 227 "Make essential device nodes under ROOT/dev."
228 ;; The hand-made devtmpfs/udev! 228 ;; The hand-made devtmpfs/udev!
229 229