mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
guix home: Create /tmp in container if needed.
Previously 'guix home container' would create a container without /tmp, which would prevent 'least-authority-wrapper' programs from starting, for example. * guix/scripts/home.scm (spawn-home-container): Create /tmp if it doesn't exist yet.
This commit is contained in:
parent
45ca59da5e
commit
bb7369ba8a
1 changed files with 4 additions and 0 deletions
|
@ -330,6 +330,10 @@ (define groups
|
|||
(display "127.0.0.1 localhost\n" port)
|
||||
(chmod port #o444))))
|
||||
|
||||
;; Create /tmp; bits of code expect it, such as
|
||||
;; 'least-authority-wrapper'.
|
||||
(mkdir-p "/tmp")
|
||||
|
||||
;; Set PATH for things that the activation script might expect, such
|
||||
;; as "env".
|
||||
(load-profile #$system-profile)
|
||||
|
|
Loading…
Reference in a new issue