Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446261 - Gentoo Prefix startprefix breaks when PATH is hardcoded in .profile
Summary: Gentoo Prefix startprefix breaks when PATH is hardcoded in .profile
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords: Bug
Depends on:
Blocks:
 
Reported: 2012-12-06 15:08 UTC by Richard Yao (RETIRED)
Modified: 2017-11-25 21:01 UTC (History)
0 users

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 Richard Yao (RETIRED) gentoo-dev 2012-12-06 15:08:11 UTC
FreeBSD's default .profile has a hardcoded PATH and other platforms (e.g. Mac OS X) likely have it as well:

http://svnweb.freebsd.org/base/releng/9.1/share/skel/dot.profile?view=markup

It is probably a good idea to include a note in the "Gentoo Prefix Bootstrap Process" document about this. It would be even better if bootstrap-prefix.sh did a test for it at the end of the bootstrap process so that it could display a warning to the user.
Comment 1 Fabian Groffen gentoo-dev 2012-12-06 15:09:50 UTC
it did (does)
Comment 2 Fabian Groffen gentoo-dev 2012-12-06 15:11:28 UTC
See bootstrap_startscript in bootstrap-prefix.sh, it should check if PATH is kept/respected.