unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 41189@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#41189] [PATCH v2 0/4] Add Fakechroot engine for 'guix pack -RR'
Date: Wed, 13 May 2020 14:52:11 +0200	[thread overview]
Message-ID: <20200513125215.27740-1-ludo@gnu.org> (raw)
In-Reply-To: <87tv0l9njp.fsf@inria.fr>

Hello!

This version incorporates changes discussed in this thread along with
subsequent cleanups:

  • Set ‘GCONV_PATH’.

  • Build an ld.so audit module to rewrite store file names read
    from RUNPATH entries and the likes.

  • Get rid of the ‘--library-path’ argument to ld.so, which is now
    useless since the audit module takes care of rewriting .so file
    names.  This simplifies both ‘exec_with_loader’ in the wrapper
    and ‘wrapped-package’ in ‘guix pack’.

Ludo’.

Ludovic Courtès (4):
  pack: Wrapper honors 'GUIX_EXECUTION_ENGINE' environment variable.
  pack: Factorize store references in wrapper.
  gnu: Add fakechroot.
  pack: Add relocation via ld.so and fakechroot.

 Makefile.am                               |   1 +
 doc/guix.texi                             |  43 +++-
 gnu/packages/aux-files/pack-audit.c       |  85 ++++++++
 gnu/packages/aux-files/run-in-namespace.c | 251 +++++++++++++++++++---
 gnu/packages/linux.scm                    |  30 +++
 guix/scripts/pack.scm                     |  87 +++++++-
 tests/guix-pack-relocatable.sh            |  23 ++
 7 files changed, 479 insertions(+), 41 deletions(-)
 create mode 100644 gnu/packages/aux-files/pack-audit.c

-- 
2.26.2





  reply	other threads:[~2020-05-13 12:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 17:05 [bug#41189] [PATCH 0/3] Add Fakechroot engine for 'guix pack -RR' Ludovic Courtès
2020-05-11 17:11 ` [bug#41189] [PATCH 1/3] pack: Wrapper honors 'GUIX_EXECUTION_ENGINE' environment variable Ludovic Courtès
2020-05-11 17:11   ` [bug#41189] [PATCH 2/3] gnu: Add fakechroot Ludovic Courtès
2020-05-11 17:11   ` [bug#41189] [PATCH 3/3] pack: Add relocation via ld.so and fakechroot Ludovic Courtès
2020-05-11 21:18 ` [bug#41189] [PATCH 0/3] Add Fakechroot engine for 'guix pack -RR' Carlos O'Donell
2020-05-12 10:03   ` Ludovic Courtès
2020-05-12 12:09     ` Carlos O'Donell
2020-05-12 15:32       ` Ludovic Courtès
2020-05-13 12:52         ` Ludovic Courtès [this message]
2020-05-13 12:52           ` [bug#41189] [PATCH v2 1/4] pack: Wrapper honors 'GUIX_EXECUTION_ENGINE' environment variable Ludovic Courtès
2020-05-13 12:52           ` [bug#41189] [PATCH v2 2/4] pack: Factorize store references in wrapper Ludovic Courtès
2020-05-13 12:52           ` [bug#41189] [PATCH v2 3/4] gnu: Add fakechroot Ludovic Courtès
2020-05-13 12:52           ` [bug#41189] [PATCH v2 4/4] pack: Add relocation via ld.so and fakechroot Ludovic Courtès
2020-05-14 15:24           ` bug#41189: [PATCH v2 0/4] Add Fakechroot engine for 'guix pack -RR' 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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200513125215.27740-1-ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=41189@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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).