genkernel

From Gentoo Wiki
Jump to: navigation, search

IconInformation.png
This article is a stub. You can help Gentoo Wiki by expanding it.
External resources

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

Installation

Install sys-kernel/genkernel:

→ Information about USE 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
root # emerge --ask genkernel

Configuration

The configuration file is /etc/genkernel.conf and is very well documented.

Personal tools
Namespaces

Variants
Actions
Gentoo Websites logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Navigation
Toolbox
Categories