guix/tests
Ludovic Courtès 6456232164
pack: Add relocation via ld.so and fakechroot.
* gnu/packages/aux-files/run-in-namespace.c (HAVE_EXEC_WITH_LOADER): New
macro.
(bind_mount): Rename to...
(mirror_directory): ... this.  Add 'firmlink' argument and use it
instead of calling mkdir/open/close/mount directly.
(bind_mount, make_symlink): New functions.
(exec_in_user_namespace): Adjust accordingly.
(exec_with_loader) [HAVE_EXEC_WITH_LOADER]: New function.
(exec_performance): New function.
(engines): Add them.
* guix/scripts/pack.scm (wrapped-package)[fakechroot-library]
[audit-module]: New procedures.
[audit-source]: New variable.
[build](elf-interpreter, elf-loader-compile-flags): New procedures.
(build-wrapper): Use them.
* tests/guix-pack-relocatable.sh: Test with
'GUIX_EXECUTION_ENGINE=fakechroot'.
* doc/guix.texi (Invoking guix pack): Document the 'performance' and
'fakechroot' engines.
* gnu/packages/aux-files/pack-audit.c: New file.
* Makefile.am (AUX_FILES): Add it.
2020-05-14 17:21:27 +02:00
..
services
accounts.scm
base16.scm
base32.scm
base64.scm
bournish.scm
build-utils.scm
builders.scm
cache.scm
challenge.scm
channels.scm channels: Add mechanism to patch checkouts of the 'guix channel. 2020-05-07 10:06:15 +02:00
civodul.key Add (guix openpgp). 2020-05-04 09:56:12 +02:00
combinators.scm
containers.scm
cpan.scm
cpio.scm
cran.scm
crate.scm tests: Remove trailing commas in JSON tests. 2020-04-27 23:29:40 +02:00
cve-sample.json
cve.scm
debug-link.scm
derivations.scm
discovery.scm
dsa.key Add (guix openpgp). 2020-05-04 09:56:12 +02:00
ed25519.key Add (guix openpgp). 2020-05-04 09:56:12 +02:00
ed25519.sec Add (guix openpgp). 2020-05-04 09:56:12 +02:00
elpa.scm
file-systems.scm
gem.scm tests: Remove trailing commas in JSON tests. 2020-04-27 23:29:40 +02:00
gexp.scm
git.scm
glob.scm
gnu-maintenance.scm
grafts.scm
graph.scm graph: Add 'shortest-path'. 2020-05-11 23:30:55 +02:00
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build-branch.sh tests: Adjust '--with-commit' test for tags. 2020-04-04 18:52:36 +02:00
guix-build.sh gnu: commencement: Memoize packages as a function of the system. 2020-04-11 00:32:41 +02:00
guix-daemon.sh
guix-describe.sh
guix-download.sh
guix-environment-container.sh
guix-environment.sh
guix-gc.sh
guix-graph.sh guix graph: Add '--path'. 2020-05-11 23:30:55 +02:00
guix-hash.sh
guix-lint.sh
guix-pack-localstatedir.sh
guix-pack-relocatable.sh pack: Add relocation via ld.so and fakechroot. 2020-05-14 17:21:27 +02:00
guix-pack.sh store: 'mapm/accumulate-builds' preserves '%current-target-system'. 2020-05-14 17:21:27 +02:00
guix-package-aliases.sh tests: Test 'guix show' with multiple packages. 2020-05-11 23:30:54 +02:00
guix-package-net.sh
guix-package.sh
guix-system.sh
hackage.scm
import-utils.scm
inferior.scm
lint.scm
lzlib.scm
modules.scm
monads.scm
nar.scm
networking.scm
opam.scm
openpgp.scm openpgp: Add 'string->openpgp-packet'. 2020-05-04 09:56:13 +02:00
pack.scm
packages.scm packages: Ensure bags are insensitive to '%current-target-system'. 2020-05-14 17:21:27 +02:00
pki.scm
print.scm tests: Update expected values for package->code. 2020-04-20 10:57:49 +02:00
processes.scm
profiles.scm profiles: Add lowerable <profile> record type. 2020-04-26 22:49:48 +02:00
publish.scm
pypi.scm tests: Remove trailing commas in JSON tests. 2020-04-27 23:29:40 +02:00
records.scm
rsa.key Add (guix openpgp). 2020-05-04 09:56:12 +02:00
scripts-build.scm
scripts.scm
search-paths.scm
services.scm
sets.scm
signing-key.pub
signing-key.sec
size.scm
snix.scm
status.scm
store-database.scm
store-deduplication.scm
store-roots.scm
store.scm store: 'mapm/accumulate-builds' preserves '%current-target-system'. 2020-05-14 17:21:27 +02:00
substitute.scm
swh.scm
syscalls.scm syscalls: Add 'getxattr'. 2020-05-14 00:48:12 +02:00
system.scm
test.drv
texlive.scm
ui.scm
union.scm
upstream.scm
utils.scm
uuid.scm
workers.scm
zlib.scm