guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: sysadmin: build-machines: Use tmpfs for /var/guix


From: Efraim Flashner
Subject: branch master updated: sysadmin: build-machines: Use tmpfs for /var/guix/temproots.
Date: Tue, 07 Nov 2023 07:02:21 -0500

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository maintenance.

The following commit(s) were added to refs/heads/master by this push:
     new 0e62b86  sysadmin: build-machines: Use tmpfs for /var/guix/temproots.
0e62b86 is described below

commit 0e62b8664e96e78e324240eb55a13b13268471e7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 10:47:24 2023 +0300

    sysadmin: build-machines: Use tmpfs for /var/guix/temproots.
    
    * hydra/modules/sysadmin/build-machines.scm (build-machine-os)
    [file-systems]: Add tmpfs file-system for /var/guix/temproots.
---
 hydra/modules/sysadmin/build-machines.scm | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/hydra/modules/sysadmin/build-machines.scm 
b/hydra/modules/sysadmin/build-machines.scm
index a37726b..a7caef8 100644
--- a/hydra/modules/sysadmin/build-machines.scm
+++ b/hydra/modules/sysadmin/build-machines.scm
@@ -64,11 +64,17 @@ HOST-NAME and accessibly by SYSADMINS, with the given 
AUTHORIZED-GUIX-KEYS."
     (bootloader (bootloader-configuration
                  (bootloader grub-bootloader)
                  (target "/dev/sda")))
-    (file-systems (cons (file-system
-                          (device (file-system-label "my-root"))
-                          (mount-point "/")
-                          (type "ext4"))
-                        %base-file-systems))
+    (file-systems (cons* (file-system
+                           (device (file-system-label "my-root"))
+                           (mount-point "/")
+                           (type "ext4"))
+                         (file-system
+                           (device "tmpfs")
+                           (mount-point "/var/guix/temproots")
+                           (type "tmpfs")
+                           (flags '(no-suid no-dev no-exec))
+                           (check? #f))
+                         %base-file-systems))
 
     (services (cons* (service sysadmin-service-type sysadmins)
                      (service openssh-service-type)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]