From 36a3f7ef6f25658f43af51b9efc5a4ce6594029b Mon Sep 17 00:00:00 2001 From: Xavier Petit <32063953+xpetit@users.noreply.github.com> Date: Sun, 13 Oct 2019 05:18:19 +0200 Subject: [PATCH] Fix cache folder issue --- scripts/system/etc/gdm3/PostLogin/Default | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/system/etc/gdm3/PostLogin/Default b/scripts/system/etc/gdm3/PostLogin/Default index 95c971da4..367eb3526 100755 --- a/scripts/system/etc/gdm3/PostLogin/Default +++ b/scripts/system/etc/gdm3/PostLogin/Default @@ -46,4 +46,5 @@ temp_path=/mnt/.01/tmp mkdir -p "$user_path" "$temp_path" chown -R "$USER":"$USER" "$user_path" "$temp_path" mount -t overlay -o lowerdir="$HOME",upperdir="$user_path",workdir="$temp_path" overlay "$HOME" +mkdir -p "$HOME"/.cache mount -t tmpfs -o size=2G tmpfs "$HOME"/.cache