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.
This commit is contained in:
nl6720 2022-04-01 18:04:23 +03:00
parent 20f588436d
commit 09b0428128
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369
2 changed files with 4 additions and 2 deletions

View File

@ -11,6 +11,8 @@ Added
Changed Changed
------- -------
- Mount /etc/pacman.d/gnupg on ramfs instead of tmpfs to ensure its contents never land in swap.
Removed Removed
------- -------

View File

@ -2,7 +2,7 @@
Description=Temporary /etc/pacman.d/gnupg directory Description=Temporary /etc/pacman.d/gnupg directory
[Mount] [Mount]
What=tmpfs What=ramfs
Where=/etc/pacman.d/gnupg Where=/etc/pacman.d/gnupg
Type=tmpfs Type=ramfs
Options=mode=0755 Options=mode=0755