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
..
2020-01-31 23:37:13 -05:00
2018-09-04 17:25:11 +02:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-03-12 18:32:15 +01:00
2020-05-11 23:30:55 +02:00
2019-12-12 17:56:58 +01:00
2018-09-07 11:40:22 +02:00
2019-04-10 17:09:47 +02:00
2020-05-11 23:30:55 +02:00
2019-12-08 23:14:03 +01:00
2019-12-12 17:56:57 +01:00
2019-12-26 12:29:44 +01:00
2018-09-04 17:25:11 +02:00
2020-01-16 18:30:57 +01:00
2020-05-04 09:56:12 +02:00
2019-03-24 00:13:53 +01:00
2019-04-10 17:09:47 +02:00
2020-02-27 23:29:30 +01:00
2020-05-14 00:48:12 +02:00
2019-06-14 21:57:39 +02:00