[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: doc: Mention sourcing system profile when chrooti
From: |
guix-commits |
Subject: |
branch master updated: doc: Mention sourcing system profile when chrooting. |
Date: |
Mon, 03 Oct 2022 11:24:02 -0400 |
This is an automated email from the git hooks/post-receive script.
apteryx pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new d573494387 doc: Mention sourcing system profile when chrooting.
d573494387 is described below
commit d57349438709a1818f9b26b0462e8b76d15a526c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Oct 3 11:22:19 2022 -0400
doc: Mention sourcing system profile when chrooting.
* doc/guix.texi (Chrooting into an existing system): Add sourcing of system
profile along user profile.
---
doc/guix.texi | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 0f9011fff6..db61727545 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2939,11 +2939,12 @@ chroot /mnt /bin/sh
@end example
@item
-Source your @var{user} profile to setup the environment, where
-@var{user} is the user name used for the Guix System you are attempting
-to repair:
+Source the system profile as well as your @var{user} profile to setup
+the environment, where @var{user} is the user name used for the Guix
+System you are attempting to repair:
@example sh
+source /var/guix/profiles/system/profile/etc/profile
source /home/@var{user}/.guix-profile/etc/profile
@end example
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: doc: Mention sourcing system profile when chrooting.,
guix-commits <=