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 " Kernel Compile settings"
35 echo " --oldconfig Implies --no-clean and runs a 'make oldconfig'"
36 echo " --clean Run make clean before compilation"
37 echo " --no-clean Do not run make clean before compilation"
38 echo " --mrproper Run make mrproper before compilation"
39 echo " --no-mrproper Do not run make mrproper before compilation"
40 echo " --splash Install framebuffer splash support into initramfs"
41 echo " --no-splash Do not install framebuffer splash"
42 echo " --install Install the kernel after building"
43 echo " --no-install Do not install the kernel after building"
44 echo " --symlink Manage symlinks in /boot for installed images"
45 echo " --no-symlink Do not manage symlinks"
46 echo " --ramdisk-modules Copy required modules to the ramdisk"
47 echo " --no-ramdisk-modules Don't copy any modules to the ramdisk"
48 echo " --all-ramdisk-modules Copy all kernel modules to the ramdisk"
49 echo " --callback=<...> Run the specified arguments after the"
50 echo " kernel and modules have been compiled"
51 echo " --static Build a static (monolithic kernel)."
52 echo " --no-static Do not build a static (monolithic kernel)."
53 echo " Kernel settings"
54 echo " --kerneldir=<dir> Location of the kernel sources"
55 echo " --kernel-config=<file> Kernel configuration file to use for compilation"
56 echo " --module-prefix=<dir> Prefix to kernel module destination, modules"
57 echo " will be installed in <prefix>/lib/modules"
58 echo " Low-Level Compile settings"
59 echo " --kernel-cc=<compiler> Compiler to use for kernel (e.g. distcc)"
60 echo " --kernel-as=<assembler> Assembler to use for kernel"
61 echo " --kernel-ld=<linker> Linker to use for kernel"
62 echo " --kernel-cross-compile=<cross var> CROSS_COMPILE kernel variable"
63 echo " --kernel-make=<makeprg> GNU Make to use for kernel"
64 echo " --kernel-target=<t> Override default make target (bzImage)"
65 echo " --kernel-binary=<path> Override default kernel binary path (arch/foo/boot/bar)"
67 echo " --utils-cc=<compiler> Compiler to use for utilities"
68 echo " --utils-as=<assembler> Assembler to use for utils"
69 echo " --utils-ld=<linker> Linker to use for utils"
70 echo " --utils-make=<makeprog> GNU Make to use for utils"
71 echo " --utils-cross-compile=<cross var> CROSS_COMPILE utils variable"
72 echo " --utils-arch=<arch> Force to arch for utils only instead of"
74 echo " --makeopts=<makeopts> Make options such as -j2, etc..."
75 echo " --mountboot Mount BOOTDIR automatically if mountable"
76 echo " --no-mountboot Don't mount BOOTDIR automatically"
77 echo " --bootdir=<dir> Set the location of the boot-directory, default is /boot"
78 echo " --modprobedir=<dir> Set the location of the modprobe.d-directory, default is /etc/modprobe.d"
79 echo " Initialization"
80 echo " --splash=<theme> Enable framebuffer splash using <theme>"
81 echo " --splash-res=<res> Select splash theme resolutions to install"
82 echo " --splash=<theme> Enable framebuffer splash using <theme>"
83 echo " --splash-res=<res> Select splash theme resolutions to install"
84 echo " --do-keymap-auto Forces keymap selection at boot"
85 echo " --keymap Enables keymap selection support"
86 echo " --no-keymap Disables keymap selection support"
87 echo " --lvm Include LVM support"
88 echo " --no-lvm Exclude LVM support"
89 echo " --mdadm Include MDADM/MDMON support"
90 echo " --no-mdadm Exclude MDADM/MDMON support"
91 echo " --mdadm-config=<file> Use file as mdadm.conf in initramfs"
92 echo " --dmraid Include DMRAID support"
93 echo " --no-dmraid Exclude DMRAID support"
94 echo " --zfs Include ZFS support"
95 echo " --no-zfs Exclude ZFS support"
96 echo " --multipath Include Multipath support"
97 echo " --no-multipath Exclude Multipath support"
98 echo " --iscsi Include iSCSI support"
99 echo " --no-iscsi Exclude iSCSI support"
100 echo " --bootloader=grub Add new kernel to GRUB configuration"
101 echo " --linuxrc=<file> Specifies a user created linuxrc"
102 echo " --busybox-config=<file> Specifies a user created busybox config"
103 echo " --genzimage Make and install kernelz image (PowerPC)"
104 echo " --disklabel Include disk label and uuid support in your ramdisk"
105 echo " --no-disklabel Exclude disk label and uuid support in your ramdisk"
106 echo " --luks Include LUKS support"
107 echo " --> 'emerge cryptsetup-luks' with USE=-dynamic"
108 echo " --no-luks Exclude LUKS support"
109 echo " --gpg Include GPG-armored LUKS key support"
110 echo " --no-gpg Exclude GPG-armored LUKS key support"
111 echo " --busybox Include busybox"
112 echo " --no-busybox Exclude busybox"
113 echo " --unionfs Include support for unionfs"
114 echo " --no-unionfs Exclude support for unionfs"
115 echo " --netboot Create a self-contained env in the initramfs"
116 echo " --no-netboot Exclude --netboot env"
117 echo " --real-root=<foo> Specify a default for real_root="
119 echo " --arch-override=<arch> Force to arch instead of autodetect"
120 echo " --cachedir=<dir> Override the default cache location"
121 echo " --tempdir=<dir> Location of Genkernel's temporary directory"
122 echo " --postclear Clear all tmp files and caches after genkernel has run"
123 echo " --no-postclear Do not clean up after genkernel has run"
124 echo " Output Settings"
125 echo " --kernname=<...> Tag the kernel and ramdisk with a name:"
126 echo " If not defined the option defaults to"
128 echo " --minkernpackage=<tbz2> File to output a .tar.bz2'd kernel and ramdisk:"
129 echo " No modules outside of the ramdisk will be"
131 echo " --modulespackage=<tbz2> File to output a .tar.bz2'd modules after the"
132 echo " callbacks have run"
133 echo " --kerncache=<tbz2> File to output a .tar.bz2'd kernel contents"
134 echo " of /lib/modules/ and the kernel config"
135 echo " NOTE: This is created before the callbacks"
137 echo " --no-kernel-sources This option is only valid if kerncache is"
138 echo " defined. If there is a valid kerncache no checks"
139 echo " will be made against a kernel source tree"
140 echo " --initramfs-overlay=<dir>"
141 echo " Directory structure to include in the initramfs,"
142 echo " only available on 2.6 kernels"
144 echo " Enable copying of firmware into initramfs"
145 echo " --firmware-dir=<dir>"
146 echo " Specify directory to copy firmware from (defaults"
147 echo " to /lib/firmware)"
148 echo " --firmware-files=<files>"
149 echo " Specifies specific firmware files to copy. This"
150 echo " overrides --firmware-dir. For multiple files,"
151 echo " separate the filenames with a comma"
152 echo " --integrated-initramfs, --no-integrated-initramfs"
153 echo " Include/exclude the generated initramfs in the kernel"
154 echo " instead of keeping it as a separate file"
155 echo " --compress-initramfs, --no-compress-initramfs,"
156 echo " --compress-initrd, --no-compress-initrd"
157 echo " Compress or do not compress the generated initramfs"
158 echo " --compress-initramfs-type=<arg>"
159 echo " Compression type for initramfs (best, xz, lzma, bzip2, gzip, lzop)"
163 echo "Gentoo Linux Genkernel ${GK_V}"
166 echo " genkernel [options] all"
168 echo 'Some useful options:'
169 echo ' --menuconfig Run menuconfig after oldconfig'
170 echo ' --no-clean Do not run make clean before compilation'
171 echo ' --no-mrproper Do not run make mrproper before compilation,'
172 echo ' this is implied by --no-clean.'
174 echo 'For a detailed list of supported options and flags; issue:'
175 echo ' genkernel --help'
179 local opt=${1/--no-*/0} # false
180 opt=${opt/--*/1} # true
187 CMD_KERNEL_CC=`parse_opt "$*"`
188 print_info 2 "CMD_KERNEL_CC: ${CMD_KERNEL_CC}"
191 CMD_KERNEL_LD=`parse_opt "$*"`
192 print_info 2 "CMD_KERNEL_LD: ${CMD_KERNEL_LD}"
195 CMD_KERNEL_AS=`parse_opt "$*"`
196 print_info 2 "CMD_KERNEL_AS: ${CMD_KERNEL_AS}"
199 CMD_KERNEL_MAKE=`parse_opt "$*"`
200 print_info 2 "CMD_KERNEL_MAKE: ${CMD_KERNEL_MAKE}"
203 KERNEL_MAKE_DIRECTIVE_OVERRIDE=`parse_opt "$*"`
204 print_info 2 "KERNEL_MAKE_DIRECTIVE_OVERRIDE: ${KERNEL_MAKE_DIRECTIVE_OVERRIDE}"
207 KERNEL_BINARY_OVERRIDE=`parse_opt "$*"`
208 print_info 2 "KERNEL_BINARY_OVERRIDE: ${KERNEL_BINARY_OVERRIDE}"
210 --kernel-cross-compile=*)
211 CMD_KERNEL_CROSS_COMPILE=`parse_opt "$*"`
212 CMD_KERNEL_CROSS_COMPILE=$(echo ${CMD_KERNEL_CROSS_COMPILE}|sed -e 's/.*[^-]$/&-/g')
213 print_info 2 "CMD_KERNEL_CROSS_COMPILE: ${CMD_KERNEL_CROSS_COMPILE}"
216 CMD_UTILS_CC=`parse_opt "$*"`
217 print_info 2 "CMD_UTILS_CC: ${CMD_UTILS_CC}"
220 CMD_UTILS_LD=`parse_opt "$*"`
221 print_info 2 "CMD_UTILS_LD: ${CMD_UTILS_LD}"
224 CMD_UTILS_AS=`parse_opt "$*"`
225 print_info 2 "CMD_UTILS_AS: ${CMD_UTILS_AS}"
228 CMD_UTILS_MAKE=`parse_opt "$*"`
229 print_info 2 "CMD_UTILS_MAKE: ${CMD_UTILS_MAKE}"
231 --utils-cross-compile=*)
232 CMD_UTILS_CROSS_COMPILE=`parse_opt "$*"`
233 CMD_UTILS_CROSS_COMPILE=$(echo ${CMD_UTILS_CROSS_COMPILE}|sed -e 's/.*[^-]$/&-/g')
234 print_info 2 "CMD_UTILS_CROSS_COMPILE: ${CMD_UTILS_CROSS_COMPILE}"
237 CMD_UTILS_ARCH=`parse_opt "$*"`
238 print_info 2 "CMD_UTILS_ARCH: ${CMD_ARCHOVERRIDE}"
241 CMD_MAKEOPTS=`parse_opt "$*"`
242 print_info 2 "CMD_MAKEOPTS: ${CMD_MAKEOPTS}"
244 --mountboot|--no-mountboot)
245 CMD_MOUNTBOOT=`parse_optbool "$*"`
246 print_info 2 "CMD_MOUNTBOOT: ${CMD_MOUNTBOOT}"
249 CMD_BOOTDIR=`parse_opt "$*"`
250 print_info 2 "CMD_BOOTDIR: ${CMD_BOOTDIR}"
253 CMD_MODPROBEDIR=`parse_opt "$*"`
254 print_info 2 "CMD_MODPROBEDIR: ${CMD_MODPROBEDIR}"
259 print_info 2 "CMD_DOKEYMAPAUTO: ${CMD_DOKEYMAPAUTO}"
261 --keymap|--no-keymap)
262 CMD_KEYMAP=`parse_optbool "$*"`
263 print_info 2 "CMD_KEYMAP: ${CMD_KEYMAP}"
266 CMD_LVM=`parse_optbool "$*"`
267 print_info 2 "CMD_LVM: ${CMD_LVM}"
270 CMD_LVM=`parse_optbool "$*"`
271 print_info 2 "CMD_LVM: ${CMD_LVM}"
273 print_warning 1 "Please use --lvm, as --lvm2 is deprecated."
276 CMD_MDADM=`parse_optbool "$*"`
277 print_info 2 "CMD_MDADM: $CMD_MDADM"
280 CMD_MDADM_CONFIG=`parse_opt "$*"`
281 print_info 2 "CMD_MDADM_CONFIG: $CMD_MDADM_CONFIG"
283 --busybox|--no-busybox)
284 CMD_BUSYBOX=`parse_optbool "$*"`
285 print_info 2 "CMD_BUSYBOX: ${CMD_BUSYBOX}"
287 --unionfs|--no-unionfs)
288 CMD_UNIONFS=`parse_optbool "$*"`
289 print_info 2 "CMD_UNIONFS: ${CMD_UNIONFS}"
291 --netboot|--no-netboot)
292 CMD_NETBOOT=`parse_optbool "$*"`
293 print_info 2 "CMD_NETBOOT: ${CMD_NETBOOT}"
296 CMD_REAL_ROOT=`parse_opt "$*"`
297 print_info 2 "CMD_REAL_ROOT: ${CMD_REAL_ROOT}"
299 --dmraid|--no-dmraid)
300 CMD_DMRAID=`parse_optbool "$*"`
301 if [ "$CMD_DMRAID" = "1" -a ! -e /usr/include/libdevmapper.h ]
303 echo 'Error: --dmraid requires LVM2 to be installed'
304 echo ' on the host system; try "emerge lvm2".'
307 print_info 2 "CMD_DMRAID: ${CMD_DMRAID}"
310 CMD_ZFS=`parse_optbool "$*"`
311 print_info 2 "CMD_ZFS: ${CMD_ZFS}"
313 --multipath|--no-multipath)
314 CMD_MULTIPATH=`parse_optbool "$*"`
315 if [ "$CMD_MULTIPATH" = "1" -a ! -e /usr/include/libdevmapper.h ]
317 echo 'Error: --multipath requires LVM2 to be installed'
318 echo ' on the host;system; try "emerge lvm2".'
321 print_info 2 "CMD_MULTIPATH: ${CMD_MULTIPATH}"
324 CMD_BOOTLOADER=`parse_opt "$*"`
325 print_info 2 "CMD_BOOTLOADER: ${CMD_BOOTLOADER}"
328 CMD_ISCSI=`parse_optbool "$*"`
329 print_info 2 "CMD_ISCSI: ${CMD_ISCSI}"
332 CMD_LOGLEVEL=`parse_opt "$*"`
333 LOGLEVEL="${CMD_LOGLEVEL}"
334 print_info 2 "CMD_LOGLEVEL: ${CMD_LOGLEVEL}"
337 TERM_LINES=`stty -a | head -n 1 | cut -d\ -f5 | cut -d\; -f1`
338 TERM_COLUMNS=`stty -a | head -n 1 | cut -d\ -f7 | cut -d\; -f1`
339 if [[ TERM_LINES -lt 19 || TERM_COLUMNS -lt 80 ]]
341 echo "Error: You need a terminal with at least 80 columns"
342 echo " and 19 lines for --menuconfig; try --no-menuconfig..."
346 print_info 2 "CMD_MENUCONFIG: ${CMD_MENUCONFIG}"
350 print_info 2 "CMD_MENUCONFIG: ${CMD_MENUCONFIG}"
352 --gconfig|--no-gconfig)
353 CMD_GCONFIG=`parse_optbool "$*"`
354 print_info 2 "CMD_GCONFIG: ${CMD_GCONFIG}"
356 --xconfig|--no-xconfig)
357 CMD_XCONFIG=`parse_optbool "$*"`
358 print_info 2 "CMD_XCONFIG: ${CMD_XCONFIG}"
360 --save-config|--no-save-config)
361 CMD_SAVE_CONFIG=`parse_optbool "$*"`
362 print_info 2 "CMD_SAVE_CONFIG: ${CMD_SAVE_CONFIG}"
364 --mrproper|--no-mrproper)
365 CMD_MRPROPER=`parse_optbool "$*"`
366 print_info 2 "CMD_MRPROPER: ${CMD_MRPROPER}"
369 CMD_CLEAN=`parse_optbool "$*"`
370 print_info 2 "CMD_CLEAN: ${CMD_CLEAN}"
372 --oldconfig|--no-oldconfig)
373 CMD_OLDCONFIG=`parse_optbool "$*"`
374 [ "$CMD_OLDCONFIG" = "1" ] && CMD_CLEAN=0
375 print_info 2 "CMD_CLEAN: ${CMD_CLEAN}"
376 print_info 2 "CMD_OLDCONFIG: ${CMD_OLDCONFIG}"
380 SPLASH_THEME=`parse_opt "$*"`
381 print_info 2 "CMD_SPLASH: ${CMD_SPLASH}"
382 print_info 2 "SPLASH_THEME: ${SPLASH_THEME}"
384 print_warning 1 "Please use --splash, as --gensplash is deprecated."
386 --gensplash|--no-gensplash)
387 CMD_SPLASH=`parse_optbool "$*"`
388 SPLASH_THEME='default'
389 print_info 2 "CMD_SPLASH: ${CMD_SPLASH}"
391 print_warning 1 "Please use --splash, as --gensplash is deprecated."
395 SPLASH_THEME=`parse_opt "$*"`
396 print_info 2 "CMD_SPLASH: ${CMD_SPLASH}"
397 print_info 2 "SPLASH_THEME: ${SPLASH_THEME}"
399 --splash|--no-splash)
400 CMD_SPLASH=`parse_optbool "$*"`
401 SPLASH_THEME='default'
402 print_info 2 "CMD_SPLASH: ${CMD_SPLASH}"
405 SPLASH_RES=`parse_opt "$*"`
406 print_info 2 "SPLASH_RES: ${SPLASH_RES}"
408 print_warning 1 "Please use --splash-res, as --gensplash-res is deprecated."
411 SPLASH_RES=`parse_opt "$*"`
412 print_info 2 "SPLASH_RES: ${SPLASH_RES}"
414 --install|--no-install)
415 CMD_INSTALL=`parse_optbool "$*"`
416 print_info 2 "CMD_INSTALL: ${CMD_INSTALL}"
418 --ramdisk-modules|--no-ramdisk-modules)
419 CMD_RAMDISKMODULES=`parse_optbool "$*"`
420 print_info 2 "CMD_RAMDISKMODULES: ${CMD_RAMDISKMODULES}"
422 --all-ramdisk-modules|--no-all-ramdisk-modules)
423 CMD_ALLRAMDISKMODULES=`parse_optbool "$*"`
424 print_info 2 "CMD_ALLRAMDISKMODULES: ${CMD_ALLRAMDISKMODULES}"
427 CMD_CALLBACK=`parse_opt "$*"`
428 print_info 2 "CMD_CALLBACK: ${CMD_CALLBACK}/$*"
430 --static|--no-static)
431 CMD_STATIC=`parse_optbool "$*"`
432 print_info 2 "CMD_STATIC: ${CMD_STATIC}"
435 TMPDIR=`parse_opt "$*"`
436 TEMP=${TMPDIR}/$RANDOM.$RANDOM.$RANDOM.$$
437 print_info 2 "TMPDIR: ${TMPDIR}"
438 print_info 2 "TEMP: ${TEMP}"
440 --postclear|--no-postclear)
441 CMD_POSTCLEAR=`parse_optbool "$*"`
442 print_info 2 "CMD_POSTCLEAR: ${CMD_POSTCLEAR}"
445 CMD_ARCHOVERRIDE=`parse_opt "$*"`
446 print_info 2 "CMD_ARCHOVERRIDE: ${CMD_ARCHOVERRIDE}"
449 USECOLOR=`parse_optbool "$*"`
450 print_info 2 "USECOLOR: ${USECOLOR}"
454 CMD_LOGFILE=`parse_opt "$*"`
455 LOGFILE=`parse_opt "$*"`
456 print_info 2 "CMD_LOGFILE: ${CMD_LOGFILE}"
457 print_info 2 "LOGFILE: ${CMD_LOGFILE}"
460 CMD_KERNEL_DIR=`parse_opt "$*"`
461 print_info 2 "CMD_KERNEL_DIR: ${CMD_KERNEL_DIR}"
464 CMD_KERNEL_CONFIG=`parse_opt "$*"`
465 print_info 2 "CMD_KERNEL_CONFIG: ${CMD_KERNEL_CONFIG}"
468 CMD_INSTALL_MOD_PATH=`parse_opt "$*"`
469 print_info 2 "CMD_INSTALL_MOD_PATH: ${CMD_INSTALL_MOD_PATH}"
472 CACHE_DIR=`parse_opt "$*"`
473 print_info 2 "CACHE_DIR: ${CACHE_DIR}"
476 CMD_MINKERNPACKAGE=`parse_opt "$*"`
477 print_info 2 "MINKERNPACKAGE: ${CMD_MINKERNPACKAGE}"
480 CMD_MODULESPACKAGE=`parse_opt "$*"`
481 print_info 2 "MODULESPACKAGE: ${CMD_MODULESPACKAGE}"
484 CMD_KERNCACHE=`parse_opt "$*"`
485 print_info 2 "KERNCACHE: ${CMD_KERNCACHE}"
488 CMD_KERNNAME=`parse_opt "$*"`
489 print_info 2 "KERNNAME: ${CMD_KERNNAME}"
491 --symlink|--no-symlink)
492 CMD_SYMLINK=`parse_optbool "$*"`
493 print_info 2 "CMD_SYMLINK: ${CMD_SYMLINK}"
495 --kernel-sources|--no-kernel-sources)
496 CMD_KERNEL_SOURCES=`parse_optbool "$*"`
497 print_info 2 "CMD_KERNEL_SOURCES: ${CMD_KERNEL_SOURCES}"
499 --initramfs-overlay=*)
500 CMD_INITRAMFS_OVERLAY=`parse_opt "$*"`
501 print_info 2 "CMD_INITRAMFS_OVERLAY: ${CMD_INITRAMFS_OVERLAY}"
504 CMD_LINUXRC=`parse_opt "$*"`
505 print_info 2 "CMD_LINUXRC: ${CMD_LINUXRC}"
508 CMD_BUSYBOX_CONFIG=`parse_opt "$*"`
509 print_info 2 "CMD_BUSYBOX_CONFIG: ${CMD_BUSYBOX_CONFIG}"
512 KERNEL_MAKE_DIRECTIVE_2='zImage.initrd'
513 KERNEL_BINARY_2='arch/powerpc/boot/zImage.initrd'
515 # ENABLE_PEGASOS_HACKS="yes"
516 # print_info 2 "ENABLE_PEGASOS_HACKS: ${ENABLE_PEGASOS_HACKS}"
518 --disklabel|--no-disklabel)
519 CMD_DISKLABEL=`parse_optbool "$*"`
520 print_info 2 "CMD_DISKLABEL: ${CMD_DISKLABEL}"
523 CMD_LUKS=`parse_optbool "$*"`
524 print_info 2 "CMD_LUKS: ${CMD_LUKS}"
527 CMD_GPG=`parse_optbool "$*"`
528 print_info 2 "CMD_GPG: ${CMD_GPG}"
530 --firmware|--no-firmware)
531 CMD_FIRMWARE=`parse_optbool "$*"`
532 print_info 2 "CMD_FIRMWARE: ${CMD_FIRMWARE}"
535 CMD_FIRMWARE_DIR=`parse_opt "$*"`
537 print_info 2 "CMD_FIRMWARE_DIR: ${CMD_FIRMWARE_DIR}"
540 CMD_FIRMWARE_FILES=`parse_opt "$*"`
542 print_info 2 "CMD_FIRMWARE_FILES: ${CMD_FIRMWARE_FILES}"
544 --integrated-initramfs|--no-integrated-initramfs)
545 CMD_INTEGRATED_INITRAMFS=`parse_optbool "$*"`
546 print_info 2 "CMD_INTEGRATED_INITRAMFS=${CMD_INTEGRATED_INITRAMFS}"
548 --compress-initramfs|--no-compress-initramfs|--compress-initrd|--no-compress-initrd)
549 CMD_COMPRESS_INITRD=`parse_optbool "$*"`
550 print_info 2 "CMD_COMPRESS_INITRD=${CMD_COMPRESS_INITRD}"
552 --compress-initramfs-type=*|--compress-initrd-type=*)
553 COMPRESS_INITRD_TYPE=`parse_opt "$*"`
554 print_info 2 "CMD_COMPRESS_INITRD_TYPE: ${CMD_LINUXRC}"
557 print_info 2 "CMD_GK_CONFIG: `parse_opt "$*"`"
577 print_info 2 "CMD_RAMDISKMODULES: ${CMD_RAMDISKMODULES}"
588 echo "Error: Unknown option '$*'!"