[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31360] [PATCH 0/5] 'guix pack --relocatable'
From: |
Ludovic Courtès |
Subject: |
[bug#31360] [PATCH 0/5] 'guix pack --relocatable' |
Date: |
Fri, 04 May 2018 11:27:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello!
"Thompson, David" <address@hidden> skribis:
> On Thu, May 3, 2018 at 4:15 PM, Ludovic Courtès <address@hidden> wrote:
>> 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
>
> Just wanted to say that this is awesome! Is there a way to share host
> system resources? I would like a relocatable pack that could connect
> to the host's X server and do graphical things.
Yes: the C wrapper, ‘run-in-namespace.c’, shares everything. That is,
it creates a separate mount namespace but the only difference compared
to the host is /gnu/store.
Ludo’.