Difference between pages "Portage's bashrc" and "Template:Fancyimportant"

(Difference between pages)
(Usefulness of bashrc)
 
 
Line 1: Line 1:
== bashrc's locations ==
+
{| width="100%" cellpadding=4 cellspacing=0 style="margin: .5em 0; border: solid 2px #9061C2; "
If there is more than one bashrc files, each will be sourced before the ebuild is executed in the following order:
+
| width="95px" valign="center" style="background-color: #9061C2; font-size: 1.1em" | '''Important:'''
 
+
| style="background-color: #a88fc2; padding: 0 0.5em; font-family=monospace, fixed;" colspan="2" | {{{1}}}
* <tt>/etc/portage/bashrc</tt> - Global bashrc file which applied to all packages
+
|}<noinclude>{{documentation}}</noinclude>
Per-package:
+
* <tt>/etc/portage/env/${CATEGORY}/${PN}</tt>
+
* <tt>/etc/portage/env/${CATEGORY}/${PN}:${SLOT}</tt>
+
* <tt>/etc/portage/env/${CATEGORY}/${P}</tt>
+
* <tt>/etc/portage/env/${CATEGORY}/${PF}</tt>
+
 
+
== Usefulness of bashrc ==
+
With bashrc you will be able to:
+
* Set custom variables per package, like <tt>CFLAGS</tt> of <tt>FEATURES</tt>
+
* Execute code in selected [[Ebuild Functions|ebuild stages]]
+

Revision as of 00:11, January 29, 2014

Important: {{{1}}}

[edit]

Template-info.png Template Documentation

Example and Usage

Example:

{{Fancyimportant| Important stuff. }}

Will produce:

Important

Important stuff. 

See also