[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: hydra: Add swapfiles to fosshost machines.
From: |
Christopher Baines |
Subject: |
01/02: hydra: Add swapfiles to fosshost machines. |
Date: |
Wed, 23 Dec 2020 11:48:36 -0500 (EST) |
cbaines pushed a commit to branch master
in repository maintenance.
commit 7bb7b0b6809336bdb566aaf574f7d9fed4ba845d
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Wed Dec 23 16:46:29 2020 +0000
hydra: Add swapfiles to fosshost machines.
So that they have more swap, and thus can run more parallel builds
without running out of memory.
* hydra/fosshost1.scm: Add /swapfile to swap-devices list.
* hydra/fosshost2.scm: Likewise.
---
hydra/fosshost1.scm | 2 +-
hydra/fosshost2.scm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hydra/fosshost1.scm b/hydra/fosshost1.scm
index b2905ed..fd65a2e 100644
--- a/hydra/fosshost1.scm
+++ b/hydra/fosshost1.scm
@@ -26,7 +26,7 @@
(keyboard-layout keyboard-layout)))
(initrd-modules (append '("virtio_scsi")
%base-initrd-modules))
- (swap-devices (list "/dev/sda2"))
+ (swap-devices (list "/dev/sda2" "/swapfile"))
(file-systems (cons* (file-system
(mount-point "/")
diff --git a/hydra/fosshost2.scm b/hydra/fosshost2.scm
index c7b41c5..debc77f 100644
--- a/hydra/fosshost2.scm
+++ b/hydra/fosshost2.scm
@@ -26,7 +26,7 @@
(keyboard-layout keyboard-layout)))
(initrd-modules (append '("virtio_scsi")
%base-initrd-modules))
- (swap-devices (list "/dev/sda2"))
+ (swap-devices (list "/dev/sda2" "/swapfile"))
(file-systems (cons* (file-system
(mount-point "/")