From ccb80990040ac69f6bf6383d6d096aca06f8e912 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 26 Apr 2022 11:46:59 +0200 Subject: [PATCH] remove tmpfs on /var/tmp, not needed on writable archboot --- usr/lib/initcpio/install/archboot_base_common | 2 +- .../local-fs.target.wants/var-tmp.mount | 20 ------------------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 usr/share/archboot/base/etc/systemd/system/local-fs.target.wants/var-tmp.mount diff --git a/usr/lib/initcpio/install/archboot_base_common b/usr/lib/initcpio/install/archboot_base_common index 768c2bec9..86f9c4a2d 100644 --- a/usr/lib/initcpio/install/archboot_base_common +++ b/usr/lib/initcpio/install/archboot_base_common @@ -7,7 +7,7 @@ build () add_checked_modules 'virtio|zram|btrfs|libcrc32|zstd' ### setting up base structure - map add_dir "/mnt" "/install" "/var/log" "/home" + map add_dir "/mnt" "/install" "/var/log" "/home" "/var/tmp" add_symlink /var/run ../run add_symlink /var/lock ../run/lock diff --git a/usr/share/archboot/base/etc/systemd/system/local-fs.target.wants/var-tmp.mount b/usr/share/archboot/base/etc/systemd/system/local-fs.target.wants/var-tmp.mount deleted file mode 100644 index 433adb551..000000000 --- a/usr/share/archboot/base/etc/systemd/system/local-fs.target.wants/var-tmp.mount +++ /dev/null @@ -1,20 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. - -[Unit] -Description=Temporary Directory -Documentation=man:hier(7) -Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems -DefaultDependencies=no -Conflicts=umount.target -Before=local-fs.target umount.target - -[Mount] -What=tmpfs -Where=/var/tmp -Type=tmpfs -Options=mode=1777,strictatime