From 7893b32ef6ec85d51f082681a9f4fa911867afba Mon Sep 17 00:00:00 2001 From: Lars Bilke Date: Fri, 14 Jun 2024 15:23:48 +0200 Subject: pack: Create /tmp in Apptainer images. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Related to and . * guix/scripts/pack.scm (squashfs-image)[build]: Add /tmp to the set of directories created. * tests/pack.scm ("squashfs-image + localstatedir"): Check for /tmp. Change-Id: I576aaa6ba8cb8478acf4c3144d492ae5caf411ca Signed-off-by: Ludovic Courtès --- tests/pack.scm | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/pack.scm b/tests/pack.scm index 40897a5589..f8a9e09c28 100644 --- a/tests/pack.scm +++ b/tests/pack.scm @@ -328,6 +328,7 @@ (define bin (when (and (file-exists? (string-append bin "/guile")) (file-exists? "var/guix/db/db.sqlite") + (file-is-directory? "tmp") (string=? (string-append #$%bootstrap-guile "/bin") (pk 'binlink (readlink bin))) -- cgit v1.2.3