guix-mirrors/doc
Ludovic Courtès ce363c1dc7
environment: Add ‘--writable-root’ and default to read-only root.
This is an incompatible change where the root file system in
‘guix shell -C’ is now read-only by default.

* guix/scripts/environment.scm (show-environment-options-help)
(%options): Add ‘--writable-root’.
* guix/scripts/environment.scm (setup-fhs): Invoke /sbin/ldconfig; moved
from…
(launch-environment): … here.
(launch-environment/container): Add #:writable-root? and pass it to
‘call-with-container’.  Move root file system setup to #:populate-file-system.
(guix-environment*): Honor ‘--writable-root’.
* tests/guix-environment-container.sh: Test it.
* doc/guix.texi (Invoking guix shell): Document ‘--writable-root’.
(Debugging Build Failures): Mention it before “rm /bin/sh”.

Change-Id: I2e8517d6f01eb8093160bffc0f9f56071ad6fee6
Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2025-05-05 14:33:59 +02:00
..
images doc: Use "dejavu sans" instead of "Helvetica" or "sans" in dot images. 2024-04-14 10:29:07 +02:00
build.scm nls: Update translations. 2025-05-03 00:21:43 +02:00
contributing.texi Revert "doc: Emacs Packages: Remove outdated commentary on testing." 2025-04-15 10:21:00 +02:00
environment-gdb.scm doc: Update GDB "guix shell" example to use autoconf-2.69 2023-07-18 00:41:15 +02:00
fdl-1.3.texi doc: Use HTTPS for external links. 2020-03-10 20:26:52 +01:00
guix-cookbook.texi nls: Update translations. 2025-05-03 00:21:43 +02:00
guix.texi environment: Add ‘--writable-root’ and default to read-only root. 2025-05-05 14:33:59 +02:00
he-config-bare-bones.scm home: Define ‘%base-home-services’. 2025-01-16 22:32:11 +01:00
htmlxref.cnf nls: Update translations. 2025-05-03 00:21:43 +02:00
local.mk nls: Update translations. 2025-05-03 00:21:43 +02:00
package-hello.json import: Do not return package name with json importer. 2024-02-23 19:02:55 +01:00
package-hello.scm