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
..
2022-05-18 23:20:21 +02:00
2025-04-21 23:55:50 +02:00
2023-10-07 12:41:05 -04:00
2024-12-18 18:32:40 +01:00
2022-08-28 23:37:28 +02:00
2022-07-13 10:49:40 -04:00
2024-08-31 10:42:06 +02:00
2023-09-26 17:36:58 +02:00
2024-08-21 00:52:39 +02:00
2024-12-30 11:01:54 +01:00
2023-12-18 23:16:28 +01:00
2025-05-05 14:33:59 +02:00
2023-06-09 14:19:14 +02:00
2024-04-15 22:36:42 +02:00
2021-12-18 04:09:47 +01:00
2025-02-09 18:20:41 +01:00
2025-03-26 17:57:44 +01:00
2024-04-15 22:36:42 +02:00
2024-09-17 17:34:58 +02:00
2023-06-09 14:19:14 +02:00
2021-07-18 02:10:49 -04:00
2025-02-28 13:36:44 +09:00
2025-04-06 11:23:07 +02:00
2023-09-26 17:36:59 +02:00
2024-07-18 17:31:19 +02:00
2025-02-28 13:36:44 +09:00
2024-11-17 20:32:50 +09:00
2023-10-28 00:17:23 +02:00
2023-08-21 16:16:47 +02:00
2024-11-12 23:40:39 +01:00
2023-04-21 16:16:38 +02:00
2021-12-22 10:53:19 +01:00
2023-04-21 16:16:38 +02:00
2025-04-15 10:21:01 +02:00
2023-04-21 16:16:38 +02:00
2022-09-04 23:10:10 +02:00
2024-05-13 16:31:35 +02:00
2025-05-05 14:33:59 +02:00
2023-04-21 16:16:38 +02:00
2023-04-21 16:16:38 +02:00
2024-05-01 17:26:18 +02:00
2023-09-26 17:36:57 +02:00
2023-04-21 16:16:38 +02:00
2025-05-05 14:33:59 +02:00
2023-11-15 18:29:37 +01:00
2023-04-21 16:16:38 +02:00
2023-10-28 01:30:37 +02:00
2023-04-21 17:09:46 +02:00
2023-04-21 16:16:38 +02:00
2024-12-14 00:34:28 +01:00
2025-04-27 13:01:48 +01:00
2024-12-14 01:28:49 +01:00
2023-12-06 23:50:04 +01:00
2025-02-09 18:20:41 +01:00
2024-06-13 22:34:00 +02:00
2024-03-11 22:12:34 +01:00
2023-12-03 16:15:29 +01:00
2024-06-03 22:58:53 +02:00
2025-01-16 22:32:11 +01:00
2022-06-04 12:04:24 +02:00
2022-03-06 22:49:46 +01:00
2025-02-28 13:36:44 +09:00
2022-12-26 17:15:06 +01:00
2025-04-15 10:21:33 +02:00
2022-07-08 13:51:34 +01:00
2025-01-24 23:36:04 +01:00
2024-06-03 22:58:53 +02:00
2024-08-31 10:42:16 +02:00
2025-03-05 00:28:49 +01:00
2021-11-16 14:34:28 +01:00
2023-04-07 17:56:07 +02:00
2025-04-13 14:19:43 +02:00
2024-04-15 22:36:42 +02:00
2021-12-22 10:53:19 +01:00
2025-01-24 23:52:49 +01:00
2025-03-26 17:57:44 +01:00
2022-12-12 15:03:05 +01:00
2024-09-28 00:20:18 +02:00
2025-03-26 17:57:44 +01:00
2024-08-31 10:42:49 +02:00
2025-03-03 20:14:56 +00:00
2024-12-30 11:01:54 +01:00
2025-02-24 23:33:51 +01:00
2023-06-04 10:59:28 +02:00
2023-02-19 21:13:23 -05:00
2025-03-05 00:28:49 +01:00
2022-06-26 23:19:14 +02:00
2024-04-15 22:36:42 +02:00
2024-12-30 00:51:57 +01:00
2024-05-25 16:44:42 +02:00
2023-08-18 16:10:08 +02:00
2025-04-25 20:25:54 +02:00
2024-06-03 22:58:52 +02:00
2023-12-04 22:26:36 +01:00
2024-03-09 18:55:49 +01:00
2025-04-20 18:50:51 +02:00
2022-10-22 01:46:55 +02:00
2024-08-31 10:45:37 +02:00
2025-01-20 21:37:36 +01:00
2025-05-05 12:15:47 +02:00
2022-12-13 17:46:39 +01:00
2025-01-08 23:03:04 +01:00
2024-04-15 22:36:42 +02:00