Portage Profiles

From Funtoo Linux
Revision as of 06:25, 28 December 2010 by Drobbins (Talk)

Jump to: navigation, search

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

  1. Look for a profile directory/symlink at /etc/make.profile, if one exists, use this as the main profile directory.
  2. If /etc/make.profile doesn't exist, use /etc/portage/make.profile as a back-up location if it also exists.
  3. If neither location exists, then a main profile directory doesn't exist.

B. Initialize Cascading Profiles

  1. Starting from the main profile directory found using the steps above, look for
Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff