* [bug#71552] [PATCH] pack: Create /tmp in Apptainer images.
@ 2024-06-14 13:23 Lars Bilke
[not found] ` <handler.71552.B.171837147519997.ack@debbugs.gnu.org>
0 siblings, 1 reply; 2+ messages in thread
From: Lars Bilke @ 2024-06-14 13:23 UTC (permalink / raw)
To: 71552
Cc: Lars Bilke, Christopher Baines, Josselin Poiret, Ludovic Court**s,
Mathieu Othacehe, Ricardo Wurmus, Simon Tournier,
Tobias Geerinckx-Rice
Related to <https://bugs.gnu.org/37161> and
<https://git.savannah.gnu.org/cgit/guix.git/commit/?id=7979a287f8eb84cbbfa44629951572408939a756>.
Change-Id: I576aaa6ba8cb8478acf4c3144d492ae5caf411ca
---
guix/scripts/pack.scm | 3 ++-
tests/pack.scm | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index fe4df042d7..7c5fe76fe0 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -493,7 +493,8 @@ (define* (squashfs-image name profile
"-p" "/proc d 555 0 0"
"-p" "/sys d 555 0 0"
"-p" "/dev d 555 0 0"
- "-p" "/home d 555 0 0"))
+ "-p" "/home d 555 0 0"
+ "-p" "/tmp d 555 0 0"))
(when database
;; Initialize /var/guix.
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 rpm-for-tests
(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)))
base-commit: 0beb0dbfe036763e7b5d6c999fe2b3fc89faa6cb
--
2.44.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-14 13:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-14 13:23 [bug#71552] [PATCH] pack: Create /tmp in Apptainer images Lars Bilke
[not found] ` <handler.71552.B.171837147519997.ack@debbugs.gnu.org>
2024-06-14 13:32 ` [bug#71552] Acknowledgement ([PATCH] pack: Create /tmp in Apptainer images.) Lars Bilke
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).