Make it clear that tmpfs is optional
Given this is often the final output, it can look like an error occured. Changing the wording makes this clearer. Change-Id: I70f157054e3120cffee6fa5241b1ffe0b7bfa650
This commit is contained in:
parent
31b0b5a1ca
commit
a6751c53a0
@ -22,7 +22,7 @@ function tmpfs_check() {
|
||||
# the double of the minimum tmpfs size required
|
||||
RAM_NEEDED=$(($DIB_MIN_TMPFS * 2))
|
||||
[ $total_kB -lt $(($RAM_NEEDED*1024*1024)) ] || return 0
|
||||
echo "Not enough RAM to use tmpfs for build. ($total_kB < ${RAM_NEEDED}G)"
|
||||
echo "WARNING: Not enough RAM to use tmpfs for build. Using ${TMP_DIR:-/tmp}. ($total_kB < ${RAM_NEEDED}G)"
|
||||
return 1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user