diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-07-28 12:28:39 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-07-28 14:41:05 +0200 |
commit | c088aa2988ef82289c87ebfd6d07d8f1464dd8f0 (patch) | |
tree | 48433d9611da3311e6499b5b2ed72973cd5e65d8 /nix/nix-daemon/nix-daemon.cc | |
parent | c6c0d5a22c2ee3d7164dab0129b2e4852a4ae76c (diff) | |
download | guix-c088aa2988ef82289c87ebfd6d07d8f1464dd8f0.tar.gz guix-c088aa2988ef82289c87ebfd6d07d8f1464dd8f0.zip |
pack: "fakechroot" engine always creates its store.
Previously it would silently fail to create the /gnu/store symlink when
the host has a read-only /gnu as is the case in these tests.
* gnu/packages/aux-files/run-in-namespace.c (exec_with_loader): Unlink
the ancestor of ORIGINAL_STORE under NEW_ROOT. Check the return value
of 'symlink' when creating NEW_STORE.
* tests/guix-pack-relocatable.sh: Check the contents of the store as
seen by the wrapped executable, with all three engines, and with both
"/gnu" and "/gnu/store" erased.
Diffstat (limited to 'nix/nix-daemon/nix-daemon.cc')
0 files changed, 0 insertions, 0 deletions