From: Michael Tremer Date: Mon, 18 Jul 2022 17:31:16 +0000 (+0000) Subject: mount: Don't mount /tmp in container X-Git-Tag: 0.9.28~680 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=838c885a1376a1fabb0eb7d246e80de3a9775b25;p=pakfire.git mount: Don't mount /tmp in container If /tmp is a ramdisk, any temporary files written during the build process will be lost between stages. That is rather unintuitive and we might use excess memory. Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/mount.c b/src/libpakfire/mount.c index 6627eab6e..b0194b19c 100644 --- a/src/libpakfire/mount.c +++ b/src/libpakfire/mount.c @@ -64,9 +64,6 @@ static const struct pakfire_mountpoint { { "pakfire_tmpfs", "run", "tmpfs", MS_NOSUID|MS_NOEXEC|MS_NODEV, "mode=755,size=4m,nr_inodes=1k", }, - // Create a new /tmp - { "pakfire_tmpfs", "tmp", "tmpfs", MS_NOSUID|MS_NODEV, "mode=755", }, - // The end { NULL }, };