Profiles

Profiles are settings for supported architecture and default settings for the portage package system (system ebuilds and default use flags).

Open the upgrading guide https://wiki.gentoo.org/wiki/Upgrading_Gentoo and see what to do. There is also a description in https://wiki.gentoo.org/wiki/Profile.

eselect deals with the profiles:

eselect profile list shows all profiles available and

eselect profile set<number> lets change (update) to an other profile.

Behind the scenes it modifies where the link /etc/make.profile points to.

Profiles have sub-profiles as example the profile default has the sub-profile linux default/linux/x86/10.0/desktop/gnome and this corresponds the directory and subdirectory structure under /usr/portage/profiles.

When changing the profiles run emerge --update --deep --newuse world since it is expected that the useflags have been changed.

Check your profile by following the link /etc/make.profile , that points somewhere into /usr/portage/profiles . Files are shared between different profiles, to avoid duplication. In cascaded profiles a file called parent points to a list what has been added too. Using the links in the parent files a complete tree of directories can be created and those directories contain the files defining the profiles. as example the file make.defaults appears a couple of times and holds the USE flag settings.

Figure 14.1. Cascading profiles

profile



Linurs Servernest startpage