Changes

Jump to: navigation, search

Package:Ego

3,654 bytes removed, 4 years ago
moving epro usage to Funtoo Profiles page.
{{c|ego}} is a meta-tool that works similarly to eselect. Typing {{c|ego}} will show a list of available commands. Some of the benefits of ego over eselect are that ego modules can be implemented in any language. In addition, the ego architecture is designed so that the modules are themselves stand-alone commands, which allows you to access these sub-commands using shortcuts. For example, {{c|epro}} is a shortcut for {{c|ego profile}}.
=== Usage Ego Modules ===[[Funtoo 1.0 Profile|Funtoo profiles]] are used to define defaults for Portage specific to your needs. There are five basic profile types: arch, build, subarch, [[Flavors and Mix-ins|flavor, and mix-ins]]:
;arch: typically <code>x86-32bit</code> or <code>x86-64bit</code>, this defines the processor type and support of your system. This is defined when your stage was built and should not be changed.;build: defines whether your system is a <code>current</code>, <code>stable</code> or <code>experimental</code> build. <code>current</code> systems will have newer packages unmasked than <code>stable</code> systems. This is defined when your stage is built and is typically not changed.;subarch: Defines optimizations for your CPU. The subarch is set at the time the stage3 is built, but can be changed later to better settings if necessary. Be sure to pick a setting that is compatible with your CPU.;flavor: defines the general type of system, such as <code>server</code> or <code>desktop</code>, and will set default USE flags appropriate for your needs.;mix-ins: define various optional settings that you may be interested in enabling. One arch, build and flavor must be set for each Funtoo Linux system, while mix-ins are optional and you can enable more than one if desired. Remember that profiles can often be inherited. For example, the <code>desktop</code> flavor inherits the <code>workstation</code> flavor settings, which in turn inherits the <code>X</code> and <code>audio</code> mix-ins. You can view this by using {{c|eproTableStart}}: {{console3Col|body=# ##i## epro show === ##g##Enabled Profiles##!g##: ===  arch: ##c## x86-64bit build: ##c## current subarch: ##c## intel64-haswell flavor: ##c## desktop mix-ins: ##c## gnome  === ##g##All inherited flavors from desktop flavor##!g##: ===  ##c##workstation (from desktop flavor) ##c##core (from workstation flavor) ##c##minimal (from core flavor) === ##g##All inherited mix-ins from desktop flavor##!g##: ===  ##c##X##!c## (from workstation flavor) ##c##audio##!c## (from workstation flavor) ##c##dvd##!c## (from workstation flavor) ##c##media##!c## (from workstation flavor) ##c##mediadevice-audio-consumer##!c## (from media mix-in) ##c##mediadevice-base##!c## (from mediadevice-audio-consumer mix-in) ##c##mediadevice-video-consumer##!c## (from media mix-in) ##c##mediadevice-base##!c## (from mediadevice-video-consumer mix-in) ##c##mediaformat-audio-common##!c## (from media mix-in) ##c##mediaformat-gfx-common##!c## (from media mix-in) ##c##mediaformat-video-common##!c## (from media mix-in) ##c##console-extras##!c## (from workstation flavor) ##c##print##!c## (from desktop flavor)}} To view available profiles:{{console'''type'''|body=# ##i## epro list}} Enabled profiles will be highlighted in cyan. Directly enabled profiles will be in bold and have an asterisc {{c|*}} appended. To change the profile arch to x86'''sub-64:{{consolecommand'''|body=###i## epro arch x86-64bit'''description'''}} To change the build to current:{{console3Col|body=###i## epro build current}} To change the subarch to generic_64:{{console|body=###i## epro subarch generic_64}} To change the profile flavor:{{console|body=# ##i## epro flavor desktop}} To add a mix-in: {{consolec|body=# ##i## epro mix-ins +gnome}} To remove a mix-in:{{console|body=# ##i## epro mixProfile management -ins -gnomesee [[Funtoo Profiles]] for usage information}} To get a JSON output of your profiles:{{console|body=# ##i## epro show-json}} To get the current value of a given profile:{{console|body=# ##i## epro get <build|flavor|arch|subarch|mix-ins>TableEnd}}
{{EbuildFooter}}
Bureaucrats, Administrators, wiki-admins, wiki-staff
6,317
edits

Navigation menu