Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 329193

Summary: sys-apps/portage-2.2_rc67: /etc/portage/bashrc is evaluated too late
Product: Portage Development Reporter: Alexander Sulfrian <alexander>
Component: CoreAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: Sergiy.Borodych
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Sulfrian 2010-07-21 02:29:51 UTC
Hi,
I tried to write a bashrc extension, that unmounts the /var/tmp/portage ram disk based on a blacklist of packages that are to big to compile in ram. During that I noticed, that I have no chance doing that, because at least the lockfile is already written to the $WORKDIR when the /etc/portage/bashrc get first sourced and so that ram disk cannot be unmounted from bashrc because it is busy.

(Testing with =sys-apps/portage-2.2_rc67. Should be the same problem with older versions.)

Reproducible: Always



Expected Results:  
Would be nice if it is possible to source that file once earlier with EBUILD_PHASE maybe pre_ebuild or something like that.