From a86ced416d1106f699d9121713e411238eba714e Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Mon, 26 Feb 2024 06:40:02 +0100 Subject: [PATCH] installer: Add /var/tmp to the BTRFS layout Signed-off-by: Stefan Schantl --- src/installer/hw.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/installer/hw.c b/src/installer/hw.c index e520fb687..7868cbb23 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -46,14 +46,15 @@ // Array which contains the subvolumes which will be created when installing // IPFire on a BTRFS. -const char* btrfs_subvolumes[7][2] = { +const char* btrfs_subvolumes[8][2] = { {"@root" ,"/"}, {"@snapshots", "/.snapshots"}, {"@home", "/home"}, {"@cache", "/var/cache"}, {"@lib", "/var/lib"}, {"@logs", "/var/log"}, - {"@mails", "/var/mail"} + {"@mails", "/var/mail"}, + {"@tmp", "/var/tmp"} }; #define LEN(arr) ((int) (sizeof (arr) / sizeof (arr)[0])) -- 2.39.5