Re: [gentoo-user] compile large packages outside /var/tmp/portage/

2013-04-14 Thread yegle
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] How to set-up shutdown-only user?

2012-12-03 Thread yegle
git-shell is a good choice. And it's well tested.

You just set user's login shell to git-shell, then put some script or binary 
executable at user's $HOME/git-shell-commands/ directory. 

-- 
yegle
http://about.me/yegle


On Monday, December 3, 2012 at 3:36 PM, Jarry wrote:

 Hi Gentoo-users,
 
 I'm facing this problem: I *have to* allow one non-root user
 to shutdown my server remotely (ssh). I know I could create
 account for him and add his login into /etc/shutdown.allow but
 I do not want to grant him full shell access.
 
 I thought about adding /sbin/shutdown -a h now as his shell
 into /etc/passwd so that right after he authenticates himself,
 shutdown is called. But I'm not sure something like this is
 possible (shutdown must be probably called from shel)...
 
 Or is there maybe some other way how to create very restricted
 account where user could not do anything else but call shutdown?
 
 Jarry
 -- 
 ___
 This mailbox accepts e-mails only from selected mailing-lists!
 Everything else is considered to be spam and therefore deleted.
 
 




Re: [gentoo-user] change python version for special program

2012-10-02 Thread yegle
Create a virtualenv would be a better solution. 

Google virtualenv 

-- 
http://about.me/yegle


On Tuesday, October 2, 2012 at 13:43, Kraus Philipp wrote:

 Hello,
 
 I have installed Python 2.7  3.2.2 on my Gentoo box, but I would like to use 
 Scons, which runs at the moment under Python  3.
 I have installed Scons with python2.7 setup.py, but if I run scons on 
 command line, it creates the message, that it runs not on Python 3,
 so can I setup manually that scons should use the Python 2.7 interpreter?
 
 Thanks
 
 Phil 



Re: [gentoo-user] Anybody want to beta test Gentoo with mdev instead of udev?

2011-11-15 Thread yegle
I'm using systemd as init. Currently there's no .service file for mdev.
Hope someone on this list can provide one :-)

On Wed, Nov 16, 2011 at 9:41 AM, Pandu Poluan pa...@poluan.info wrote:

 Plus, I'm feeling adventurous and will experiment with VirtualBox also ;)

 Rgds,
  On Nov 16, 2011 7:52 AM, Pandu Poluan pa...@poluan.info wrote:


 On Nov 16, 2011 3:21 AM, waltd...@waltdnes.org wrote:
 
  On Tue, Nov 15, 2011 at 02:44:58PM +0700, Pandu Poluan wrote
 
   However, my Gentoo systems are all virtual servers (DomU VMs on
 XenServer).
   So, the hardware devices are static. Will switching over to mdev give
 any
   benefits?
  
   I even am toying around with the idea of having a completely static
 /dev,
   but still can't find any guide/pointers yet.
  
   (Apologies if my email is OOT)
 
   The more scenarios we can test, the better.  mdev might shave a second
   or two off the VM's bootup time, versus udev.
 

 Okay, I have two staging VMs on XenServer and one on VMware. I'm going to
 report back what happens. If anything bad happens, *should* be an easy
 rollback to the previous snapshot.

 Rgds,