5 echo "Gentoo Linux Genkernel ${GK_V}"
8 echo " genkernel [options] action"
10 echo "Available Actions: "
11 echo " all Build all steps"
12 echo " bzImage Build only the kernel"
13 echo " initramfs Build only the ramdisk/initramfs"
14 echo " kernel Build only the kernel and modules"
15 echo " ramdisk Build only the ramdisk/initramfs"
17 echo "Available Options: "
18 echo " Configuration settings"
19 echo " --config=<file> genkernel configuration file to use"
20 echo " Debug settings"
21 echo " --loglevel=<0-5> Debug Verbosity Level"
22 echo " --logfile=<outfile> Output file for debug info"
23 echo " --color Output debug in color"
24 echo " --no-color Do not output debug in color"
25 echo " Kernel Configuration settings"
26 echo " --menuconfig Run menuconfig after oldconfig"
27 echo " --no-menuconfig Do not run menuconfig after oldconfig"
28 echo " --gconfig Run gconfig after oldconfig"
29 echo " --no-gconfig Don't run gconfig after oldconfig"
30 echo " --xconfig Run xconfig after oldconfig"
31 echo " --no-xconfig Don't run xconfig after oldconfig"
32 echo " --save-config Save the configuration to /etc/kernels"
33 echo " --no-save-config Don't save the configuration to /etc/kernels"
34 echo " --virtio Include VirtIO kernel code"
35 echo " Kernel Compile settings"
36 echo " --oldconfig Implies --no-clean and runs a 'make oldconfig'"
37 echo " --clean Run make clean before compilation"
38 echo " --no-clean Do not run make clean before compilation"
39 echo " --mrproper Run make mrproper before compilation"
40 echo " --no-mrproper Do not run make mrproper before compilation"
41 echo " --splash Install framebuffer splash support into initramfs"
42 echo " --no-splash Do not install framebuffer splash"
43 echo " --install Install the kernel after building"
44 echo " --no-install Do not install the kernel after building"
45 echo " --symlink Manage symlinks in /boot for installed images"
46 echo " --no-symlink Do not manage symlinks"
47 echo " --ramdisk-modules Copy required modules to the ramdisk"
48 echo " --no-ramdisk-modules Don't copy any modules to the ramdisk"
49 echo " --all-ramdisk-modules Copy all kernel modules to the ramdisk"
50 echo " --callback=<...> Run the specified arguments after the"
51 echo " kernel and modules have been compiled"
52 echo " --static Build a static (monolithic kernel)."
53 echo " --no-static Do not build a static (monolithic kernel)."
54 echo " Kernel settings"
55 echo " --kerneldir=<dir> Location of the kernel sources"
56 echo " --kernel-config=<file> Kernel configuration file to use for compilation"
57 echo " --module-prefix=<dir> Prefix to kernel module destination, modules"
58 echo " will be installed in <prefix>/lib/modules"
59 echo " Low-Level Compile settings"
60 echo " --kernel-cc=<compiler> Compiler to use for kernel (e.g. distcc)"
61 echo " --kernel-as=<assembler> Assembler to use for kernel"
62 echo " --kernel-ld=<linker> Linker to use for kernel"
63 echo " --kernel-cross-compile=<cross var> CROSS_COMPILE kernel variable"
64 echo " --kernel-make=<makeprg> GNU Make to use for kernel"
65 echo " --kernel-target=<t> Override default make target (bzImage)"
66 echo " --kernel-binary=<path> Override default kernel binary path (arch/foo/boot/bar)"
67 echo " --kernel-outputdir=<path> Save output files outside the source tree."
69 echo " --utils-cc=<compiler> Compiler to use for utilities"
70 echo " --utils-as=<assembler> Assembler to use for utils"
71 echo " --utils-ld=<linker> Linker to use for utils"
72 echo " --utils-make=<makeprog> GNU Make to use for utils"
73 echo " --utils-cross-compile=<cross var> CROSS_COMPILE utils variable"
74 echo " --utils-arch=<arch> Force to arch for utils only instead of"
76 echo " --makeopts=<makeopts> Make options such as -j2, etc..."
77 echo " --mountboot Mount BOOTDIR automatically if mountable"
78 echo " --no-mountboot Don't mount BOOTDIR automatically"
79 echo " --bootdir=<dir> Set the location of the boot-directory, default is /boot"
80 echo " --modprobedir=<dir> Set the location of the modprobe.d-directory, default is /etc/modprobe.d"
81 echo " Initialization"
82 echo " --splash=<theme> Enable framebuffer splash using <theme>"
83 echo " --splash-res=<res> Select splash theme resolutions to install"
84 echo " --splash=<theme> Enable framebuffer splash using <theme>"
85 echo " --splash-res=<res> Select splash theme resolutions to install"
86 echo " --do-keymap-auto Forces keymap selection at boot"
87 echo " --keymap Enables keymap selection support"
88 echo " --no-keymap Disables keymap selection support"
89 echo " --lvm Include LVM support"
90 echo " --no-lvm Exclude LVM support"
91 echo " --mdadm Include MDADM/MDMON support"
92 echo " --no-mdadm Exclude MDADM/MDMON support"
93 echo " --mdadm-config=<file> Use file as mdadm.conf in initramfs"
94 echo " --dmraid Include DMRAID support"
95 echo " --no-dmraid Exclude DMRAID support"
96 echo " --e2fsprogs Include e2fsprogs"
97 echo " --no-e2fsprogs Exclude e2fsprogs"
98 echo " --zfs Include ZFS support"
99 echo " --no-zfs Exclude ZFS support"
100 echo " --multipath Include Multipath support"
101 echo " --no-multipath Exclude Multipath support"
102 echo " --iscsi Include iSCSI support"
103 echo " --no-iscsi Exclude iSCSI support"
104 echo " --bootloader=grub Add new kernel to GRUB configuration"
105 echo " --linuxrc=<file> Specifies a user created linuxrc"
106 echo " --busybox-config=<file> Specifies a user created busybox config"
107 echo " --genzimage Make and install kernelz image (PowerPC)"
108 echo " --disklabel Include disk label and uuid support in your ramdisk"
109 echo " --no-disklabel Exclude disk label and uuid support in your ramdisk"
110 echo " --luks Include LUKS support"
111 echo " --> 'emerge cryptsetup-luks' with USE=-dynamic"
112 echo " --no-luks Exclude LUKS support"
113 echo " --gpg Include GPG-armored LUKS key support"
114 echo " --no-gpg Exclude GPG-armored LUKS key support"
115 echo " --busybox Include busybox"
116 echo " --no-busybox Exclude busybox"
117 echo " --unionfs Include support for unionfs"
118 echo " --no-unionfs Exclude support for unionfs"
119 echo " --netboot Create a self-contained env in the initramfs"
120 echo " --no-netboot Exclude --netboot env"
121 echo " --real-root=<foo> Specify a default for real_root="
123 echo " --arch-override=<arch> Force to arch instead of autodetect"
124 echo " --cachedir=<dir> Override the default cache location"
125 echo " --tempdir=<dir> Location of Genkernel's temporary directory"
126 echo " --postclear Clear all tmp files and caches after genkernel has run"
127 echo " --no-postclear Do not clean up after genkernel has run"
128 echo " Output Settings"
129 echo " --kernname=<...> Tag the kernel and ramdisk with a name:"
130 echo " If not defined the option defaults to"
132 echo " --minkernpackage=<tbz2> File to output a .tar.bz2'd kernel and ramdisk:"
133 echo " No modules outside of the ramdisk will be"
135 echo " --modulespackage=<tbz2> File to output a .tar.bz2'd modules after the"
136 echo " callbacks have run"
137 echo " --kerncache=<tbz2> File to output a .tar.bz2'd kernel contents"
138 echo " of /lib/modules/ and the kernel config"
139 echo " NOTE: This is created before the callbacks"
141 echo " --no-kernel-sources This option is only valid if kerncache is"
142 echo " defined. If there is a valid kerncache no checks"
143 echo " will be made against a kernel source tree"
144 echo " --initramfs-overlay=<dir>"
145 echo " Directory structure to include in the initramfs,"
146 echo " only available on 2.6 kernels"
148 echo " Enable copying of firmware into initramfs"
149 echo " --firmware-dir=<dir>"
150 echo " Specify directory to copy firmware from (defaults"
151 echo " to /lib/firmware)"
152 echo " --firmware-files=<files>"
153 echo " Specifies specific firmware files to copy. This"
154 echo " overrides --firmware-dir. For multiple files,"
155 echo " separate the filenames with a comma"
156 echo " --integrated-initramfs, --no-integrated-initramfs"
157 echo " Include/exclude the generated initramfs in the kernel"
158 echo " instead of keeping it as a separate file"
159 echo " --compress-initramfs, --no-compress-initramfs,"
160 echo " --compress-initrd, --no-compress-initrd"
161 echo " Compress or do not compress the generated initramfs"
162 echo " --compress-initramfs-type=<arg>"
163 echo " Compression type for initramfs (best, xz, lzma, bzip2, gzip, lzop)"
167 echo "Gentoo Linux Genkernel ${GK_V}"
170 echo " genkernel [options] all"
172 echo 'Some useful options:'
173 echo ' --menuconfig Run menuconfig after oldconfig'
174 echo ' --no-clean Do not run make clean before compilation'
175 echo ' --no-mrproper Do not run make mrproper before compilation,'
176 echo ' this is implied by --no-clean.'
178 echo 'For a detailed list of supported options and flags; issue:'
179 echo ' genkernel --help'
183 local opt=${1/--no-*/0} # false
184 opt=${opt/--*/1} # true
191 CMD_KERNEL_CC=`parse_opt "$*"`
192 print_info 2 "CMD_KERNEL_CC: ${CMD_KERNEL_CC}"
195 CMD_KERNEL_LD=`parse_opt "$*"`
196 print_info 2 "CMD_KERNEL_LD: ${CMD_KERNEL_LD}"
199 CMD_KERNEL_AS=`parse_opt "$*"`
200 print_info 2 "CMD_KERNEL_AS: ${CMD_KERNEL_AS}"
203 CMD_KERNEL_MAKE=`parse_opt "$*"`
204 print_info 2 "CMD_KERNEL_MAKE: ${CMD_KERNEL_MAKE}"
207 KERNEL_MAKE_DIRECTIVE_OVERRIDE=`parse_opt "$*"`
208 print_info 2 "KERNEL_MAKE_DIRECTIVE_OVERRIDE: ${KERNEL_MAKE_DIRECTIVE_OVERRIDE}"
211 KERNEL_BINARY_OVERRIDE=`parse_opt "$*"`
212 print_info 2 "KERNEL_BINARY_OVERRIDE: ${KERNEL_BINARY_OVERRIDE}"
214 --kernel-cross-compile=*)
215 CMD_KERNEL_CROSS_COMPILE=`parse_opt "$*"`
216 CMD_KERNEL_CROSS_COMPILE=$(echo ${CMD_KERNEL_CROSS_COMPILE}|sed -e 's/.*[^-]$/&-/g')
217 print_info 2 "CMD_KERNEL_CROSS_COMPILE: ${CMD_KERNEL_CROSS_COMPILE}"
219 --kernel-outputdir=*)
220 CMD_KERNEL_OUTPUTDIR=`parse_opt "$*"`
221 print_info 2 "CMD_KERNEL_OUTPUTDIR: ${CMD_KERNEL_OUTPUTDIR}"
224 CMD_UTILS_CC=`parse_opt "$*"`
225 print_info 2 "CMD_UTILS_CC: ${CMD_UTILS_CC}"
228 CMD_UTILS_LD=`parse_opt "$*"`
229 print_info 2 "CMD_UTILS_LD: ${CMD_UTILS_LD}"
232 CMD_UTILS_AS=`parse_opt "$*"`
233 print_info 2 "CMD_UTILS_AS: ${CMD_UTILS_AS}"
236 CMD_UTILS_MAKE=`parse_opt "$*"`
237 print_info 2 "CMD_UTILS_MAKE: ${CMD_UTILS_MAKE}"
239 --utils-cross-compile=*)
240 CMD_UTILS_CROSS_COMPILE=`parse_opt "$*"`
241 CMD_UTILS_CROSS_COMPILE=$(echo ${CMD_UTILS_CROSS_COMPILE}|sed -e 's/.*[^-]$/&-/g')
242 print_info 2 "CMD_UTILS_CROSS_COMPILE: ${CMD_UTILS_CROSS_COMPILE}"
245 CMD_UTILS_ARCH=`parse_opt "$*"`
246 print_info 2 "CMD_UTILS_ARCH: ${CMD_ARCHOVERRIDE}"
249 CMD_MAKEOPTS=`parse_opt "$*"`
250 print_info 2 "CMD_MAKEOPTS: ${CMD_MAKEOPTS}"
252 --mountboot|--no-mountboot)
253 CMD_MOUNTBOOT=`parse_optbool "$*"`
254 print_info 2 "CMD_MOUNTBOOT: ${CMD_MOUNTBOOT}"
257 CMD_BOOTDIR=`parse_opt "$*"`
258 print_info 2 "CMD_BOOTDIR: ${CMD_BOOTDIR}"
261 CMD_MODPROBEDIR=`parse_opt "$*"`
262 print_info 2 "CMD_MODPROBEDIR: ${CMD_MODPROBEDIR}"
267 print_info 2 "CMD_DOKEYMAPAUTO: ${CMD_DOKEYMAPAUTO}"
269 --keymap|--no-keymap)
270 CMD_KEYMAP=`parse_optbool "$*"`
271 print_info 2 "CMD_KEYMAP: ${CMD_KEYMAP}"
274 CMD_LVM=`parse_optbool "$*"`
275 print_info 2 "CMD_LVM: ${CMD_LVM}"
278 CMD_LVM=`parse_optbool "$*"`
279 print_info 2 "CMD_LVM: ${CMD_LVM}"
281 print_warning 1 "Please use --lvm, as --lvm2 is deprecated."
284 CMD_MDADM=`parse_optbool "$*"`
285 print_info 2 "CMD_MDADM: $CMD_MDADM"
288 CMD_MDADM_CONFIG=`parse_opt "$*"`
289 print_info 2 "CMD_MDADM_CONFIG: $CMD_MDADM_CONFIG"
291 --busybox|--no-busybox)
292 CMD_BUSYBOX=`parse_optbool "$*"`
293 print_info 2 "CMD_BUSYBOX: ${CMD_BUSYBOX}"
295 --unionfs|--no-unionfs)
296 CMD_UNIONFS=`parse_optbool "$*"`
297 print_info 2 "CMD_UNIONFS: ${CMD_UNIONFS}"
299 --netboot|--no-netboot)
300 CMD_NETBOOT=`parse_optbool "$*"`
301 print_info 2 "CMD_NETBOOT: ${CMD_NETBOOT}"
304 CMD_REAL_ROOT=`parse_opt "$*"`
305 print_info 2 "CMD_REAL_ROOT: ${CMD_REAL_ROOT}"
307 --dmraid|--no-dmraid)
308 CMD_DMRAID=`parse_optbool "$*"`
309 if [ "$CMD_DMRAID" = "1" -a ! -e /usr/include/libdevmapper.h ]
311 echo 'Error: --dmraid requires LVM2 to be installed'
312 echo ' on the host system; try "emerge lvm2".'
315 print_info 2 "CMD_DMRAID: ${CMD_DMRAID}"
317 --e2fsprogs|--no-e2fsprogs)
318 CMD_E2FSPROGS=`parse_optbool "$*"`
319 print_info 2 "CMD_E2FSPROGS: ${CMD_E2FSPROGS}"
322 CMD_ZFS=`parse_optbool "$*"`
323 print_info 2 "CMD_ZFS: ${CMD_ZFS}"
326 CMD_VIRTIO=`parse_optbool "$*"`
327 print_info 2 "CMD_VIRTIO: ${CMD_VIRTIO}"
329 --multipath|--no-multipath)
330 CMD_MULTIPATH=`parse_optbool "$*"`
331 if [ "$CMD_MULTIPATH" = "1" -a ! -e /usr/include/libdevmapper.h ]
333 echo 'Error: --multipath requires LVM2 to be installed'
334 echo ' on the host;system; try "emerge lvm2".'
337 print_info 2 "CMD_MULTIPATH: ${CMD_MULTIPATH}"
340 CMD_BOOTLOADER=`parse_opt "$*"`
341 print_info 2 "CMD_BOOTLOADER: ${CMD_BOOTLOADER}"
344 CMD_ISCSI=`parse_optbool "$*"`
345 print_info 2 "CMD_ISCSI: ${CMD_ISCSI}"
348 CMD_LOGLEVEL=`parse_opt "$*"`
349 LOGLEVEL="${CMD_LOGLEVEL}"
350 print_info 2 "CMD_LOGLEVEL: ${CMD_LOGLEVEL}"
353 TERM_LINES=`stty -a | head -n 1 | cut -d\ -f5 | cut -d\; -f1`
354 TERM_COLUMNS=`stty -a | head -n 1 | cut -d\ -f7 | cut -d\; -f1`
355 if [[ TERM_LINES -lt 19 || TERM_COLUMNS -lt 80 ]]
357 echo "Error: You need a terminal with at least 80 columns"
358 echo " and 19 lines for --menuconfig; try --no-menuconfig..."
362 print_info 2 "CMD_MENUCONFIG: ${CMD_MENUCONFIG}"
366 print_info 2 "CMD_MENUCONFIG: ${CMD_MENUCONFIG}"
368 --gconfig|--no-gconfig)
369 CMD_GCONFIG=`parse_optbool "$*"`
370 print_info 2 "CMD_GCONFIG: ${CMD_GCONFIG}"
372 --xconfig|--no-xconfig)
373 CMD_XCONFIG=`parse_optbool "$*"`
374 print_info 2 "CMD_XCONFIG: ${CMD_XCONFIG}"
376 --save-config|--no-save-config)
377 CMD_SAVE_CONFIG=`parse_optbool "$*"`
378 print_info 2 "CMD_SAVE_CONFIG: ${CMD_SAVE_CONFIG}"
380 --mrproper|--no-mrproper)
381 CMD_MRPROPER=`parse_optbool "$*"`
382 print_info 2 "CMD_MRPROPER: ${CMD_MRPROPER}"
385 CMD_CLEAN=`parse_optbool "$*"`
386 print_info 2 "CMD_CLEAN: ${CMD_CLEAN}"
388 --oldconfig|--no-oldconfig)
389 CMD_OLDCONFIG=`parse_optbool "$*"`
390 [ "$CMD_OLDCONFIG" = "1" ] && CMD_CLEAN=0
391 print_info 2 "CMD_CLEAN: ${CMD_CLEAN}"
392 print_info 2 "CMD_OLDCONFIG: ${CMD_OLDCONFIG}"
396 SPLASH_THEME=`parse_opt "$*"`
397 print_info 2 "CMD_SPLASH: ${CMD_SPLASH}"
398 print_info 2 "SPLASH_THEME: ${SPLASH_THEME}"
400 print_warning 1 "Please use --splash, as --gensplash is deprecated."
402 --gensplash|--no-gensplash)
403 CMD_SPLASH=`parse_optbool "$*"`
404 SPLASH_THEME='default'
405 print_info 2 "CMD_SPLASH: ${CMD_SPLASH}"
407 print_warning 1 "Please use --splash, as --gensplash is deprecated."
411 SPLASH_THEME=`parse_opt "$*"`
412 print_info 2 "CMD_SPLASH: ${CMD_SPLASH}"
413 print_info 2 "SPLASH_THEME: ${SPLASH_THEME}"
415 --splash|--no-splash)
416 CMD_SPLASH=`parse_optbool "$*"`
417 SPLASH_THEME='default'
418 print_info 2 "CMD_SPLASH: ${CMD_SPLASH}"
421 SPLASH_RES=`parse_opt "$*"`
422 print_info 2 "SPLASH_RES: ${SPLASH_RES}"
424 print_warning 1 "Please use --splash-res, as --gensplash-res is deprecated."
427 SPLASH_RES=`parse_opt "$*"`
428 print_info 2 "SPLASH_RES: ${SPLASH_RES}"
430 --install|--no-install)
431 CMD_INSTALL=`parse_optbool "$*"`
432 print_info 2 "CMD_INSTALL: ${CMD_INSTALL}"
434 --ramdisk-modules|--no-ramdisk-modules)
435 CMD_RAMDISKMODULES=`parse_optbool "$*"`
436 print_info 2 "CMD_RAMDISKMODULES: ${CMD_RAMDISKMODULES}"
438 --all-ramdisk-modules|--no-all-ramdisk-modules)
439 CMD_ALLRAMDISKMODULES=`parse_optbool "$*"`
440 print_info 2 "CMD_ALLRAMDISKMODULES: ${CMD_ALLRAMDISKMODULES}"
443 CMD_CALLBACK=`parse_opt "$*"`
444 print_info 2 "CMD_CALLBACK: ${CMD_CALLBACK}/$*"
446 --static|--no-static)
447 CMD_STATIC=`parse_optbool "$*"`
448 print_info 2 "CMD_STATIC: ${CMD_STATIC}"
451 TMPDIR=`parse_opt "$*"`
452 TEMP=${TMPDIR}/$RANDOM.$RANDOM.$RANDOM.$$
453 print_info 2 "TMPDIR: ${TMPDIR}"
454 print_info 2 "TEMP: ${TEMP}"
456 --postclear|--no-postclear)
457 CMD_POSTCLEAR=`parse_optbool "$*"`
458 print_info 2 "CMD_POSTCLEAR: ${CMD_POSTCLEAR}"
461 CMD_ARCHOVERRIDE=`parse_opt "$*"`
462 print_info 2 "CMD_ARCHOVERRIDE: ${CMD_ARCHOVERRIDE}"
465 USECOLOR=`parse_optbool "$*"`
466 print_info 2 "USECOLOR: ${USECOLOR}"
470 CMD_LOGFILE=`parse_opt "$*"`
471 LOGFILE=`parse_opt "$*"`
472 print_info 2 "CMD_LOGFILE: ${CMD_LOGFILE}"
473 print_info 2 "LOGFILE: ${CMD_LOGFILE}"
476 CMD_KERNEL_DIR=`parse_opt "$*"`
477 print_info 2 "CMD_KERNEL_DIR: ${CMD_KERNEL_DIR}"
480 CMD_KERNEL_CONFIG=`parse_opt "$*"`
481 print_info 2 "CMD_KERNEL_CONFIG: ${CMD_KERNEL_CONFIG}"
484 CMD_INSTALL_MOD_PATH=`parse_opt "$*"`
485 print_info 2 "CMD_INSTALL_MOD_PATH: ${CMD_INSTALL_MOD_PATH}"
488 CACHE_DIR=`parse_opt "$*"`
489 print_info 2 "CACHE_DIR: ${CACHE_DIR}"
492 CMD_MINKERNPACKAGE=`parse_opt "$*"`
493 print_info 2 "MINKERNPACKAGE: ${CMD_MINKERNPACKAGE}"
496 CMD_MODULESPACKAGE=`parse_opt "$*"`
497 print_info 2 "MODULESPACKAGE: ${CMD_MODULESPACKAGE}"
500 CMD_KERNCACHE=`parse_opt "$*"`
501 print_info 2 "KERNCACHE: ${CMD_KERNCACHE}"
504 CMD_KERNNAME=`parse_opt "$*"`
505 print_info 2 "KERNNAME: ${CMD_KERNNAME}"
507 --symlink|--no-symlink)
508 CMD_SYMLINK=`parse_optbool "$*"`
509 print_info 2 "CMD_SYMLINK: ${CMD_SYMLINK}"
511 --kernel-sources|--no-kernel-sources)
512 CMD_KERNEL_SOURCES=`parse_optbool "$*"`
513 print_info 2 "CMD_KERNEL_SOURCES: ${CMD_KERNEL_SOURCES}"
515 --initramfs-overlay=*)
516 CMD_INITRAMFS_OVERLAY=`parse_opt "$*"`
517 print_info 2 "CMD_INITRAMFS_OVERLAY: ${CMD_INITRAMFS_OVERLAY}"
520 CMD_LINUXRC=`parse_opt "$*"`
521 print_info 2 "CMD_LINUXRC: ${CMD_LINUXRC}"
524 CMD_BUSYBOX_CONFIG=`parse_opt "$*"`
525 print_info 2 "CMD_BUSYBOX_CONFIG: ${CMD_BUSYBOX_CONFIG}"
528 KERNEL_MAKE_DIRECTIVE_2='zImage.initrd'
529 KERNEL_BINARY_2='arch/powerpc/boot/zImage.initrd'
531 # ENABLE_PEGASOS_HACKS="yes"
532 # print_info 2 "ENABLE_PEGASOS_HACKS: ${ENABLE_PEGASOS_HACKS}"
534 --disklabel|--no-disklabel)
535 CMD_DISKLABEL=`parse_optbool "$*"`
536 print_info 2 "CMD_DISKLABEL: ${CMD_DISKLABEL}"
539 CMD_LUKS=`parse_optbool "$*"`
540 print_info 2 "CMD_LUKS: ${CMD_LUKS}"
543 CMD_GPG=`parse_optbool "$*"`
544 print_info 2 "CMD_GPG: ${CMD_GPG}"
546 --firmware|--no-firmware)
547 CMD_FIRMWARE=`parse_optbool "$*"`
548 print_info 2 "CMD_FIRMWARE: ${CMD_FIRMWARE}"
551 CMD_FIRMWARE_DIR=`parse_opt "$*"`
553 print_info 2 "CMD_FIRMWARE_DIR: ${CMD_FIRMWARE_DIR}"
556 CMD_FIRMWARE_FILES=`parse_opt "$*"`
558 print_info 2 "CMD_FIRMWARE_FILES: ${CMD_FIRMWARE_FILES}"
560 --integrated-initramfs|--no-integrated-initramfs)
561 CMD_INTEGRATED_INITRAMFS=`parse_optbool "$*"`
562 print_info 2 "CMD_INTEGRATED_INITRAMFS=${CMD_INTEGRATED_INITRAMFS}"
564 --compress-initramfs|--no-compress-initramfs|--compress-initrd|--no-compress-initrd)
565 CMD_COMPRESS_INITRD=`parse_optbool "$*"`
566 print_info 2 "CMD_COMPRESS_INITRD=${CMD_COMPRESS_INITRD}"
568 --compress-initramfs-type=*|--compress-initrd-type=*)
569 COMPRESS_INITRD_TYPE=`parse_opt "$*"`
570 print_info 2 "CMD_COMPRESS_INITRD_TYPE: ${CMD_LINUXRC}"
573 print_info 2 "CMD_GK_CONFIG: `parse_opt "$*"`"
593 print_info 2 "CMD_RAMDISKMODULES: ${CMD_RAMDISKMODULES}"
604 echo "Error: Unknown option '$*'!"