Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] compile large packages outside "/var/tmp/portage/"
Date: Sun, 14 Apr 2013 19:39:35
Message-Id: 20130414193932.GA2009@syscon7.inet
In Reply to: Re: [gentoo-user] compile large packages outside "/var/tmp/portage/" by yegle
1 On 04/14/13 14:36, yegle wrote:
2 > PORTAGE_TMPDIR="/tmp/ying/portage_tmpdir"
3 > BUILD_PREFIX="/tmp/ying/build_prefix"
4 > DISTDIR="/tmp/ying/distdir"
5 > PORTDIR="/tmp/ying/portdir"
6 > These are the configurations in my make.conf. Details can be found in
7 > make.conf(5).
8 >
9 > --
10 > yegle
11 > [1]http://about.me/yegle
12
13 On my system I have in make.conf
14 PORTAGE_TMPFS="/dev/shm"
15
16 and in fstab:
17 shm /dev/shm devtmpfs nodev,nosuid,noexec 0 0
18 tmpfs /var/tmp/portage tmpfs defaults 0 0
19
20 which uses half of my ram for compiling packages. So 4GB is OK for most of them except the big ones.
21
22 --
23 Joseph

Replies

Subject Author
Re: [gentoo-user] compile large packages outside "/var/tmp/portage/" Mateusz Kowalczyk <fuuzetsu@×××××××××××.uk>