mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-23 21:17:11 -05:00
install: Add /tmp as a tmpfs.
Fixes <http://bugs.gnu.org/23056>. Reported by Michael Downey <shaggy814@yandex.com> and Kei <kei@openmailbox.org>. * gnu/system/install.scm (installation-os)[file-systems]: Add "/tmp".
This commit is contained in:
parent
cc7234aede
commit
ee03b75dfb
1 changed files with 19 additions and 7 deletions
|
@ -340,17 +340,29 @@ (define installation-os
|
|||
(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"))))
|
||||
|
|
Loading…
Reference in a new issue