Difference between revisions of "Portage Profiles"
From Funtoo Linux
(Created page with " == Classic Initialization == Classic profile initialization has been documented in [https://github.com/funtoo/portage-funtoo/commit/4c6826a0029c3c8f0aa92e70b4e50f2ffc58c7fa#dif...") |
(→Classic Initialization) |
||
| Line 3: | Line 3: | ||
Classic profile initialization has been documented in [https://github.com/funtoo/portage-funtoo/commit/4c6826a0029c3c8f0aa92e70b4e50f2ffc58c7fa#diff-0 this GitHub commit]. The following is an overview of the code comments: | Classic profile initialization has been documented in [https://github.com/funtoo/portage-funtoo/commit/4c6826a0029c3c8f0aa92e70b4e50f2ffc58c7fa#diff-0 this GitHub commit]. The following is an overview of the code comments: | ||
| + | |||
| + | === A. Find profile directory/symlink === | ||
# Look for a profile directory/symlink at <tt>/etc/make.profile</tt>, if one exists, use this as the main profile directory. | # Look for a profile directory/symlink at <tt>/etc/make.profile</tt>, if one exists, use this as the main profile directory. | ||
| − | # If <tt>/etc/make.profile</tt> doesn't exist, use < | + | # If <tt>/etc/make.profile</tt> doesn't exist, use <tt>/etc/portage/make.profile</tt> as a back-up location if it also exists. |
# If neither location exists, then a main profile directory doesn't exist. | # If neither location exists, then a main profile directory doesn't exist. | ||
| + | |||
| + | === B. Initialize Cascading Profiles === | ||
| + | |||
| + | # Starting from the main profile directory found using the steps above, look for | ||
Revision as of 06:25, 28 December 2010
Classic Initialization
Classic profile initialization has been documented in this GitHub commit. The following is an overview of the code comments:
A. Find profile directory/symlink
- Look for a profile directory/symlink at /etc/make.profile, if one exists, use this as the main profile directory.
- If /etc/make.profile doesn't exist, use /etc/portage/make.profile as a back-up location if it also exists.
- If neither location exists, then a main profile directory doesn't exist.
B. Initialize Cascading Profiles
- Starting from the main profile directory found using the steps above, look for