Line
Link Here
|
0 |
-- /etc/genkernel.conf 2022-06-11 04:25:39.760000990 +0200 |
0 |
++ /etc/._mrg0000_genkernel.conf 2023-09-18 20:46:43.451182739 +0200 |
Lines 5-11
Link Here
|
5 |
# with the internal settings being least important, configuration file |
5 |
# with the internal settings being least important, configuration file |
6 |
# settings next, and command line options being most important. |
6 |
# settings next, and command line options being most important. |
7 |
|
7 |
|
8 |
# =========Common Command Line Option Defaults========= |
8 |
# =========COMMON COMMAND LINE OPTION DEFAULTS========= |
9 |
|
9 |
|
10 |
# Install to $BOOTDIR |
10 |
# Install to $BOOTDIR |
11 |
#INSTALL="yes" |
11 |
#INSTALL="yes" |
Lines 80-85
Link Here
|
80 |
# Add GnuPG support |
80 |
# Add GnuPG support |
81 |
#GPG="no" |
81 |
#GPG="no" |
82 |
|
82 |
|
|
|
83 |
# Add keyctl support for loading LUKS passphrase into a keyring |
84 |
#KEYCTL="no" |
85 |
|
83 |
# Add in early microcode support: this sets the kernel options for early microcode loading |
86 |
# Add in early microcode support: this sets the kernel options for early microcode loading |
84 |
# Possible values: empty/"no", "all", "intel", "amd" |
87 |
# Possible values: empty/"no", "all", "intel", "amd" |
85 |
#MICROCODE="all" |
88 |
#MICROCODE="all" |
Lines 147-160
Link Here
|
147 |
# Specify directory to pull from |
150 |
# Specify directory to pull from |
148 |
#FIRMWARE_DIR="/lib/firmware" |
151 |
#FIRMWARE_DIR="/lib/firmware" |
149 |
|
152 |
|
150 |
# Specify a space-separated list of firmware files or directories to include, |
153 |
# Specify a comma-separated list of firmware files or directories to include, |
151 |
# relative to FIRMWARE_DIR. If empty or unset, the full contents of |
154 |
# relative to FIRMWARE_DIR. If empty or unset, the full contents of |
152 |
# FIRMWARE_DIR will be included. |
155 |
# FIRMWARE_DIR will be included (if FIRMWARE option above is set to YES). |
153 |
#FIRMWARE_FILES="" |
156 |
#FIRMWARE_FILES="" |
154 |
|
157 |
|
155 |
# Add disklabel support (copies blkid to initramfs) |
|
|
156 |
#DISKLABEL="yes" |
157 |
|
158 |
# Add new kernel to grub |
158 |
# Add new kernel to grub |
159 |
# Possible values: empty/"no", "grub", "grub2" |
159 |
# Possible values: empty/"no", "grub", "grub2" |
160 |
BOOTLOADER="grub" |
160 |
BOOTLOADER="grub" |
Lines 185-191
Link Here
|
185 |
#CMD_CALLBACK="" |
185 |
#CMD_CALLBACK="" |
186 |
|
186 |
|
187 |
|
187 |
|
188 |
# =========Keymap Settings========= |
188 |
# =========KEYMAP SETTINGS========= |
189 |
# |
189 |
# |
190 |
# Force keymap selection at boot |
190 |
# Force keymap selection at boot |
191 |
#DOKEYMAPAUTO="no" |
191 |
#DOKEYMAPAUTO="no" |
Lines 194-218
Link Here
|
194 |
#KEYMAP="yes" |
194 |
#KEYMAP="yes" |
195 |
|
195 |
|
196 |
|
196 |
|
197 |
# =========Low Level Compile Settings========= |
197 |
# =========LOW LEVEL COMPILE SETTINGS========= |
198 |
# |
198 |
# |
199 |
# GNU Make to use for kernel. See also the --kernel-make command line option. |
199 |
# Assembler to use for the kernel. See also the --kernel-as command line |
200 |
#KERNEL_MAKE="make" |
200 |
# option. |
|
|
201 |
#KERNEL_AS="as" |
202 |
|
203 |
# Archiver to use for the kernel. See also the --kernel-ar command line |
204 |
# option. |
205 |
#KERNEL_AR="ar" |
201 |
|
206 |
|
202 |
# Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc |
207 |
# Compiler to use for the kernel (e.g. distcc). See also the --kernel-cc |
203 |
# command line option. |
208 |
# command line option. |
204 |
#KERNEL_CC="gcc" |
209 |
#KERNEL_CC="gcc" |
205 |
|
210 |
|
206 |
# Assembler to use for the kernel. See also the --kernel-as command line |
|
|
207 |
# option. |
208 |
#KERNEL_AS="as" |
209 |
|
210 |
# Linker to use for the kernel. See also the --kernel-ld command line option. |
211 |
# Linker to use for the kernel. See also the --kernel-ld command line option. |
211 |
#KERNEL_LD="ld" |
212 |
#KERNEL_LD="ld" |
212 |
|
213 |
|
213 |
# GNU Make to use for the utilities. See also the --utils-make command line |
214 |
# NM utility to use for the kernel. See also the --kernel-nm command line option. |
|
|
215 |
#KERNEL_NM="nm" |
216 |
|
217 |
# GNU Make to use for kernel. See also the --kernel-make command line option. |
218 |
#KERNEL_MAKE="make" |
219 |
|
220 |
# objcopy utility to use for the kernel. See also the --kernel-objcopy command |
221 |
# line option. |
222 |
#KERNEL_OBJCOPY="objcopy" |
223 |
|
224 |
# objdump utility to use for the kernel. See also the --kernel-objdump command |
225 |
# line option. |
226 |
#KERNEL_OBJDUMP="objdump" |
227 |
|
228 |
# ranlib utility to use for the kernel. See also the --kernel-ranlib command |
229 |
# line option. |
230 |
#KERNEL_RANLIB="ranlib" |
231 |
|
232 |
# readelf utility to use for the kernel. See also the --kernel-readelf command |
233 |
# line option. |
234 |
#KERNEL_READELF="readelf" |
235 |
|
236 |
# strip utility to use for the kernel. See also the --kernel-strip command line |
214 |
# option. |
237 |
# option. |
215 |
#UTILS_MAKE="make" |
238 |
#KERNEL_STRIP="strip" |
|
|
239 |
|
240 |
# Assembler to use for the utilities. See also the --utils-as command line |
241 |
# option. |
242 |
#UTILS_AS="as" |
243 |
|
244 |
# Archiver to use for the utilities. See also the --utils-ar command line |
245 |
# option. |
246 |
#UTILS_AR="ar" |
216 |
|
247 |
|
217 |
# C Compiler to use for the utilities (e.g. distcc). See also the --utils-cc |
248 |
# C Compiler to use for the utilities (e.g. distcc). See also the --utils-cc |
218 |
# command line option. |
249 |
# command line option. |
Lines 222-239
Link Here
|
222 |
# command line option. |
253 |
# command line option. |
223 |
#UTILS_CXX="g++" |
254 |
#UTILS_CXX="g++" |
224 |
|
255 |
|
225 |
# Assembler to use for the utilities. See also the --utils-as command line |
|
|
226 |
# option. |
227 |
#UTILS_AS="as" |
228 |
|
229 |
# Linker to use for the utilities. See also the --utils-ld command line |
256 |
# Linker to use for the utilities. See also the --utils-ld command line |
230 |
# option. |
257 |
# option. |
231 |
#UTILS_LD="ld" |
258 |
#UTILS_LD="ld" |
232 |
|
259 |
|
|
|
260 |
# NM utility to use for the utilities. See also the --utils-nm command line option. |
261 |
#UTILS_NM="nm" |
262 |
|
263 |
# GNU Make to use for the utilities. See also the --utils-make command line |
264 |
# option. |
265 |
#UTILS_MAKE="make" |
266 |
|
233 |
# Target triple (i.e. aarch64-linux-gnu) to build for. If you do not |
267 |
# Target triple (i.e. aarch64-linux-gnu) to build for. If you do not |
234 |
# cross-compile, leave blank for auto detection. |
268 |
# cross-compile, leave blank for auto detection. |
235 |
#CROSS_COMPILE="" |
269 |
#CROSS_COMPILE="" |
236 |
|
270 |
|
|
|
271 |
# Target triple (i.e. aarch64-linux-gnu) to build kernel for. Utilities will be |
272 |
# built for the native target, not this target. If you do not cross-compile, |
273 |
# leave blank. |
274 |
#KERNEL_CROSS_COMPILE="" |
275 |
|
237 |
# Override default make target (bzImage). See also the --kernel-target |
276 |
# Override default make target (bzImage). See also the --kernel-target |
238 |
# command line option. Useful to build a uImage on arm. |
277 |
# command line option. Useful to build a uImage on arm. |
239 |
#KERNEL_MAKE_DIRECTIVE_OVERRIDE="fooImage" |
278 |
#KERNEL_MAKE_DIRECTIVE_OVERRIDE="fooImage" |
Lines 243-249
Link Here
|
243 |
#KERNEL_BINARY_OVERRIDE="arch/foo/boot/bar" |
282 |
#KERNEL_BINARY_OVERRIDE="arch/foo/boot/bar" |
244 |
|
283 |
|
245 |
|
284 |
|
246 |
# =========GENKERNEL LOCATION CONFIGURATION============ |
285 |
# =========GENKERNEL LOCATION CONFIGURATION========= |
247 |
# |
286 |
# |
248 |
# Variables: |
287 |
# Variables: |
249 |
# %%ARCH%% - Final determined architecture |
288 |
# %%ARCH%% - Final determined architecture |
Lines 271-277
Link Here
|
271 |
LOGLEVEL=1 |
310 |
LOGLEVEL=1 |
272 |
|
311 |
|
273 |
|
312 |
|
274 |
# =========COMPILED UTILS CONFIGURATION============ |
313 |
# =========COMPILED UTILS CONFIGURATION========= |
275 |
# |
314 |
# |
276 |
# Default location of kernel source |
315 |
# Default location of kernel source |
277 |
#DEFAULT_KERNEL_SOURCE="/usr/src/linux" |
316 |
#DEFAULT_KERNEL_SOURCE="/usr/src/linux" |
Lines 291-297
Link Here
|
291 |
# You can still override these settings in here. |
330 |
# You can still override these settings in here. |
292 |
|
331 |
|
293 |
|
332 |
|
294 |
# =========MISC KERNEL CONFIGURATION============ |
333 |
# =========MISC KERNEL CONFIGURATION========= |
295 |
# |
334 |
# |
296 |
# Set kernel filename which will be used when kernel will be installed |
335 |
# Set kernel filename which will be used when kernel will be installed |
297 |
# into BOOTDIR. See man page to learn more about available placeholders. |
336 |
# into BOOTDIR. See man page to learn more about available placeholders. |
Lines 323-333
Link Here
|
323 |
|
362 |
|
324 |
# Prefix to kernel module destination, modules |
363 |
# Prefix to kernel module destination, modules |
325 |
# will be installed in <prefix>/lib/modules |
364 |
# will be installed in <prefix>/lib/modules |
326 |
# (.conf equivalent of --module-prefix=<dir>) |
365 |
#KERNEL_MODULES_PREFIX="" |
327 |
#INSTALL_MOD_PATH="" |
|
|
328 |
|
366 |
|
329 |
|
367 |
|
330 |
# =========MISC INITRAMFS CONFIGURATION============ |
368 |
# =========MISC INITRAMFS CONFIGURATION========= |
331 |
# |
369 |
# |
332 |
# Set initramfs filename which will be used when initramfs will be |
370 |
# Set initramfs filename which will be used when initramfs will be |
333 |
# installed into BOOTDIR. See man page to learn more about available |
371 |
# installed into BOOTDIR. See man page to learn more about available |
Lines 352-358
Link Here
|
352 |
# in /usr/share/genkernel/defaults/modules_load (see this file for |
390 |
# in /usr/share/genkernel/defaults/modules_load (see this file for |
353 |
# more details). This would be used if, for example, you |
391 |
# more details). This would be used if, for example, you |
354 |
# required an additional crypto module or network device at boot |
392 |
# required an additional crypto module or network device at boot |
355 |
# time and did not want to staticly compile these in the kernel. |
393 |
# time and did not want to statically compile these in the kernel. |
356 |
# Options take the form AMODULES_{group} where {group} is one of |
394 |
# Options take the form AMODULES_{group} where {group} is one of |
357 |
# the groups in modules_load (which are in the form MODULES_{group}). |
395 |
# the groups in modules_load (which are in the form MODULES_{group}). |
358 |
# Use this with caution. |
396 |
# Use this with caution. |
Lines 365-370
Link Here
|
365 |
#MODULES_group1="some-module" |
403 |
#MODULES_group1="some-module" |
366 |
#MODULES_group2="" # Load no modules for this group |
404 |
#MODULES_group2="" # Load no modules for this group |
367 |
|
405 |
|
|
|
406 |
# Override the default used linuxrc script. |
407 |
#LINUXRC="/path/to/custom/linuxrc" |
408 |
|
368 |
# Archive file created using tar containing modules after |
409 |
# Archive file created using tar containing modules after |
369 |
# the callbacks have run |
410 |
# the callbacks have run |
370 |
#MODULESPACKAGE="/path/to/file.tar.xz" |
411 |
#MODULESPACKAGE="/path/to/file.tar.xz" |
Lines 380-386
Link Here
|
380 |
# Compress generated initramfs |
421 |
# Compress generated initramfs |
381 |
#COMPRESS_INITRD="yes" |
422 |
#COMPRESS_INITRD="yes" |
382 |
|
423 |
|
383 |
# Types of compression: best, xz, lzma, bzip2, gzip, lzop, fastest |
424 |
# Types of compression: best, xz, lzma, bzip2, gzip, lzop, lz4, zstd, fastest |
384 |
# "best" selects the best available compression method |
425 |
# "best" selects the best available compression method |
385 |
# "fastest" selects the fastest available compression method |
426 |
# "fastest" selects the fastest available compression method |
386 |
COMPRESS_INITRD_TYPE="xz" |
427 |
COMPRESS_INITRD_TYPE="xz" |
Lines 392-398
Link Here
|
392 |
#NETBOOT="no" |
433 |
#NETBOOT="no" |
393 |
|
434 |
|
394 |
|
435 |
|
395 |
# =========MISC BOOT CONFIGURATION============ |
436 |
# =========MISC BOOT CONFIGURATION========= |
396 |
# |
437 |
# |
397 |
# Specify a default for real_root= |
438 |
# Specify a default for real_root= |
398 |
#REAL_ROOT="/dev/one/two/gentoo" |
439 |
#REAL_ROOT="/dev/one/two/gentoo" |