diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-10-03 23:25:38 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-10-11 11:12:33 +0200 |
commit | 1c65cca5743e9171bbd94307195f123d26c0535e (patch) | |
tree | 7ce49ab08817158f722d0a0129e54efc0ad170cc /gnu/build/linux-container.scm | |
parent | f26af33aec586bafcf21838d6ed3b7e00e2b5b03 (diff) | |
download | guix-1c65cca5743e9171bbd94307195f123d26c0535e.tar.gz |
file-systems: 'mount-file-system' now takes a <file-system> object.
* gnu/build/file-systems.scm (mount-file-system): Rename 'spec' to 'fs' and assume it's a <file-system>. * gnu/build/linux-boot.scm (boot-system): Assume MOUNTS is a list of <file-system> and adjust accordingly. * gnu/build/linux-container.scm (mount-file-systems): Remove 'file-system->spec' call. * gnu/services/base.scm (file-system-shepherd-service): Add 'spec->file-system' call. Add (gnu system file-systems) to 'modules'. * gnu/system/linux-initrd.scm (raw-initrd): Use (gnu system file-systems). Add 'spec->file-system' call for #:mounts.
Diffstat (limited to 'gnu/build/linux-container.scm')
-rw-r--r-- | gnu/build/linux-container.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/build/linux-container.scm b/gnu/build/linux-container.scm index 95bfd92dde..70e789403f 100644 --- a/gnu/build/linux-container.scm +++ b/gnu/build/linux-container.scm @@ -152,8 +152,7 @@ for the process." ;; Mount user-specified file systems. (for-each (lambda (file-system) - (mount-file-system (file-system->spec file-system) - #:root root)) + (mount-file-system file-system #:root root)) mounts) ;; Jail the process inside the container's root file system. |