26.12.2014 Views

Gentoo Linux AMD64 Handbook

Gentoo Linux AMD64 Handbook

Gentoo Linux AMD64 Handbook

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Gentoo</strong> <strong>Linux</strong> <strong>AMD64</strong> <strong>Handbook</strong><br />

Digest Verification Failures ................................................................... 79<br />

14. USE flags ..................................................................................................... 80<br />

What are USE flags ................................................................................... 80<br />

The ideas behind USE flags .................................................................. 80<br />

Definition of a USE flag ...................................................................... 80<br />

What USE flags exist ......................................................................... 80<br />

Using USE flags ......................................................................................... 80<br />

Declare permanent USE flags ................................................................ 80<br />

Declaring USE flags for individual packages ............................................ 81<br />

Declare temporary USE flags ................................................................ 82<br />

Precedence ......................................................................................... 82<br />

Adapting your Entire System to New USE Flags ....................................... 82<br />

Package specific USE flags ........................................................................... 83<br />

Viewing available USE flags ................................................................. 83<br />

15. Portage Features ............................................................................................ 85<br />

Portage Features .......................................................................................... 85<br />

Distributed Compiling .................................................................................. 85<br />

Using distcc ....................................................................................... 85<br />

Installing distcc ................................................................................... 85<br />

Activating Portage Support ................................................................... 85<br />

Caching Compilation ................................................................................... 86<br />

About ccache ...................................................................................... 86<br />

Installing ccache ................................................................................. 86<br />

Activating Portage Support ................................................................... 86<br />

Using ccache for non-Portage C Compiling .............................................. 87<br />

Binary Package Support ............................................................................... 87<br />

Creating Prebuilt Packages .................................................................... 87<br />

Installing Prebuilt Packages ................................................................... 87<br />

Fetching Files ............................................................................................. 88<br />

Parallel fetch ...................................................................................... 88<br />

Userfetch ........................................................................................... 88<br />

Pulling Validated Portage Tree Snapshots ........................................................ 88<br />

16. Initscripts ...................................................................................................... 90<br />

Runlevels ................................................................................................... 90<br />

Booting your System ........................................................................... 90<br />

Init Scripts ......................................................................................... 90<br />

How Init Works .................................................................................. 90<br />

What is a runlevel .............................................................................. 91<br />

Working with the Init Scripts ................................................................ 92<br />

Working with rc-update ................................................................................ 93<br />

What is rc-update .............................................................................. 93<br />

Adding and Removing Services ............................................................. 93<br />

Configuring Services .................................................................................... 93<br />

Why the Need for Extra Configuration .................................................. 93<br />

The /etc/conf.d Directory ...................................................................... 94<br />

Writing Init Scripts ...................................................................................... 94<br />

Do I Have To ................................................................................... 94<br />

Layout ............................................................................................... 94<br />

Dependencies ...................................................................................... 94<br />

Controlling the Order ........................................................................... 95<br />

Standard Functions .............................................................................. 96<br />

Adding Custom Options ....................................................................... 97<br />

Service Configuration Variables ............................................................. 98<br />

Changing the Runlevel Behaviour .................................................................. 98<br />

Who might benefit from this ................................................................ 98<br />

Using softlevel .................................................................................... 98<br />

Using bootlevel ................................................................................... 99<br />

17. Environment Variables .................................................................................. 100<br />

vi

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!