configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount: use tmpfs with noswap option

Since tmpfs has a `noswap` option, use it instead of ramfs. Unlike
ramfs, tmpfs has a limit to its size.

This reverts commit 09b0428128 ("configs/releng/airootfs/etc/systemd/system/etc-pacman.d-gnupg.mount: use ramfs").
This commit is contained in:
nl6720 2023-07-30 15:52:51 +03:00
parent 8ddd08f51d
commit 0b8704fe4b
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369
2 changed files with 5 additions and 3 deletions

View File

@ -12,6 +12,8 @@ Changed
------- -------
- Moved custom ``mkinitcpio.conf`` files to ``/etc/mkinitcpio.conf.d/archiso.conf``. - Moved custom ``mkinitcpio.conf`` files to ``/etc/mkinitcpio.conf.d/archiso.conf``.
- Mount ``/etc/pacman.d/gnupg`` on tmpfs with option ``noswap`` instead of using ramfs. This ensures there is a limit to
the file system size.
Deprecated Deprecated
---------- ----------

View File

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