guix/doc
John Kehayias c7ba5f38b8
environment: Add '--emulate-fhs'.
* guix/scripts/environment.scm (show-environment-options-help, %options): Add
'--emulate-fhs'.
(setup-fhs): New procedure.  Setup for the Filesystem Hierarchy Standard (FHS)
container.  Defines and uses FHS-SYMLINKS and LINK-CONTENTS to create FHS
expected directories and creates /etc/ld.so.conf.
(launch-environment): Add 'emulate-fhs?' key and implement it to set $PATH and
generate /etc/ld.so.cache before calling COMMAND.
(launch-environment/container): Add 'emulate-fhs?' and 'setup-hook' keys and
implement them.  Define and use FHS-MAPPINGS, to set up additional bind mounts
in the container to follow FHS expectations.
(guix-environment*): Add glibc-for-fhs to the container packages when
'emulate-fhs?' key is in OPTS.
* doc/guix.texi (Invoking guix shell): Document '--emulate-fhs'.
(Invoking guix environment): Document '--emulate-fhs'.
* tests/guix-environment-container.sh: Add tests for '--emulate-fhs'.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-10-13 09:19:08 +02:00
..
images
build.scm doc: Use a minimal texlive profile in build.scm. 2022-06-15 17:24:46 -04:00
contributing.texi doc: Add git send-email tip in 'Submitting Patches' section. 2022-10-07 09:17:11 -04:00
environment-gdb.scm
fdl-1.3.texi
guix-cookbook.texi doc: cookbook: Link to "A Scheme Primer". 2022-07-08 17:28:50 +02:00
guix.texi environment: Add '--emulate-fhs'. 2022-10-13 09:19:08 +02:00
he-config-bare-bones.scm doc: Update example of a minimalistic home environment. 2022-06-10 22:42:49 +02:00
htmlxref.cnf doc: Fix Guix manual URLs in 'htmlxref.cnf'. 2022-08-05 00:14:29 +02:00
local.mk
package-hello.json
package-hello.scm