Apply patch from robbat2 to finish wiring up multipath support
[genkernel.git] / genkernel.conf
1 # Configuration file for genkernel
2
3 # This file is sourced by genkernel at startup and determines which options
4 # we will be using to compile our kernel.  The order of precidence is simple,
5 # with the internal settings being least important, configuration file
6 # settings next, and command line options being most important.
7
8 # =========Common Command Line Option Defaults=========
9
10 # Run 'make oldconfig' before compiling this kernel?
11 OLDCONFIG="yes"
12
13 # Run 'make menuconfig' before compiling this kernel?
14 MENUCONFIG="no"
15
16 # Run 'make clean' before compilation?
17 # If set to NO, implies MRPROPER WILL NOT be run
18 # Also, if clean is NO, it won't copy over any configuration
19 # file, it will use what's there.
20 CLEAN="yes"
21
22 # Run 'make mrproper' before configuration/compilation?
23 MRPROPER="yes"
24
25 # Override the arch detection?
26 # ARCH_OVERRIDE="x86"
27
28 # Mount BOOTDIR automatically if it isn't mounted?
29 MOUNTBOOT="yes"
30
31 # Make symlinks in BOOTDIR automatically?
32 # SYMLINK="no"
33
34 # Save the new configuration in /etc/kernels upon
35 # successfull compilation
36 SAVE_CONFIG="yes"
37
38 # Use Color output in Genkernel?
39 USECOLOR="yes"
40
41 # Clear build cache dir
42 # CLEAR_CACHE_DIR="yes"
43
44 # Genkernel uses an independent configuration for MAKEOPTS, and does not source
45 # /etc/make.conf . You can override the default setting by uncommenting and
46 # tweaking the following line. Default setting is set up by
47 # ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
48 # argument is: <number of processors>*<number of cores per processor>+1
49 # MAKEOPTS="-j2"
50
51 # Add in LVM support from static binaries if they exist on the system, or
52 # compile static LVM binaries if static ones do not exist.
53 # LVM="no"
54
55 # Add in EVMS support from static binaries if they exist on the system: you
56 # should run "emerge evms" first.
57 # EVMS="no"
58
59 # Add DMRAID support.
60 # DMRAID="no"
61
62 # Include (or suppresses the inclusion of) busybox in the initrd or initramfs.
63 # If included, busybox is rebuilt if the cached copy is out of date.
64 # BUSYBOX="yes"
65
66 # Copy /etc/mdadm.conf to initramfs.
67 # MDADM="no"
68
69 # Add Multipath support.
70 # MULTIPATH="no"
71
72 # Enable copying of firmware into initramfs
73 # FIRMWARE="no"
74 # Specify directory to pull from
75 # FIRMWARE_DIR="/lib/firmware"
76 # Specify specific firmware files to include. This overrides FIRMWARE_DIR
77 # FIRMWARE_FILES=""
78
79 # Enable disklabel support (copies blkid to initrd)
80 # DISKLABEL="yes"
81
82 # =========Low Level Compile Settings=========
83 #
84 # GNU Make to use for kernel.  See also the --kernel-make command line option.
85 # KERNEL_MAKE="make"
86
87 # Compiler to use for the kernel (e.g. distcc).  See also the --kernel-cc
88 # command line option.
89 # KERNEL_CC="gcc"
90
91 # Assembler to use for the kernel.  See also the --kernel-as command line
92 # option.
93 # KERNEL_AS="as"
94
95 # Linker to use for the kernel.  See also the --kernel-ld command line option.
96 # KERNEL_LD="ld"
97
98 # GNU Make to use for the utilities.  See also the --utils-make command line
99 # option.
100 # UTILS_MAKE="make"
101
102 # Compiler to use for the utilities (e.g. distcc).  See also the --utils-cc
103 # command line option.
104 # UTILS_CC="gcc"
105
106 # Assembler to use for the utilities.  See also the --utils-as command line
107 # option.
108 # UTILS_AS="as"
109
110 # Linker to use for the utilities.  See also the --utils-ld command line
111 # option.
112 # UTILS_LD="ld"
113
114 # =========GENKERNEL LOCATION CONFIGURATION============
115 # Variables:
116 #   %%ARCH%%  - Final determined architecture
117 #   %%CACHE%% - Final determined cache location
118
119 # Set genkernel's temporary work directory.  Default is /var/tmp/genkernel
120 # TMPDIR="/var/tmp/genkernel"
121
122 # Set the boot directory, default is /boot
123 #BOOTDIR="/boot"
124
125 # Default share directory location
126 GK_SHARE="/usr/share/genkernel"
127
128 # Location of the default cache
129 CACHE_DIR="/var/cache/genkernel"
130 # Location of DISTDIR, where our source tarballs are stored
131 DISTDIR="${CACHE_DIR}/src"
132 # Log output file
133 LOGFILE="/var/log/genkernel.log"
134 # Debug Level
135 LOGLEVEL=1
136
137 # Default location of kernel source
138 DEFAULT_KERNEL_SOURCE="/usr/src/linux"
139 # Default kernel config (only use to override using
140 # arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
141 # DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"
142
143 BUSYBOX_VER="VERSION_BUSYBOX"
144 BUSYBOX_SRCTAR="${DISTDIR}/busybox-${BUSYBOX_VER}.tar.bz2"
145 BUSYBOX_DIR="busybox-${BUSYBOX_VER}"
146 BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2"
147
148 DEVICE_MAPPER_VER="VERSION_DMAP"
149 DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}"
150 DEVICE_MAPPER_SRCTAR="${DISTDIR}/device-mapper.${DEVICE_MAPPER_VER}.tgz"
151 DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2"
152
153 LVM_VER="VERSION_LVM"
154 LVM_DIR="LVM2.${LVM_VER}"
155 LVM_SRCTAR="${DISTDIR}/LVM2.${LVM_VER}.tgz"
156 LVM_BINCACHE="%%CACHE%%/LVM2.${LVM_VER}-%%ARCH%%.tar.bz2"
157
158 DMRAID_VER="VERSION_DMRAID"
159 DMRAID_DIR="dmraid/${DMRAID_VER}"
160 DMRAID_SRCTAR="${DISTDIR}/dmraid-${DMRAID_VER}.tar.bz2"
161 DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2"
162
163 E2FSPROGS_VER="VERSION_E2FSPROGS"
164 E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}"
165 E2FSPROGS_SRCTAR="${DISTDIR}/e2fsprogs-${E2FSPROGS_VER}.tar.gz"
166 BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2"
167
168 FUSE_VER="VERSION_FUSE"
169 FUSE_DIR="fuse-${FUSE_VER}"
170 FUSE_SRCTAR="${DISTDIR}/fuse-${FUSE_VER}.tar.gz"
171 FUSE_BINCACHE="%%CACHE%%/fuse-${FUSE_VER}-%%ARCH%%.tar.bz2"
172
173 UNIONFS_FUSE_VER="VERSION_UNIONFS_FUSE"
174 UNIONFS_FUSE_DIR="unionfs-fuse-${UNIONFS_FUSE_VER}"
175 UNIONFS_FUSE_SRCTAR="${DISTDIR}/unionfs-fuse-${UNIONFS_FUSE_VER}.tar.bz2"
176 UNIONFS_FUSE_BINCACHE="%%CACHE%%/unionfs-fuse-${UNIONFS_FUSE_VER}-%%ARCH%%.bz2"