Update memory usage estimate for using tmpfs

This commit is contained in:
JeremyStar™ 2024-08-14 18:24:00 +02:00
parent b6fdf15a66
commit a5c3dc96e9
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -143,7 +143,7 @@ function ask_tmpfs() {
export "BUILDTOOL_CLONEDIR=$(pwd)" export "BUILDTOOL_CLONEDIR=$(pwd)"
return return
fi fi
read -rp "$(infoh "Do you want to build in a tmpfs (improves build performance, protects your disk from wearing out faster, ~32 GiB memory required) [Y/n]? ")" BUILDTOOL_TMPFS read -rp "$(infoh "Do you want to build in a tmpfs (improves build performance, protects your disk from wearing out faster, ~8 GiB free memory required) [Y/n]? ")" BUILDTOOL_TMPFS
case "${BUILDTOOL_TMPFS}" in case "${BUILDTOOL_TMPFS}" in
"y"|"Y"|"") "y"|"Y"|"")
export "BUILDTOOL_CLONEDIR=/tmp/${BUILDTOOL_CLONEDIR}" export "BUILDTOOL_CLONEDIR=/tmp/${BUILDTOOL_CLONEDIR}"