Handbook Talk:AMD64/Portage/Variables

From Gentoo Wiki
Jump to:navigation Jump to:search

Suggested changes

Talk status
This discussion is done as of 2024-10-19.

"Portage configuration" section

Proposed changes - Please make edits here until a final revision is agreed upon.

Portage is configurable through variables in /etc/portage/make.conf or one of the subdirectories of /etc/portage/. Please refer to the man pages for make.conf and portage for more information:

"Build-specific options" section

Proposed changes - Please make edits here until a final revision is agreed upon.

Passed to the make command and usually set to define the amount of parallelism used during the compilation. Information about options for make can be found in the make(1) man page.
Proposed changes - Please make edits here until a final revision is agreed upon.

The USE variable is also used during configure and compilation; refer to previous chapters of this Handbook for details.

"Merge options" section

Proposed changes - Please make edits here until a final revision is agreed upon.

Some useful options include --ask, --verbose, and --tree.

"Configuration file protection" section

"Portage protected locations" section

Proposed changes - Please make edits here until a final revision is agreed upon.

the user is warned about the presence of a newer version of the (proposed) configuration file.

"Excluding directories" section

Proposed changes - Please make edits here until a final revision is agreed upon.

To 'unprotect' certain subdirectories of protected locations, use the CONFIG_PROTECT_MASK variable.
Proposed changes - Please make edits here until a final revision is agreed upon.

the CONFIGURATION FILES section of the emerge man page:

"Download options" section

"Server locations" section

Proposed changes - Please make edits here until a final revision is agreed upon.

The GENTOO_MIRRORS, sync-type, and sync-uri variables can be set automatically through the mirrorselect application, provided by the app-portage/mirrorselect package. For more information, refer to mirrorselect's online help:

"Fetch commands" section

Proposed changes - Please make edits here until a final revision is agreed upon.

it uses wget(1) by default.
Proposed changes - Please make edits here until a final revision is agreed upon.

It uses wget(1) by default, but ...
Proposed changes - Please make edits here until a final revision is agreed upon.

Inside the variables the URI and DISTDIR variables can be used to point to the source code location and distfiles location, respectively.
Proposed changes - Please make edits here until a final revision is agreed upon.

to set some variables related to the rsync command:
Proposed changes - Please make edits here until a final revision is agreed upon.

For more information on these options and others, please refer to the rsync(1) man page.

"Gentoo configuration" section

"Portage features" section

Proposed changes - Please make edits here until a final revision is agreed upon.

It is possible to activate certain Portage features ...

"Portage behaviour" section

"Resource management" section

Proposed changes - Please make edits here until a final revision is agreed upon.

refer to the Portage niceness page and the nice(1) man page:

"Output behaviour" section

Proposed changes - Please make edits here until a final revision is agreed upon.

The NOCOLOR variable, which defaults to false, determines whether Portage should disable the use of colored output.
Thanks! Added in Special:Diff/1272584/1316753.
--csfore (talk) 17:13, 19 October 2024 (UTC)