aboutsummaryrefslogtreecommitdiff
path: root/gnu/system.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-26 23:53:53 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-27 00:11:52 +0200
commitaea1a42e005cf53b8f6f5a0827bea0da428b9376 (patch)
treefa0fc32015efa3e7029bf814e812ab1a0ad81000 /gnu/system.scm
parent74685a4369033e79a776c5dec1c8480e8b446f6b (diff)
downloadgnu-guix-aea1a42e005cf53b8f6f5a0827bea0da428b9376.tar
gnu-guix-aea1a42e005cf53b8f6f5a0827bea0da428b9376.tar.gz
system: Add boot file systems to /etc/fstab.
* gnu/system.scm (essential-services): Pass FSTAB-SERVICE-TYPE the list of file systems that match 'file-system-needed-for-boot?'.
Diffstat (limited to 'gnu/system.scm')
-rw-r--r--gnu/system.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index b00d384fee..0489b9720d 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -493,7 +493,9 @@ bookkeeping."
(operating-system-groups os))
(operating-system-skeletons os))
(operating-system-etc-service os)
- (service fstab-service-type '())
+ (service fstab-service-type
+ (filter file-system-needed-for-boot?
+ (operating-system-file-systems os)))
(session-environment-service
(operating-system-environment-variables os))
host-name procs root-fs