Difference between revisions of "Genkernel"
From Alessandro's Wiki
Porcelinux (talk | contribs) |
|||
Line 1: | Line 1: | ||
[[Gentoo]] utility to manage Linux kernel installations. | |||
= usage = | |||
* example command: | * example command: | ||
Line 11: | Line 13: | ||
cp kernel-config-x86-2.6.9-gentoo-r1 kernel-config-x86-2.6.9-gentoo-r2 | cp kernel-config-x86-2.6.9-gentoo-r1 kernel-config-x86-2.6.9-gentoo-r2 | ||
genkernel all | genkernel all | ||
= my config = | |||
<pre> | |||
OLDCONFIG="yes" | |||
MENUCONFIG="yes" | |||
CLEAN="yes" | |||
MRPROPER="yes" | |||
ARCH_OVERRIDE="x86_64" | |||
KERNEL_ARCH=x86 | |||
MOUNTBOOT="yes" | |||
SAVE_CONFIG="yes" | |||
USECOLOR="yes" | |||
MAKEOPTS="-j2" | |||
LVM="no" | |||
EVMS="no" | |||
DMRAID="yes" | |||
BUSYBOX="no" | |||
MDADM="yes" | |||
DISKLABEL="yes" | |||
BOOTLOADER="grub" | |||
BOOTDIR="/boot" | |||
GK_SHARE="/usr/share/genkernel" | |||
CACHE_DIR="/var/cache/genkernel" | |||
DISTDIR="${CACHE_DIR}/src" | |||
LOGFILE="/var/log/genkernel.log" | |||
LOGLEVEL=2 | |||
DEFAULT_KERNEL_SOURCE="/usr/src/linux" | |||
</pre> |
Revision as of 16:43, 14 April 2011
Gentoo utility to manage Linux kernel installations.
usage
- example command:
genkernel --splash --splash-res=1280x1024 --install all
- conf file:
/etc/genkernel.conf
- Updating kernel reusing old config with genkernel
cd /etc/kernels cp kernel-config-x86-2.6.9-gentoo-r1 kernel-config-x86-2.6.9-gentoo-r2 genkernel all
my config
OLDCONFIG="yes" MENUCONFIG="yes" CLEAN="yes" MRPROPER="yes" ARCH_OVERRIDE="x86_64" KERNEL_ARCH=x86 MOUNTBOOT="yes" SAVE_CONFIG="yes" USECOLOR="yes" MAKEOPTS="-j2" LVM="no" EVMS="no" DMRAID="yes" BUSYBOX="no" MDADM="yes" DISKLABEL="yes" BOOTLOADER="grub" BOOTDIR="/boot" GK_SHARE="/usr/share/genkernel" CACHE_DIR="/var/cache/genkernel" DISTDIR="${CACHE_DIR}/src" LOGFILE="/var/log/genkernel.log" LOGLEVEL=2 DEFAULT_KERNEL_SOURCE="/usr/src/linux"