init.sh: put TMPDIR inside xbmkpwd, not /tmp

This way, all operations will be done inside the xbmk
work directory. This is being done, so that I can then
reliably sandybox certain commands in future commits,
for example the "rm" command.

This will also allow me to unify the location of all
temporary files, in future commits. I previously used
the /tmp directory because it's tmpfs-based on many
setups, and this is great for performance. However, in
practise, I never noticed any difference in performance
when benchmarking it (testing /tmp on-disk versus tmpfs).

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-09-02 06:02:57 +01:00
parent 8a8be1dec9
commit 64b69907ab
2 changed files with 12 additions and 9 deletions
+1
View File
@@ -44,3 +44,4 @@
/r
/e
/xbmkpath/
/xbmkwd/