diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2020-05-23 19:10:44 +0200 |
---|---|---|
committer | Jan Nieuwenhuizen <janneke@gnu.org> | 2020-06-08 13:51:18 +0200 |
commit | c77b92859fdad2b85f0f32d920048d476a347ff0 (patch) | |
tree | ab0e9c7b878882f8643fd1e1f3bf2e481f362126 /gnu/build | |
parent | 6cea61f2fab26716cd8c2394fc83eac9985f9d97 (diff) | |
download | guix-c77b92859fdad2b85f0f32d920048d476a347ff0.tar guix-c77b92859fdad2b85f0f32d920048d476a347ff0.tar.gz |
image: Add Hurd support.
* gnu/system/image.scm (hurd-disk-image): New exported variable,
(root-offset, root-label): new variables,
(esp-partition, root-partition): adapt accordingly,
(find-image): add Hurd support.
Diffstat (limited to 'gnu/build')
-rw-r--r-- | gnu/build/image.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/build/image.scm b/gnu/build/image.scm index 14503b02ba..fb85bd4bb8 100644 --- a/gnu/build/image.scm +++ b/gnu/build/image.scm @@ -161,6 +161,8 @@ deduplicates files common to CLOSURE and the rest of PREFIX." references-graphs (register-closures? #t) system-directory + (make-device-nodes + make-essential-device-nodes) #:allow-other-keys) "Initialize the given ROOT directory. Use BOOTCFG and BOOTCFG-LOCATION to install the bootloader configuration. @@ -172,6 +174,9 @@ of the directory of the 'system' derivation." (populate-root-file-system system-directory root) (populate-store references-graphs root) + ;; Populate /dev. + (make-device-nodes root) + (when register-closures? (for-each (lambda (closure) (register-closure root |