guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Chrooting into GuixSD


From: Oleg Pykhalov
Subject: Re: Chrooting into GuixSD
Date: Thu, 14 Jun 2018 17:29:21 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Ricardo Wurmus <address@hidden> writes:

> Nils Gillmann <address@hidden> writes:
>
>> Thorsten Wilms transcribed 1.2K bytes:
>>> On 13.06.2018 10:13, Nils Gillmann wrote:

[…]

>>> You can interact with the daemon:
>>>
>>>   cd /path/to/guix/root
>>>   sudo mount --bind /dev dev
>>>   sudo mount --bind /proc proc
>>>   sudo mount --bind /sys sys
>>>   sudo unshare -m sudo chroot . /run/current-system/profile/bin/bash
>>>   source /etc/profile
>>>
>>>   guix-daemon --build-users-group=guixbuild &
>>>
>>> If you then `su` to a plain user, do `source /etc/profile` again.
>>>
>>> I think all of `guix pull`. `reconfigure` and `package` search, install and
>>> update worked here with that approach. `guix download` failed due to nss
>>> certificates, until I added:
>>>   export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"
>>>   export
>>> SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
>>>   export GIT_SSL_CAINFO="$SSL_CERT_FILE"
>>
>> Huh. Okay, cool. Thanks for documeting this at least on the mailing list :)
>
> Would any of you like to document this in the manual?

I would because I posted articles like the current one sometime ago.

Maybe a separate ‘users-stories.texi’ should be as was discussed
somewhere on a mailing list (as I remember)?

https://lists.nongnu.org/archive/cgi-bin/namazu.cgi?query=Reinstall+GuixSD+from+another+distribution+with+chroot+%28Recover+Grub%29&submit=Search&idxname=help-guix

https://lists.gnu.org/archive/html/help-guix/2017-10/msg00035.html

[…]

Oleg.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]