From: "Ludovic Courtès" <ludo@gnu.org>
To: 31360@debbugs.gnu.org
Subject: [bug#31360] [PATCH 0/5] 'guix pack --relocatable'
Date: Thu, 3 May 2018 22:15:31 +0200 [thread overview]
Message-ID: <20180503201531.22213-1-ludo@gnu.org> (raw)
Hello Guix!
This is the cleaned up version of what we discussed at:
https://lists.gnu.org/archive/html/guix-devel/2018-04/msg00252.html
Part of the work here is to use relative symlinks in profiles and in
links created with ‘guix pack -S’ such that, if you run:
guix pack -R -S /mybin=bin bash-static
you can then unpack the result and run:
./mybin/sh
For ‘guix pack -R’ I started providing the framework so that ‘guix pack
--bootstrap’ would use the bootstrap C compiler, which in turn would
allow us to add a unit test. Unfortunately, since ‘glibc-bootstrap’
lacks ‘libc.a’, we cannot do that.
Anyway feedback welcome! I invite you to give it a try if you have a
non-Guix machine at hand, it’s pretty fun. :-)
What remains to be seen is the implications for the binary installation
tarball: what if we created it with -R? Would it be of any use? I
guess ‘guix-daemon’ would still need to run with --disable-chroot
because build users would be missing. Maybe we should change
‘guix-daemon’ to do something sensible in that case?
Ludo’.
Ludovic Courtès (5):
union: Add 'relative-file-name'.
profiles: Optionally use relative file names for symlink targets.
profiles: Allow lowerable objects other than packages in
<manifest-entry>.
search-paths: Add 'set-search-paths'.
pack: Add '--relocatable'.
Makefile.am | 3 +-
doc/guix.texi | 42 ++++
gnu/packages/aux-files/run-in-namespace.c | 264 ++++++++++++++++++++++
guix/build/profiles.scm | 14 +-
guix/build/union.scm | 48 +++-
guix/profiles.scm | 19 +-
guix/scripts/pack.scm | 177 ++++++++++++++-
guix/search-paths.scm | 15 +-
tests/guix-pack.sh | 10 +-
tests/profiles.scm | 46 ++++
tests/union.scm | 18 ++
tests/utils.scm | 2 +-
12 files changed, 635 insertions(+), 23 deletions(-)
create mode 100644 gnu/packages/aux-files/run-in-namespace.c
--
2.17.0
next reply other threads:[~2018-05-03 20:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-03 20:15 Ludovic Courtès [this message]
2018-05-03 20:22 ` [bug#31360] [PATCH 1/5] union: Add 'relative-file-name' Ludovic Courtès
2018-05-03 20:22 ` [bug#31360] [PATCH 2/5] profiles: Optionally use relative file names for symlink targets Ludovic Courtès
2018-05-03 20:22 ` [bug#31360] [PATCH 3/5] profiles: Allow lowerable objects other than packages in <manifest-entry> Ludovic Courtès
2018-05-03 20:22 ` [bug#31360] [PATCH 4/5] search-paths: Add 'set-search-paths' Ludovic Courtès
2018-05-03 20:22 ` [bug#31360] [PATCH 5/5] pack: Add '--relocatable' Ludovic Courtès
2018-05-04 2:45 ` [bug#31360] [PATCH 0/5] 'guix pack --relocatable' Thompson, David
2018-05-04 9:27 ` Ludovic Courtès
2018-05-04 13:01 ` Thompson, David
2018-05-10 12:55 ` bug#31360: " Ludovic Courtès
2018-05-11 16:42 ` ‘guix pack --relocatable’ and the binary installation tarball Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180503201531.22213-1-ludo@gnu.org \
--to=ludo@gnu.org \
--cc=31360@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.