<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/gnu/packages/aux-files/run-in-namespace.c, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-03-15T22:27:59Z</updated>
<entry>
<title>pack: "-RR" produces PRoot-enabled relocatable binaries.</title>
<updated>2019-03-15T22:27:59Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2019-03-14T16:02:53Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=99aec37a78e7be6a591d0e5b7439896d669a75d1'/>
<id>urn:sha1:99aec37a78e7be6a591d0e5b7439896d669a75d1</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>pack: Relocatable wrapper now properly maps the current UID/GID.</title>
<updated>2018-05-11T16:42:42Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2018-05-11T14:41:35Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=30da3173d5ee69777d0e1de4f9c977dea72e8a77'/>
<id>urn:sha1:30da3173d5ee69777d0e1de4f9c977dea72e8a77</id>
<content type='text'>
* gnu/packages/aux-files/run-in-namespace.c (write_id_map)
(disallow_setgroups): New functions.
(main): Use 'clone' via 'syscall' instead of 'fork' followed by
'unshare'.  Add calls to 'disallow_setgroups' and 'write_id_map' in the
parent process.
</content>
</entry>
<entry>
<title>pack: Add '--relocatable'.</title>
<updated>2018-05-10T12:53:57Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludovic.courtes@inria.fr</email>
</author>
<published>2018-05-02T15:08:37Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=47a60325ca650e8fc1a291c8655b4297f4de8deb'/>
<id>urn:sha1:47a60325ca650e8fc1a291c8655b4297f4de8deb</id>
<content type='text'>
* gnu/packages/aux-files/run-in-namespace.c: New file.
* Makefile.am (AUX_FILES): Add it.
* guix/scripts/pack.scm (&lt;c-compiler&gt;): New record type.
(c-compiler, bootstrap-c-compiler, c-compiler-compiler): New procedures.
(self-contained-tarball): Use
'relative-file-name' for the SOURCE -&gt; TARGET symlink.
(docker-image): Add 'defmod' to please Geiser.
(wrapped-package, map-manifest-entries): New procedures.
(%options, show-help): Add --relocatable.
(guix-pack): Honor it.
</content>
</entry>
</feed>
