guix-devel/gnu/packages/aux-files
Ludovic Courtès 99aec37a78
pack: "-RR" produces PRoot-enabled relocatable binaries.
* gnu/packages/aux-files/run-in-namespace.c (exec_with_proot): New
function.
(main): When 'clone' fails, call 'rm_rf'.
[PROOT_PROGRAM]: When 'clone' fails, call 'exec_with_proot'.
* guix/scripts/pack.scm (wrapped-package): Add #:proot?.
[proot]: New procedure.
[build]: Compile with -DPROOT_PROGRAM when PROOT? is true.
* guix/scripts/pack.scm (%options): Set the 'relocatable?' value to
'proot when "-R" is passed several times.
(guix-pack): Pass #:proot? to 'wrapped-package'.
* tests/guix-pack-relocatable.sh: Use "-RR" on Intel systems that lack
user namespace support.
* doc/guix.texi (Invoking guix pack): Document -RR.
2019-03-15 23:27:59 +01:00
..
chromium gnu: Add ungoogled-chromium. 2019-02-18 23:41:56 +01:00
emacs gnu: emacs: Check GUIX_ENVIRONMENT when autoloading packages. 2017-07-29 23:19:17 +03:00
linux-libre gnu: linux-libre: Update to 5.0. 2019-03-06 17:51:55 -05:00
run-in-namespace.c pack: "-RR" produces PRoot-enabled relocatable binaries. 2019-03-15 23:27:59 +01:00