[gentoo-user] compile large packages outside /var/tmp/portage/
How to configure portage not to compile large packages (eg. firefox, thunderbird etc) in /var/tmp/portage/ (RAM disk)? I have only assign 4GB and these packages need more room to compile. -- Joseph
Re: [gentoo-user] compile large packages outside /var/tmp/portage/
PORTAGE_TMPDIR=/tmp/ying/portage_tmpdir BUILD_PREFIX=/tmp/ying/build_prefix DISTDIR=/tmp/ying/distdir PORTDIR=/tmp/ying/portdir These are the configurations in my make.conf. Details can be found in make.conf(5). -- yegle http://about.me/yegle On Sunday, April 14, 2013 at 2:33 PM, Joseph wrote: How to configure portage not to compile large packages (eg. firefox, thunderbird etc) in /var/tmp/portage/ (RAM disk)? I have only assign 4GB and these packages need more room to compile. -- Joseph
Re: [gentoo-user] compile large packages outside /var/tmp/portage/
On Sun, 14 Apr 2013 12:33:50 -0600, Joseph wrote: How to configure portage not to compile large packages (eg. firefox, thunderbird etc) in /var/tmp/portage/ (RAM disk)? I have only assign 4GB and these packages need more room to compile. I use these two files % cat /etc/portage/env/disk-tmpdir.conf PORTAGE_TMPDIR=/mnt/scratch % cat /etc/portage/package.env/libreoffice app-office/libreoffice disk-tmpdir.conf /mnt/scratch is a dumping ground partition with enough space to keep LO happy, use wherever you want. -- Neil Bothwick God is real, unless specifically declared integer. signature.asc Description: PGP signature
Re: [gentoo-user] compile large packages outside /var/tmp/portage/
On 04/14/13 14:36, yegle wrote: PORTAGE_TMPDIR=/tmp/ying/portage_tmpdir BUILD_PREFIX=/tmp/ying/build_prefix DISTDIR=/tmp/ying/distdir PORTDIR=/tmp/ying/portdir These are the configurations in my make.conf. Details can be found in make.conf(5). -- yegle [1]http://about.me/yegle On my system I have in make.conf PORTAGE_TMPFS=/dev/shm and in fstab: shm /dev/shmdevtmpfsnodev,nosuid,noexec 0 0 tmpfs /var/tmp/portagetmpfs defaults 0 0 which uses half of my ram for compiling packages. So 4GB is OK for most of them except the big ones. -- Joseph
Re: [gentoo-user] compile large packages outside /var/tmp/portage/
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/04/13 20:39, Joseph wrote: On 04/14/13 14:36, yegle wrote: PORTAGE_TMPDIR=/tmp/ying/portage_tmpdir BUILD_PREFIX=/tmp/ying/build_prefix DISTDIR=/tmp/ying/distdir PORTDIR=/tmp/ying/portdir These are the configurations in my make.conf. Details can be found in make.conf(5). -- yegle [1]http://about.me/yegle On my system I have in make.conf PORTAGE_TMPFS=/dev/shm and in fstab: shm /dev/shmdevtmpfs nodev,nosuid,noexec 0 0 tmpfs /var/tmp/portagetmpfs defaults 0 0 which uses half of my ram for compiling packages. So 4GB is OK for most of them except the big ones. You could just read [1]: it tells you have to exclude packages on case-to-case basis as well as telling you some of the main space offenders. [1] - http://en.gentoo-wiki.com/wiki/Portage_TMPDIR_on_tmpfs - -- Mateusz K. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAEBAgAGBQJRawZlAAoJEM1mucMq2pqXSJYQAKImAMYGAzzCtq8yxlejTkUl 8pVCbH2cgpMg5EVtge8IOIIL9ApLHe7GiSHb7cpNC2jMomFhcOGqfn7/FZgMxfsD pwlHfw0iHmdaslgtPMck4D4bErZAmTGNuojKZOd4ytRx8GQKPHoKel0lnw0RFxRC JNEqx0Pvp4j61yNnAJZ5N2rAOIU+9o2h4ArMmo/XAaeg60PtsZ48ByU4WgNdqjkl KPyHHFZ2mKovs/IH4q1LWp7erAbCt0DUn1+dfeOZLDKLSPoICviTvWeGrLfPW+fI jTxvfnnd/Ydb1iMChEAcBkT1Tvg5sYM2CJnO8iflIYVpq9tl+UC0lwkT9El2vSmj w2f0ATZ//87QUKxGOUzj/bUJwAhGVk4r5Z9R8DgeTOHHBcNCNRhsLh2r/4q/oGCC nzRthrZFc/3SV0EMTSBY3R6nszR4tZjB5jkvKrPmutIgBY22VskPe7ISIWKslr+k gbILe39ackPCXIq4kE6YyphXG2SKDRzybpDE0xaDv4xTSjURpfCZ66np0Agxl7be ORccEVZifhy/xAX3R50T5/mv4cvI+njdS0QxY4K6fBorCsBLT6OY9FksWg6GohmK aRo+bNAHpI1N46m62YvhPP+E/SYF/ETqGQNT5v6shtYndDxZdjZoLRPw4HASKy72 9ys2Fg8zkp8/GaGlRkGs =CZsp -END PGP SIGNATURE-