Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2022-04-01 18:04:23 +0300
committernl6720 <nl6720@gmail.com>2022-04-06 18:10:37 +0300
commit09b0428128700f37bd465eb54c6e45f69c17617d (patch)
tree881ed5b5271dc92df4df8e44ff3ce51be790fd54
parent20f588436dd0c38695ae72ffe07b32cd16b4e349 (diff)
configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount: use ramfs
When using tmpfs, it is possible that parts of it end up getting put in swap space (only if there is one). This may not be desired, so use ramfs instead.
-rw-r--r--CHANGELOG.rst2
-rw-r--r--configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount4
2 files changed, 4 insertions, 2 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 6930291..c26bc21 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -11,6 +11,8 @@ Added
Changed
-------
+- Mount /etc/pacman.d/gnupg on ramfs instead of tmpfs to ensure its contents never land in swap.
+
Removed
-------
diff --git a/configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount b/configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount
index 4eab551..0ba0e67 100644
--- a/configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount
+++ b/configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount
@@ -2,7 +2,7 @@
Description=Temporary /etc/pacman.d/gnupg directory
[Mount]
-What=tmpfs
+What=ramfs
Where=/etc/pacman.d/gnupg
-Type=tmpfs
+Type=ramfs
Options=mode=0755