guix-play/guix/scripts
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
..
container
import import/json: Use json->code. 2020-04-16 23:41:52 +02:00
system reconfigure: Correctly re-throw SRFI-34 exceptions on Guile 3. 2020-04-08 00:05:45 +02:00
archive.scm '--dry-run' no longer implies '--no-grafts'. 2020-03-29 15:32:18 +02:00
authenticate.scm
build.scm scripts/build: options->things-to-build: Handle .json files. 2020-04-16 23:41:52 +02:00
challenge.scm
container.scm
copy.scm '--dry-run' no longer implies '--no-grafts'. 2020-03-29 15:32:18 +02:00
deploy.scm deploy: Use 'map/accumulate-builds'. 2020-03-29 23:14:27 +02:00
describe.scm
download.scm
edit.scm guix: edit: Make nano the default editor. 2020-04-27 23:29:40 +02:00
environment.scm Merge branch 'master' into core-updates 2020-03-30 12:17:33 +02:00
gc.scm
graph.scm guix graph: Add '--path'. 2020-05-11 23:30:55 +02:00
hash.scm
import.scm
install.scm
lint.scm scripts: lint: Handle store connections for lint checkers. 2020-03-24 19:47:46 +00:00
offload.scm
pack.scm pack: Add relocation via ld.so and fakechroot. 2020-05-14 17:21:27 +02:00
package.scm guix package, show: Support multiple queries. 2020-05-11 23:30:54 +02:00
perform-download.scm
processes.scm
publish.scm
pull.scm Merge branch 'master' into core-updates 2020-03-30 12:17:33 +02:00
refresh.scm
remove.scm
repl.scm
search.scm
show.scm guix package, show: Support multiple queries. 2020-05-11 23:30:54 +02:00
size.scm
substitute.scm substitute: Close port at the end of http-multiple-get. 2020-04-26 19:37:25 +01:00
system.scm guix system: 'docker-image' honors '--network'. 2020-05-07 12:55:14 +02:00
time-machine.scm
upgrade.scm
weather.scm weather: Delete duplicate entries coming from '--manifest'. 2020-04-14 16:01:05 +02:00