martin.swift.is > comp > gentoo

TODO

Kernel compile

Compiling and Installing

make && make modules_install
cp arch/i386/boot/bzImage /boot/kernel-<version>

... then update Grub with something like:

title  GNU/Linux ${KV}
root (hd0,2)
kernel /boot/kernel-${KV} root=/dev/hda3

Gentoo Linux Kernel Upgrade Guide.

module-rebuild rebuild

Portage

Finding the best mirrors:

Use mirrorselect to find the best mirrors and put them in /etc/make.conf.

Portage tree subset

Using a Portage Tree Subset

By default, rsync will check the contents of /etc/portage/rsync_excludes (if it exists) which contains the categories or packages that you don't want rsync to update.

One can also include specific packages by placing a + at the beginning of the line. The included package must appear before the exclude pattern, though. See my rsync_excludes.

Printing