Changes

Jump to: navigation, search

Funtoo Profiles

5,245 bytes removed, 4 years ago
Using eselect
{{SectionNeedsUpdates}}
=== Using eselect epro ===The preferred method of adding and removing profiles is to use [[eselect|eselect profileepro]]. This will ensure that profiles are added correctly and in the proper order. The order is imperative for things to work right.
Type the following to view a list of available options for '''eselect profileepro''':For a start, let's see what the default configuration has to offer. Get an overview using the '''list''' command:
<console>
###i## eselect profile helpepro list</console>=== arch: ===
For a start arm-32bit, (pure64*), let's see what the default configuration has to offer. Get an overview using the '''list''' command:<console>###i## eselect profile list##b####g##Currently available arch profiles: ##b##[1] funtoo/1.0/linuxx86-gnu/arch/32bit, x86-64bit##!b## * ##b##[2]##!b## funtoo/1.0/linux-gnu/arch/pure64##b####g##Currently available build profiles: ##b##[3]##!b## funtoo/1.0/linux-gnu/build/stable ##b##[4] funtoo/1.0/linux-gnu/build/current##!b## * ##b##[5]##!b## funtoo/1.0/linux-gnu/build/experimental##b####g##Currently available flavor profiles: ##b##[6]##!b## funtoo/1.0/linux-gnu/flavor/minimal ##b##[7] funtoo/1.0/linux-gnu/flavor/core##!b## * ##b##[8]##!b## funtoo/1.0/linux-gnu/flavor/desktop ##b##[9]##!b## funtoo/1.0/linux-gnu/flavor/workstation ##b##[10]##!b## funtoo/1.0/linux-gnu/flavor/hardened##b####g##Currently available mix-ins profiles: ##b##[11]##!b## funtoo/1.0/linux-gnu/mix-ins/audio ##b##[12]##!b## funtoo/1.0/linux-gnu/mix-ins/cinnamon ##b##[13]##!b## funtoo/1.0/linux-gnu/mix-ins/console-extras ##b##[14]##!b## funtoo/1.0/linux-gnu/mix-ins/dvd ##b##[15]##!b## funtoo/1.0/linux-gnu/mix-ins/gnome ##b##[16]##!b## funtoo/1.0/linux-gnu/mix-ins/kde ##b##[17]##!b## funtoo/1.0/linux-gnu/mix-ins/mate ##b##[18]##!b## funtoo/1.0/linux-gnu/mix-ins/media ##b##[19]##!b## funtoo/1.0/linux-gnu/mix-ins/print ##b##[20]##!b## funtoo/1.0/linux-gnu/mix-ins/python3-only ##b##[21]##!b## funtoo/1.0/linux-gnu/mix-ins/rhel5-compat ##b##[22]##!b## funtoo/1.0/linux-gnu/mix-ins/server-db ##b##[23]##!b## funtoo/1.0/linux-gnu/mix-ins/server-mail ##b##[24]##!b## funtoo/1.0/linux-gnu/mix-ins/server-web ##b##[25]##!b## funtoo/1.0/linux-gnu/mix-ins/X ##b##[26]##!b## funtoo/1.0/linux-gnu/mix-ins/xfce ##b##[27]##!b## funtoo/1.0/linux-gnu/mix-ins/vmware-guest ##b##[28]##!b## funtoo/1.0/linux-gnu/mix-ins/hardened</console>
As in several other Funtoo utilities, a star ('''*''') on the right indicates an active item (your case may differ from the example above).In most cases you will want to set your "flavor" first. Remember that you can only set ''one'' flavor at time.=== subarch: ===
To choose your favorite flavor use the '''set amd64-flavor''' command including your selection. In this examplebulldozer-pure64, we will set the '''desktop''' flavor:{{note|You ''must'' use numbers to reference to the profiles you want.}}<console>###i## eselect profile setamd64-flavor 8</console>View the result:<console>###i## eselect profile list##b####g##Currently available arch profiles: ##b##[1] funtoo/1.0/linuxjaguar-gnu/arch/x86pure64, amd64-64bit##!b## * ##b##[2]##!b## funtoo/1.0/linuxk10-gnu/arch/pure64##b####g##Currently available build profiles: ##b##[3]##!b## funtoo/1.0/linux amd64-gnu/build/stable ##b##[4] funtoo/1.0/linuxk8+sse3-gnu/build/current##!b## * ##b##[5]##!b## funtoo/1.0/linuxpure64, amd64-gnu/build/experimental##b####g##Currently available flavor profiles: ##b##[6]##!b## funtoo/1.0/linuxk8-gnu/flavor/minimal ##b##[7]##!b## funtoo/1.0/linuxpure64, amd64-gnu/flavor/core ##b##[8] funtoo/1.0/linuxpiledriver-gnu/flavor/desktop##!b## *pure64 ##b##[9]##!b## funtoo/1.0/linux amd64-gnu/flavor/workstation ##b##[10]##!b## funtoo/1.0/linuxsteamroller-gnu/flavor/hardened##b####g##Currently available mixpure64, atom_64-ins profiles: ##b##[11] funtoo/1.0/linuxpure64, btver1_64-gnu/mix-ins/audio (auto)pure64 ##b##[12]##!b## funtoo/1.0/linux core-gnu/mixavx-ins/cinnamon ##b##[13] funtoo/1.0/linuxi-gnu/mixpure64, core2_64-ins/consolepure64, corei7-extras (auto) ##b##[14] funtoo/1.0/linuxpure64, generic_64-gnu/mix-ins/dvd (auto)pure64* ##b##[15]##!b## funtoo/1.0/linux intel64-gnu/mixbroadwell-ins/gnome ##b##[16]##!b## funtoo/1.0/linuxpure64, intel64-gnu/mixhaswell-ins/kde ##b##[17]##!b## funtoo/1.0/linuxpure64, intel64-gnu/mixivybridge-ins/matepure64 ##b##[18] funtoo/1.0/linux intel64-gnu/mixnehalem-ins/media (auto) ##b##[19] funtoo/1.0/linuxpure64, intel64-gnu/mixsandybridge-ins/print (auto) ##b##[20]##!b## funtoo/1.0/linuxpure64, intel64-gnu/mixsilvermont-ins/python3-onlypure64 ##b##[21]##!b## funtoo/1.0/linux intel64-gnu/mixwestmere-ins/rhel5pure64, native_64-compat ##b##[22]##!b## funtoo/1.0/linuxpure64, nocona-gnu/mixpure64, opteron_64-ins/server-dbpure64 ##b##[23]##!b## funtoo/1.0/linux xen-gnu/mixpentium4+sse3_64-ins/server-mail ##b##[24]##!b## funtoo/1.0/linux-gnu/mix-ins/server-web ##b##[25] funtoo/1.0/linux-gnu/mix-ins/X (auto) ##b##[26]##!b## funtoo/1.0/linux-gnu/mix-ins/xfce ##b##[27]##!b## funtoo/1.0/linux-gnu/mix-ins/vmware-guest ##b##[28]##!b## funtoo/1.0/linux-gnu/mix-ins/hardened</console>As you see by the '''(auto)''' entries, the '''desktop''' flavor already pre-set some mix-ins for you.pure64
Now, let's head over and add some mix-ins. To add, say, the mix-ins '''gnome''' and '''kde''' we'd have to enter=== build:===
<console>###i## eselect profile add 15###i## eselect profile add 16</console> (current*), experimental, stable
Or, in a one-shot=== flavor:===
<console>###i## eselect profile add 15 16</console> core, desktop*, hardened, minimal, server, workstation
If we want to remove a === mix-in, for example '''gnome''', simply enterins:===
< X, audio, cinnamon, console>-extras, dvd, gnome, hardened, kde###i## eselect profile remove 15 lxde, lxqt, mate, media, media-pro, mediadevice-audio-consumer mediadevice-audio-pro, mediadevice-base, mediadevice-video-consumer mediadevice-video-pro, mediaformat-audio-common, mediaformat-audio-extra mediaformat-gfx-common, mediaformat-gfx-extra, mediaformat-video-common mediaformat-video-extra, no-emul-linux-x86, no-systemd, print python3-only, vmware-guest, xfce*
</console>
VerificationAs in several other Funtoo utilities, a star ('''*''') on the right indicates an active item (your case may differ from the example above).Now, let's head over and add some mix-ins. To add, say, the mix-ins '''gnome''' and '''kde''' we'd have to enter:
<console>###i## eselect profile list##b####g##Currently available arch profiles: ##b##[1] funtoo/1.0/linux-gnu/arch/x86-64bit##!b## * ##b##[2]##!b## funtoo/1.0/linux-gnu/arch/pure64##b####g##Currently available build profiles: ##b##[3]##!b## funtoo/1.0/linux-gnu/build/stable ##b##[4] funtoo/1.0/linux-gnu/build/current##!b## * ##b##[5]##!b## funtoo/1.0/linux-gnu/build/experimental##b####g##Currently available flavor profiles: ##b##[6]##!b## funtoo/1.0/linux-gnu/flavor/minimal ##b##[7]##!b## funtoo/1.0/linux-gnu/flavor/core ##b##[8] funtoo/1.0/linux-gnu/flavor/desktop##!b## * ##b##[9]##!b## funtoo/1.0/linux-gnu/flavor/workstation ##b##[10]##!b## funtoo/1.0/linux-gnu/flavor/hardened##b####g##Currently available mix-ins profiles: ##b##[11] funtoo/1.0/linux-gnu/mix-ins/audio (auto) ##b##[12]##!b## funtoo/1.0/linux-gnu/mix-ins/cinnamon ##b##[13] funtoo/1.0/linux-gnu/epro mix-ins/console-extras (auto) ##b##[14] funtoo/1.0/linux-gnu/mix-ins/dvd (auto) ##b##[15]##!b## funtoo/1.0/linux-gnu/mix-ins/+gnome ##b##[16] funtoo/1.0/linux-gnu/mix-ins/+kde * ##b##[17]##!b## funtoo/1.0/linux-gnu/mix-ins/mate ##b##[18] funtoo/1.0/linux-gnu/mix-ins/media (auto) ##b##[19] funtoo/1.0/linux-gnu/mix-ins/print (auto) ##b##[20]##!b## funtoo/1.0/linux-gnu/mix-ins/python3-only ##b##[21]##!b## funtoo/1.0/linux-gnu/mix-ins/rhel5-compat ##b##[22]##!b## funtoo/1.0/linux-gnu/mix-ins/server-db ##b##[23]##!b## funtoo/1.0/linux-gnu/mix-ins/server-mail ##b##[24]##!b## funtoo/1.0/linux-gnu/mix-ins/server-web ##b##[25] funtoo/1.0/linux-gnu/mix-ins/X (auto) ##b##[26]##!b## funtoo/1.0/linux-gnu/mix-ins/xfce ##b##[27]##!b## funtoo/1.0/linux-gnu/mix-ins/vmware-guest ##b##[28]##!b## funtoo/1.0/linux-gnu/mix-ins/hardened
</console>
If we want to remove a mix-in, for example '''gnome''', simply enter:
No magic here, whatever you add gets put into the <code>/etc/portage/make.profile/parent</code> file by portage.
 
In our case, this file contains:
<console>
###i## cat /etc/portage/make.profile/parentgentoo:funtoo/1.0/linux-gnu/arch/x86-64bitgentoo:funtoo/1.0/linux-gnu/build/currentgentoo:funtoo/1.0/linux-gnu/flavor/desktopgentoo:funtoo/1.0/linux-gnu/epro mix-ins/kde-gnome
</console>
 
{{fancywarning|Please, do not add anything manually into <code>parent</code> file. This may result in profile breakage.}}
wiki-staff
1,105
edits

Navigation menu