Chapter 1. Bashrc Configuration

Table of Contents

bashrc locations
Ebuild Phase Hooks
Ebuild Die Hooks
Ebuild Success Hooks

bashrc locations

If one or more bashrc files exist in the following locations, they will be sourced before the ebuild is executed in the following order:

  1. /etc/portage/bashrc

  2. /etc/portage/env/${CATEGORY}/${PN}

  3. /etc/portage/env/${CATEGORY}/${PN}:${SLOT}

  4. /etc/portage/env/${CATEGORY}/${P}

  5. /etc/portage/env/${CATEGORY}/${PF}