Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329193 - sys-apps/portage-2.2_rc67: /etc/portage/bashrc is evaluated too late
Summary: sys-apps/portage-2.2_rc67: /etc/portage/bashrc is evaluated too late
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-21 02:29 UTC by Alexander Sulfrian
Modified: 2015-10-01 12:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.