genkernel
From Gentoo Wiki
| External resources |
The tool genkernel is used to automate the build process of the kernel and initramfs. Some of the general features:
- configure the kernel sources
- build bzImage and copy to /boot
- create initramfs and copy to /boot
- create symlinks in /boot
- add custom content to initramfs for encryption, splash images, extra modules etc.
- compress initramfs
- configure the bootloader
Contents |
Installation
You can install sys-kernel/genkernel with the following command:
root # emerge --ask sys-kernel/genkernelUSE Flags
| USE flag | Default | Recommended | Description |
|---|---|---|---|
| crypt | No | No | Add support for encryption -- using mcrypt or gpg where applicable |
| cryptsetup | No | No | Enable support for Luks disk enrcyption using sys-fs/cryptsetup |
| ibm | No | No | Add support for IBM ppc64 specific systems |
| selinux | No | No | !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur |
Configuration
The configuration file is /etc/genkernel.conf and is very well documented.