Artix Linux Forum

Artix Linux => Package management => Topic started by: cat herders of linux on 07 April 2022, 19:21:31

Title: so if i want to use tmpfs in ram as a build directory (as opposed to ssd space)
Post by: cat herders of linux on 07 April 2022, 19:21:31
i can just edit makepkg.conf and uncomment the line so it reads like this:

BUILDDIR=/tmp/makepkg


??

anything else i need to do?
Title: Re: so if i want to use tmpfs in ram as a build directory (as opposed to ssd space)
Post by: gripped on 07 April 2022, 19:49:26
So long as /tmp is already mounted tmpfs that will work.

Bear in mind certain packages need a lot of space to build. Depending how much memory is devoted to /tmp you may have to switch back to using the ssd for such packages or temporarily increase the memory allocated to /tmp, if you have enough available.