aboutsummaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2017-10-25 18:13:15 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2017-11-08 18:23:05 +0100
commitc8289690365887ca1dd122645e479a89cf7cd969 (patch)
treea02e832d8f823061a916db682f4b0359e3d1f23b /gnu/system
parent34260a10d70c4eae87fc48419b7134fbbb4bbd30 (diff)
downloadgnu-guix-c8289690365887ca1dd122645e479a89cf7cd969.tar
gnu-guix-c8289690365887ca1dd122645e479a89cf7cd969.tar.gz
build: Use overlayfs instead of unionfs.
Overlayfs is part of the kernel, while unionfs needs FUSE. This also reduces the size of the initrd by ca. 4.3% (487K). * gnu/build/linux-boot.scm (mount-root-file-system): Remove optional parameter "unionfs"; mount using overlayfs instead of unionfs; new directory layout requied by overlayfs; update documentation. [mark-as-not-killable]: Remove now unused function * gnu/system/linux-initrd.scm (file-system-packages): Remove now unused packages "unionfs-fuse/static" and thus unused related 'if'. (linux-modules): Replace "fuse" by "overlay".
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/linux-initrd.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 948c543a15..b592defa45 100644
--- a/gnu/system/linux-initrd.scm
+++ b/gnu/system/linux-initrd.scm
@@ -234,9 +234,6 @@ FILE-SYSTEMS."
'())
,@(if (find (file-system-type-predicate "btrfs") file-systems)
(list btrfs-progs/static)
- '())
- ,@(if volatile-root?
- (list unionfs-fuse/static)
'())))
(define* (base-initrd file-systems
@@ -308,7 +305,7 @@ loaded at boot time in the order in which they appear."
'("isofs")
'())
,@(if volatile-root?
- '("fuse")
+ '("overlay")
'())
,@extra-modules))