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 gnu: Add earlyoom-service-type. 2020-01-31 23:37:13 -05:00
accounts.scm
base16.scm
base32.scm
base64.scm
bournish.scm
build-utils.scm
builders.scm
cache.scm Remove workaround for 'time-monotonic' in Guile 2.2.2. 2020-03-22 16:49:47 +01:00
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 import: cpan: Rewrite tests to use an HTTP server instead of mocking. 2020-01-15 18:40:43 +01:00
cpio.scm
cran.scm import: cran: Avoid uses of '@@' in the tests. 2020-01-16 23:14:05 +01:00
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 import: elpa: Rewrite test to use an HTTP server instead of mocking. 2020-01-16 23:14:05 +01:00
file-systems.scm
gem.scm tests: Remove trailing commas in JSON tests. 2020-04-27 23:29:40 +02:00
gexp.scm gexp: Add 'with-parameters'. 2020-03-12 18:32:15 +01:00
git.scm git: 'commit-difference' takes a list of excluded commits. 2019-12-27 13:52:49 +01:00
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 tests: Adjust to 'show-manifest-transaction' changes. 2020-03-25 16:02:53 +01:00
guix-system.sh guix system: Add workaround in test for Guile 3.0.0. 2020-01-17 17:12:44 +01:00
hackage.scm
import-utils.scm
inferior.scm Merge branch 'master' into core-updates 2020-03-21 22:16:02 +01:00
lint.scm lint: vulnerabilities: Avoid 'mock' in test. 2020-01-17 14:22:07 +01:00
lzlib.scm lzlib: Define 'dictionary-size+match-length-limit'. 2020-01-16 23:14:05 +01:00
modules.scm
monads.scm
nar.scm
networking.scm
opam.scm import: opam: Avoid uses of '@@' in tests. 2020-01-17 14:22:07 +01:00
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 publish: Export 'signed-string'. 2020-01-16 18:30:57 +01:00
pypi.scm tests: Remove trailing commas in JSON tests. 2020-04-27 23:29:40 +02:00
records.scm records: Improve reporting of "invalid field specifier" errors. 2020-01-16 18:30:57 +01:00
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 swh: Adjust 'origin' test. 2020-02-27 23:29:30 +01:00
syscalls.scm syscalls: Add 'getxattr'. 2020-05-14 00:48:12 +02:00
system.scm
test.drv
texlive.scm import: texlive: Avoid uses of '@@' in tests. 2020-01-17 14:22:08 +01:00
ui.scm tests: Adjust to 'show-manifest-transaction' changes. 2020-03-25 16:02:53 +01:00
union.scm
upstream.scm
utils.scm
uuid.scm
workers.scm
zlib.scm