diff options
| -rw-r--r-- | gnu/build/install.scm | 2 | ||||
| -rw-r--r-- | gnu/services.scm | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gnu/build/install.scm b/gnu/build/install.scm index d4982650c18..618a51af8e4 100644 --- a/gnu/build/install.scm +++ b/gnu/build/install.scm | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | ;;; Copyright © 2013-2020, 2022 Ludovic Courtès <ludo@gnu.org> | 2 | ;;; Copyright © 2013-2020, 2022 Ludovic Courtès <ludo@gnu.org> |
| 3 | ;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com> | 3 | ;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com> |
| 4 | ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> | 4 | ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> |
| 5 | ;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr> | ||
| 5 | ;;; | 6 | ;;; |
| 6 | ;;; This file is part of GNU Guix. | 7 | ;;; This file is part of GNU Guix. |
| 7 | ;;; | 8 | ;;; |
| @@ -134,7 +135,6 @@ STORE." | |||
| 134 | (directory "/var/guix/gcroots") | 135 | (directory "/var/guix/gcroots") |
| 135 | (directory "/var/empty") ; for no-login accounts | 136 | (directory "/var/empty") ; for no-login accounts |
| 136 | (directory "/var/db") ; for dhclient, etc. | 137 | (directory "/var/db") ; for dhclient, etc. |
| 137 | (directory "/var/run") | ||
| 138 | (directory "/run") | 138 | (directory "/run") |
| 139 | (directory "/mnt") | 139 | (directory "/mnt") |
| 140 | (directory "/var/guix/profiles/per-user/root" 0 0) | 140 | (directory "/var/guix/profiles/per-user/root" 0 0) |
diff --git a/gnu/services.scm b/gnu/services.scm index 23c3d8a9f4c..59481af10f3 100644 --- a/gnu/services.scm +++ b/gnu/services.scm | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | ;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org> | 7 | ;;; Copyright © 2020 Christine Lemmer-Webber <cwebber@dustycloud.org> |
| 8 | ;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re> | 8 | ;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re> |
| 9 | ;;; Copyright © 2023 Brian Cully <bjc@spork.org> | 9 | ;;; Copyright © 2023 Brian Cully <bjc@spork.org> |
| 10 | ;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr> | ||
| 10 | ;;; | 11 | ;;; |
| 11 | ;;; This file is part of GNU Guix. | 12 | ;;; This file is part of GNU Guix. |
| 12 | ;;; | 13 | ;;; |
| @@ -692,6 +693,7 @@ ACTIVATION-SCRIPT-TYPE." | |||
| 692 | (use-modules (gnu build activation) | 693 | (use-modules (gnu build activation) |
| 693 | (guix build utils)) | 694 | (guix build utils)) |
| 694 | 695 | ||
| 696 | (mkdir-p "/var/run") | ||
| 695 | ;; Make sure the user accounting database exists. If it | 697 | ;; Make sure the user accounting database exists. If it |
| 696 | ;; does not exist, 'setutxent' does not create it and | 698 | ;; does not exist, 'setutxent' does not create it and |
| 697 | ;; thus there is no accounting at all. | 699 | ;; thus there is no accounting at all. |
