file-systems: Move %control-groups from %base-file-systems to

%elogind-file-systems.

* gnu/system/file-systems.scm (%base-file-systems): Move %control-groups from
here, to ...
(%elogind-file-systems): ... here.
This commit is contained in:
Mathieu Othacehe 2017-12-22 08:43:24 +01:00
parent c729225b0f
commit 2cf5f4c144
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -284,6 +284,7 @@ (define %control-groups
(define %elogind-file-systems (define %elogind-file-systems
;; We don't use systemd, but these file systems are needed for elogind, ;; We don't use systemd, but these file systems are needed for elogind,
;; which was extracted from systemd. ;; which was extracted from systemd.
(append
(list (file-system (list (file-system
(device "none") (device "none")
(mount-point "/run/systemd") (mount-point "/run/systemd")
@ -310,15 +311,15 @@ (define %elogind-file-systems
(check? #f) (check? #f)
(options "none,name=elogind") (options "none,name=elogind")
(create-mount-point? #t) (create-mount-point? #t)
(dependencies (list (car %control-groups)))))) (dependencies (list (car %control-groups)))))
%control-groups))
(define %base-file-systems (define %base-file-systems
;; List of basic file systems to be mounted. Note that /proc and /sys are ;; List of basic file systems to be mounted. Note that /proc and /sys are
;; currently mounted by the initrd. ;; currently mounted by the initrd.
(append (list %pseudo-terminal-file-system (list %pseudo-terminal-file-system
%shared-memory-file-system %shared-memory-file-system
%immutable-store) %immutable-store))
%control-groups))
;; File systems for Linux containers differ from %base-file-systems in that ;; File systems for Linux containers differ from %base-file-systems in that
;; they impose additional restrictions such as no-exec or need different ;; they impose additional restrictions such as no-exec or need different