GNU bug report logs - #41189
[PATCH 0/3] Add Fakechroot engine for 'guix pack -RR'

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Mon, 11 May 2020 17:07:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: 41189 <at> debbugs.gnu.org
Cc: Ludovic Courtès <ludo <at> 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
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





This bug report was last modified 5 years and 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.