From 0adabad72d58492f08975af0b6b837ebde32a51b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 31 May 2016 22:51:07 +0200 Subject: install: 'cow-store' now bind-mounts the target's /tmp. Reported by Matthew Jordan at . * gnu/system/install.scm (make-cow-store): Bind-mount TARGET's /tmp on /tmp. --- gnu/system/install.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/system') diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 07ad3cbcb2..a72613e9c5 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -145,6 +145,11 @@ current store is on a RAM disk." (chmod #$directory #o1775))) #~(begin + ;; Bind-mount TARGET's /tmp in case we need space to build things. + (let ((tmpdir (string-append #$target "/tmp"))) + (mkdir-p tmpdir) + (mount tmpdir "/tmp" "none" MS_BIND)) + (unless (file-exists? "/.ro-store") (mkdir "/.ro-store") (mount #$(%store-prefix) "/.ro-store" "none" -- cgit v1.2.3 From b2c108ff3346531f63968f0501ef3fdbe2ea8d1e Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 6 Jun 2016 10:22:59 +0200 Subject: file-systems: Remove unneeded import. * gnu/system/file-systems.scm: Remove import of (guix gexp), unneeded since commit 060d62a740fc1932a3be505534feff099b59ac9f. --- gnu/system/file-systems.scm | 1 - 1 file changed, 1 deletion(-) (limited to 'gnu/system') diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm index 7e8c4489dd..f4cfaf0990 100644 --- a/gnu/system/file-systems.scm +++ b/gnu/system/file-systems.scm @@ -18,7 +18,6 @@ (define-module (gnu system file-systems) #:use-module (ice-9 match) - #:use-module (guix gexp) #:use-module (guix records) #:use-module (guix store) #:use-module ((gnu build file-systems) -- cgit v1.2.3