[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: install: Add /tmp as a tmpfs.
From: |
Ludovic Courtès |
Subject: |
02/07: install: Add /tmp as a tmpfs. |
Date: |
Thu, 24 Mar 2016 21:47:46 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit ee03b75dfb3399f41002c38ac512473ab94afa74
Author: Ludovic Courtès <address@hidden>
Date: Thu Mar 24 21:22:56 2016 +0100
install: Add /tmp as a tmpfs.
Fixes <http://bugs.gnu.org/23056>.
Reported by Michael Downey <address@hidden>
and Kei <address@hidden>.
* gnu/system/install.scm (installation-os)[file-systems]: Add "/tmp".
---
gnu/system/install.scm | 26 +++++++++++++++++++-------
1 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index d6434fd..7a363ca 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -340,17 +340,29 @@ Use Alt-F2 for documentation.
(file-systems
;; Note: the disk image build code overrides this root file system with
;; the appropriate one.
- (cons (file-system
- (mount-point "/")
- (device "gnu-disk-image")
- (title 'label)
- (type "ext4"))
- %base-file-systems))
+ (cons* (file-system
+ (mount-point "/")
+ (device "gnu-disk-image")
+ (title 'label)
+ (type "ext4"))
+
+ ;; Make /tmp a tmpfs instead of keeping the unionfs. This is
+ ;; because FUSE creates '.fuse_hiddenXYZ' files for each open file,
+ ;; and this confuses Guix's test suite, for instance. See
+ ;; <http://bugs.gnu.org/23056>.
+ (file-system
+ (mount-point "/tmp")
+ (device "none")
+ (title 'device)
+ (type "tmpfs")
+ (check? #f))
+
+ %base-file-systems))
(users (list (user-account
(name "guest")
(group "users")
- (supplementary-groups '("wheel")) ; allow use of sudo
+ (supplementary-groups '("wheel")) ; allow use of sudo
(password "")
(comment "Guest of GNU")
(home-directory "/home/guest"))))
- branch master updated (229b366 -> 68abb9b), Ludovic Courtès, 2016/03/24
- 03/07: activation: Copy account skeletons silently., Ludovic Courtès, 2016/03/24
- 02/07: install: Add /tmp as a tmpfs.,
Ludovic Courtès <=
- 06/07: system: Use 'info-reader' instead of Texinfo to avoid dragging Perl., Ludovic Courtès, 2016/03/24
- 05/07: gnu: Add 'info-reader'., Ludovic Courtès, 2016/03/24
- 04/07: install: Remove cgroup and elogind file systems., Ludovic Courtès, 2016/03/24
- 07/07: install: Use 'info-reader' instead of Texinfo 4., Ludovic Courtès, 2016/03/24
- 01/07: services: nscd: Make respawnable., Ludovic Courtès, 2016/03/24