Enable spack to bootstrap outside of user home.
In the meeting today, we discussed that the spack bootstrap process happens at user's home directory. I found out that this could also be modified:
❯ spack bootstrap root --help
usage: spack bootstrap root [-h] [--scope {defaults,system,site,user}[/PLATFORM] or env:ENVIRONMENT] [path]
positional arguments:
path set the bootstrap directory to this value
options:
--scope {defaults,system,site,user}[/PLATFORM] or env:ENVIRONMENT
configuration scope to read/modify
-h, --help show this help message and exit
❯ spack bootstrap root # print the current bootstrap dir
/home/karnada/.spack/bootstrap
❯ spack bootstrap root /tmp/test
/tmp/test
❯ spack bootstrap root
/tmp/test