guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: system: Add boot file systems to /etc/fstab.


From: guix-commits
Subject: 02/03: system: Add boot file systems to /etc/fstab.
Date: Fri, 26 Apr 2019 18:51:45 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit aea1a42e005cf53b8f6f5a0827bea0da428b9376
Author: Ludovic Courtès <address@hidden>
Date:   Fri Apr 26 23:53:53 2019 +0200

    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?'.
---
 gnu/system.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/system.scm b/gnu/system.scm
index b00d384..0489b97 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]