Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 532084 | Differences between
and this patch

Collapse All | Expand All

(-)genkernel.conf (-49 / +39 lines)
Lines 7-38 Link Here
7
7
8
# =========Common Command Line Option Defaults=========
8
# =========Common Command Line Option Defaults=========
9
9
10
# Should we install to $BOOTDIR?  Default is "no" because genkernel is used in
10
# Install to $BOOTDIR
11
# catalyst and stage building.
12
#INSTALL="yes"
11
#INSTALL="yes"
13
12
14
# Run 'make oldconfig' before compiling this kernel?
13
# Run 'make oldconfig' before compiling this kernel
15
OLDCONFIG="yes"
14
OLDCONFIG="yes"
16
15
17
# Run 'make menuconfig' before compiling this kernel?
16
# Run 'make menuconfig' before compiling this kernel
18
MENUCONFIG="no"
17
MENUCONFIG="no"
19
18
20
# Run 'make clean' before compilation?
19
# Run 'make clean' before compilation
21
# If set to NO, implies MRPROPER WILL NOT be run
20
# If set to NO, implies MRPROPER WILL NOT be run
22
# Also, if clean is NO, it won't copy over any configuration
21
# Also, if clean is NO, it won't copy over any configuration
23
# file, it will use what's there.
22
# file, it will use what's there.
24
CLEAN="yes"
23
CLEAN="yes"
25
24
26
# Run 'make mrproper' before configuration/compilation?
25
# Run 'make mrproper' before configuration/compilation
27
MRPROPER="yes"
26
MRPROPER="yes"
28
27
29
# Override the arch detection?
28
# Override the arch detection
30
#ARCH_OVERRIDE="x86"
29
#ARCH_OVERRIDE="x86"
31
30
32
# Mount BOOTDIR automatically if it isn't mounted?
31
# Mount BOOTDIR automatically if it isn't mounted
33
MOUNTBOOT="yes"
32
MOUNTBOOT="yes"
34
33
35
# Make symlinks in BOOTDIR automatically?
34
# Make symlinks in BOOTDIR automatically
36
#SYMLINK="no"
35
#SYMLINK="no"
37
36
38
# Save the new configuration in /etc/kernels upon
37
# Save the new configuration in /etc/kernels upon
Lines 46-56 Link Here
46
#CLEAR_CACHE_DIR="yes"
45
#CLEAR_CACHE_DIR="yes"
47
46
48
# Clear all tmp files and caches after genkernel has run
47
# Clear all tmp files and caches after genkernel has run
49
#POSTCLEAR="1"
48
#POSTCLEAR="no"
50
49
51
# Genkernel uses an independent configuration for MAKEOPTS, and does not source
50
# Genkernel uses an independent configuration for MAKEOPTS, and does not source
52
# /etc/make.conf . You can override the default setting by uncommenting and
51
# /etc/portage/make.conf . You can override the default setting by uncommenting
53
# tweaking the following line. Default setting is set up by
52
# and tweaking the following line. Default setting is set up by
54
# ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
53
# ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
55
# argument is: <number of processors>*<number of cores per processor>+1
54
# argument is: <number of processors>*<number of cores per processor>+1
56
#MAKEOPTS="-j2"
55
#MAKEOPTS="-j2"
Lines 68-78 Link Here
68
# Add DMRAID support.
67
# Add DMRAID support.
69
#DMRAID="no"
68
#DMRAID="no"
70
69
71
# Include (or suppresses the inclusion of) busybox in the initrd or initramfs.
70
# Include busybox in the initrd or initramfs. If included, busybox is rebuilt
72
# If included, busybox is rebuilt if the cached copy is out of date.
71
# if the cached copy is out of date.
73
#BUSYBOX="yes"
72
#BUSYBOX="yes"
74
73
75
# Includes mdadm/mdmon binaries in initramfs.
74
# Include mdadm/mdmon binaries in initramfs.
76
# Without sys-fs/mdadm[static] installed, this will build a static mdadm.
75
# Without sys-fs/mdadm[static] installed, this will build a static mdadm.
77
#MDADM="no"
76
#MDADM="no"
78
77
Lines 91-99 Link Here
91
#E2FSPROGS="no"
90
#E2FSPROGS="no"
92
91
93
# Include support for unionfs
92
# Include support for unionfs
94
#UNIONFS="1"
93
#UNIONFS="no"
95
94
96
# Include support for zfs volume management.
95
# Include support for zfs volume management.  If unset, genkernel will attempt
96
# to autodetect and enable this when rootfs is on zfs.
97
#ZFS="no"
97
#ZFS="no"
98
98
99
# Enable copying of firmware into initramfs
99
# Enable copying of firmware into initramfs
Lines 106-116 Link Here
106
# Enable disklabel support (copies blkid to initrd)
106
# Enable disklabel support (copies blkid to initrd)
107
DISKLABEL="yes"
107
DISKLABEL="yes"
108
108
109
# Add new kernel to grub?
109
# Add new kernel to grub
110
#BOOTLOADER="grub"
110
#BOOTLOADER="grub"
111
111
112
# Enable splashutils in early space (initrd). Default is "no".
112
# Enable splashutils in early space (initrd)
113
#SPLASH="yes"
113
#SPLASH="no"
114
114
115
# Use this splash theme. If commented out - the "default" name theme is used.
115
# Use this splash theme. If commented out - the "default" name theme is used.
116
# Also, SPLASH="yes" needs to be enabled for this one to one work.
116
# Also, SPLASH="yes" needs to be enabled for this one to one work.
Lines 122-135 Link Here
122
# use "emerge --quiet @module-rebuild" for >=portage-2.2
122
# use "emerge --quiet @module-rebuild" for >=portage-2.2
123
#CMD_CALLBACK=""
123
#CMD_CALLBACK=""
124
124
125
125
# =========Keymap Settings=========
126
# =========Keymap Settings=========
126
#
127
#
127
# Force keymap selection at boot
128
# Force keymap selection at boot
128
#DOKEYMAPAUTO="yes"
129
#DOKEYMAPAUTO="no"
129
130
130
131
# Disables keymap selection support
131
# Enables keymap selection support
132
#KEYMAP="0"
132
#KEYMAP="yes"
133
133
134
134
135
# =========Low Level Compile Settings=========
135
# =========Low Level Compile Settings=========
Lines 164-174 Link Here
164
# option.
164
# option.
165
#UTILS_LD="ld"
165
#UTILS_LD="ld"
166
166
167
168
# Common prefix of cros compile commands
167
# Common prefix of cros compile commands
169
#UTILS_CROSS_COMPILE="x86_64-pc-linux-gnu"
168
#UTILS_CROSS_COMPILE="x86_64-pc-linux-gnu"
170
169
171
172
# Value of CROSS_COMPILE utils variable
170
# Value of CROSS_COMPILE utils variable
173
# during kernel compilation
171
# during kernel compilation
174
#KERNEL_CROSS_COMPILE="x86_64-pc-linux-gnu"
172
#KERNEL_CROSS_COMPILE="x86_64-pc-linux-gnu"
Lines 179-185 Link Here
179
#   %%ARCH%%  - Final determined architecture
177
#   %%ARCH%%  - Final determined architecture
180
#   %%CACHE%% - Final determined cache location
178
#   %%CACHE%% - Final determined cache location
181
179
182
# Set genkernel's temporary work directory.  Default is /var/tmp/genkernel
180
# Set genkernel's temporary work directory
183
#TMPDIR="/var/tmp/genkernel"
181
#TMPDIR="/var/tmp/genkernel"
184
182
185
# Set the boot directory, default is /boot
183
# Set the boot directory, default is /boot
Lines 190-199 Link Here
190
188
191
# Location of the default cache
189
# Location of the default cache
192
CACHE_DIR="/var/cache/genkernel"
190
CACHE_DIR="/var/cache/genkernel"
191
193
# Location of DISTDIR, where our source tarballs are stored
192
# Location of DISTDIR, where our source tarballs are stored
194
DISTDIR="${GK_SHARE}/distfiles"
193
DISTDIR="${GK_SHARE}/distfiles"
194
195
# Log output file
195
# Log output file
196
LOGFILE="/var/log/genkernel.log"
196
LOGFILE="/var/log/genkernel.log"
197
197
# Debug Level
198
# Debug Level
198
LOGLEVEL=1
199
LOGLEVEL=1
199
200
Lines 201-206 Link Here
201
#
202
#
202
# Default location of kernel source
203
# Default location of kernel source
203
DEFAULT_KERNEL_SOURCE="/usr/src/linux"
204
DEFAULT_KERNEL_SOURCE="/usr/src/linux"
205
204
# Default kernel config (only use to override using
206
# Default kernel config (only use to override using
205
# arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
207
# arch/%%ARCH%%/kernel-config-${VER}.${PAT} !)
206
#DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"
208
#DEFAULT_KERNEL_CONFIG="${GK_SHARE}/arch/%%ARCH%%/kernel-config"
Lines 223-249 Link Here
223
# 'genkernel'
225
# 'genkernel'
224
#KNAME="genkernel"
226
#KNAME="genkernel"
225
227
226
227
# This option is only valid if kerncache is
228
# This option is only valid if kerncache is
228
# defined. If there is a valid kerncache no checks
229
# defined. If there is a valid kerncache no checks
229
# will be made against a kernel source tree
230
# will be made against a kernel source tree
230
#KERNEL_SOURCES="0"
231
#KERNEL_SOURCES="yes"
231
232
232
233
# Build a static (monolithic kernel)
233
# Build a static (monolithic kernel)
234
#BUILD_STATIC="1"
234
#BUILD_STATIC="no"
235
236
235
237
# Make and install kernelz image (PowerPC)
236
# Make and install kernelz image (PowerPC)
238
#GENZIMAGE="1"
237
#GENZIMAGE="no"
239
240
238
241
# File to output a .tar.bz2'd kernel contents
239
# File to output a .tar.bz2'd kernel contents
242
# of /lib/modules/ and the kernel config
240
# of /lib/modules/ and the kernel config
243
# NOTE: This is created before the callbacks
241
# NOTE: This is created before the callbacks
244
# are run!
242
# are run!
245
#KERNCACHE="/path/to/file"
243
#KERNCACHE="/path/to/file.bz2"
246
247
244
248
# Prefix to kernel module destination, modules
245
# Prefix to kernel module destination, modules
249
# will be installed in <prefix>/lib/modules
246
# will be installed in <prefix>/lib/modules
Lines 253-286 Link Here
253
250
254
# =========MISC INITRD CONFIGURATION============
251
# =========MISC INITRD CONFIGURATION============
255
#
252
#
256
# Copy all kernel modules to the ramdisk
253
# Copy all compiled kernel modules to the ramdisk
257
#ALLRAMDISKMODULES="1"
254
#ALLRAMDISKMODULES="no"
258
259
260
# Don't copy any modules to the ramdisk
261
#RAMDISKMODULES="0"
262
255
256
# Copy selected modules to the ramdisk based on arch-specific modules_load file
257
#RAMDISKMODULES="yes"
263
258
264
# File to output a .tar.bz2'd kernel and ramdisk:
259
# File to output a .tar.bz2'd kernel and ramdisk:
265
# No modules outside of the ramdisk will be
260
# No modules outside of the ramdisk will be
266
# included...
261
# included...
267
#MINKERNPACKAGE="/path/to/file.bz2"
262
#MINKERNPACKAGE="/path/to/file.bz2"
268
263
269
270
# File to output a .tar.bz2'd modules after the
264
# File to output a .tar.bz2'd modules after the
271
# callbacks have run
265
# callbacks have run
272
#MODULESPACKAGE="/path/to/file.bz2"
266
#MODULESPACKAGE="/path/to/file.bz2"
273
267
274
275
# Directory structure to include in the initramfs,
268
# Directory structure to include in the initramfs,
276
# only available on >=2.6 kernels
269
# only available on >=2.6 kernels
277
#INITRAMFS_OVERLAY=""
270
#INITRAMFS_OVERLAY=""
278
271
279
280
# Build the generated initramfs into the kernel instead of
272
# Build the generated initramfs into the kernel instead of
281
# keeping it as a separate file
273
# keeping it as a separate file
282
#INTEGRATED_INITRAMFS="1"
274
#INTEGRATED_INITRAMFS="no"
283
284
275
285
# Compress generated initramfs
276
# Compress generated initramfs
286
#COMPRESS_INITRD="yes"
277
#COMPRESS_INITRD="yes"
Lines 289-297 Link Here
289
# "fastest" selects the fastest available compression method
280
# "fastest" selects the fastest available compression method
290
#COMPRESS_INITRD_TYPE="best"
281
#COMPRESS_INITRD_TYPE="best"
291
282
292
293
# Create a self-contained env in the initramfs
283
# Create a self-contained env in the initramfs
294
#NETBOOT="1"
284
#NETBOOT="no"
295
285
296
286
297
# =========MISC BOOT CONFIGURATION============
287
# =========MISC BOOT CONFIGURATION============

Return to bug 532084