pack: Create /tmp in Docker images.
authorLudovic Courtès <ludovic.courtes@inria.fr>
Tue, 27 Aug 2019 09:27:02 +0000 (11:27 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 27 Aug 2019 10:20:44 +0000 (12:20 +0200)
commit7979a287f8eb84cbbfa44629951572408939a756
treeb72f53ded5b000c90323be5306978648021264b5
parent2b7c89f4fcc5e1607e153939d54d32aeaf494ca9
pack: Create /tmp in Docker images.

Fixes <https://bugs.gnu.org/37161>.

* guix/scripts/pack.scm (docker-image)[build]: Add a 'directory' entry
for "/tmp" to DIRECTIVES.
* tests/pack.scm ("docker-image + localstatedir"): Test the presence of /tmp.
* gnu/tests/docker.scm (run-docker-test)["Load docker image and run
it"]: Test the presence and permission bits of "/tmp".
gnu/tests/docker.scm
guix/scripts/pack.scm
tests/pack.scm