Lines 14-19
longusage() {
Link Here
|
14 |
echo |
14 |
echo |
15 |
echo "Available Options: " |
15 |
echo "Available Options: " |
16 |
echo " Configuration settings" |
16 |
echo " Configuration settings" |
|
|
17 |
echo " --local Local mode; source modules from current directory" |
17 |
echo " --config=<file> genkernel configuration file to use" |
18 |
echo " --config=<file> genkernel configuration file to use" |
18 |
echo " Debug settings" |
19 |
echo " Debug settings" |
19 |
echo " --loglevel=<0-5> Debug Verbosity Level" |
20 |
echo " --loglevel=<0-5> Debug Verbosity Level" |
Lines 33-47
longusage() {
Link Here
|
33 |
echo " --no-clean Do not run make clean before compilation" |
34 |
echo " --no-clean Do not run make clean before compilation" |
34 |
echo " --no-mrproper Do not run make mrproper before compilation" |
35 |
echo " --no-mrproper Do not run make mrproper before compilation" |
35 |
echo " --oldconfig Implies --no-clean and runs a 'make oldconfig'" |
36 |
echo " --oldconfig Implies --no-clean and runs a 'make oldconfig'" |
36 |
echo " --gensplash Install framebuffer splash support into initramfs" |
|
|
37 |
echo " --splash Install framebuffer splash support into initramfs" |
38 |
echo " --no-splash Do not install framebuffer splash" |
39 |
echo " --install Install the kernel after building" |
37 |
echo " --install Install the kernel after building" |
40 |
echo " --no-install Do not install the kernel after building" |
38 |
echo " --no-install Do not install the kernel after building" |
41 |
echo " --symlink Manage symlinks in /boot for installed images" |
39 |
echo " --symlink Manage symlinks in /boot for installed images" |
42 |
echo " --no-symlink Do not manage symlinks" |
40 |
echo " --no-symlink Do not manage symlinks" |
43 |
echo " --no-ramdisk-modules Don't copy any modules to the ramdisk" |
41 |
echo " --no-ramdisk-modules Don't copy any modules to the ramdisk" |
44 |
echo " --all-ramdisk-modules Copy all kernel modules to the ramdisk" |
|
|
45 |
echo " --callback=<...> Run the specified arguments after the" |
42 |
echo " --callback=<...> Run the specified arguments after the" |
46 |
echo " kernel and modules have been compiled" |
43 |
echo " kernel and modules have been compiled" |
47 |
echo " --static Build a static (monolithic kernel)." |
44 |
echo " --static Build a static (monolithic kernel)." |
Lines 65-103
longusage() {
Link Here
|
65 |
echo " autodetect." |
62 |
echo " autodetect." |
66 |
echo " --makeopts=<makeopts> Make options such as -j2, etc..." |
63 |
echo " --makeopts=<makeopts> Make options such as -j2, etc..." |
67 |
echo " --mountboot Mount BOOTDIR automatically if mountable" |
64 |
echo " --mountboot Mount BOOTDIR automatically if mountable" |
68 |
echo " --no-mountboot Don't mount BOOTDIR automatically" |
65 |
echo " --no-mountboot Don't mount BOOTDIR automatically" |
69 |
echo " --bootdir=<dir> Set the location of the boot-directory, default is /boot" |
66 |
echo " --bootdir=<dir> Set the location of the boot-directory, default is /boot" |
70 |
echo " Initialization" |
67 |
echo " Initialization" |
71 |
echo " --gensplash=<theme> Enable framebuffer splash using <theme>" |
68 |
echo " --bootloader=grub Add new kernel to GRUB configuration" |
72 |
echo " --gensplash-res=<res> Select splash theme resolutions to install" |
69 |
echo " --dmraid Include DMRAID support" |
73 |
echo " --splash=<theme> Enable framebuffer splash using <theme>" |
70 |
echo " --iscsi Include iSCSI support" |
74 |
echo " --splash-res=<res> Select splash theme resolutions to install" |
71 |
echo " --luks Include LUKS support" |
|
|
72 |
echo " --> 'emerge cryptsetup-luks' with USE=-dynamic" |
73 |
echo " --lvm Include LVM support" |
74 |
echo " --mdadm Copy /etc/mdadm.conf to initramfs" |
75 |
echo " (obsolete with Dracut; use --mdraid)" |
76 |
echo " --multipath Include Multipath support" |
77 |
echo " Internal engine" |
78 |
echo " --all-ramdisk-modules Copy all kernel modules to the ramdisk" |
75 |
echo " --do-keymap-auto Forces keymap selection at boot" |
79 |
echo " --do-keymap-auto Forces keymap selection at boot" |
76 |
echo " --no-keymap Disables keymap selection support" |
80 |
echo " --no-keymap Disables keymap selection support" |
|
|
81 |
echo " --splash Enable framebuffer splash using default theme" |
82 |
echo " --splash=<theme> Enable framebuffer splash using <theme>" |
83 |
echo " --splash-res=<res> Select splash theme resolutions to install" |
84 |
echo " --no-splash Do not install framebuffer splash" |
77 |
echo " --evms Include EVMS support" |
85 |
echo " --evms Include EVMS support" |
78 |
echo " --> 'emerge evms' in the host operating system" |
86 |
echo " --> 'emerge evms' in the host operating system" |
79 |
echo " first" |
87 |
echo " first" |
80 |
echo " --evms2 Include EVMS support" |
|
|
81 |
echo " --> 'emerge evms' in the host operating system" |
82 |
echo " first" |
83 |
echo " --lvm Include LVM support" |
84 |
echo " --lvm2 Include LVM support" |
85 |
echo " --mdadm Copy /etc/mdadm.conf to initramfs" |
86 |
echo " --dmraid Include DMRAID support" |
87 |
echo " --multipath Include Multipath support" |
88 |
echo " --iscsi Include iSCSI support" |
89 |
echo " --slowusb Enables extra pauses for slow USB CD boots" |
88 |
echo " --slowusb Enables extra pauses for slow USB CD boots" |
90 |
echo " --bootloader=grub Add new kernel to GRUB configuration" |
89 |
echo " --no-busybox Do not include busybox in the initramfs." |
|
|
90 |
echo " --unionfs Include EXPERIMENTAL support for unionfs" |
91 |
echo " --netboot Create a self-contained env in the initramfs" |
92 |
echo " --real-root=<foo> Specify a default for real_root=" |
91 |
echo " --linuxrc=<file> Specifies a user created linuxrc" |
93 |
echo " --linuxrc=<file> Specifies a user created linuxrc" |
92 |
echo " --busybox-config=<file> Specifies a user created busybox config" |
94 |
echo " --busybox-config=<file> Specifies a user created busybox config" |
93 |
echo " --disklabel Include disk label and uuid support in your" |
95 |
echo " --disklabel Include disk label and uuid support in your" |
94 |
echo " ramdisk" |
96 |
echo " ramdisk" |
95 |
echo " --luks Include LUKS support" |
97 |
echo " Dracut engine" |
96 |
echo " --> 'emerge cryptsetup-luks' with USE=-dynamic" |
98 |
echo " --no-dracut Build system using old internal engine" |
97 |
echo " --no-busybox Do not include busybox in the initramfs." |
99 |
echo " (will be removed in the future)" |
98 |
echo " --unionfs Include support for unionfs" |
100 |
echo " --dracut-dir=<dir> Directory of Dracut sources; if given Dracut" |
99 |
echo " --netboot Create a self-contained env in the initramfs" |
101 |
echo " is run in local mode (see description of '-l'" |
100 |
echo " --real-root=<foo> Specify a default for real_root=" |
102 |
echo " in 'man 8 dracut'); script changes current" |
|
|
103 |
echo " directory to <dir>, so don't use relative" |
104 |
echo " paths then" |
105 |
echo " --auto Rely on Dracut system check instead of" |
106 |
echo " specifying modules by hand" |
107 |
echo " --generic Build generic initramfs instead of" |
108 |
echo " default hostonly. Notice that generic => huge" |
109 |
echo " --mdraid Include RAID support via mdadm" |
110 |
echo " --gensplash Enable framebuffer splash (splashutils);" |
111 |
echo " set up in /etc/conf.d/splash" |
112 |
echo " --gensplash=<theme>[:<res>]" |
113 |
echo " Enable framebuffer splash using <theme>" |
114 |
echo " and optionally select splash theme resolutions" |
115 |
echo " to install; <res> is comma-separated list of" |
116 |
echo " resolutions" |
117 |
echo " --no-gensplash Do not install framebuffer splash" |
118 |
echo " --gensplash-no8bpp Ignore 8bpp gensplash images (can save a lot of" |
119 |
echo " space)" |
120 |
echo " --plymouth Enable EXPERIMENTAL Plymouth splash; set up" |
121 |
echo " configuration in /etc/plymouth/plymouthd.conf" |
122 |
echo " requires >=plymouth-0.8.3 to be installed" |
123 |
echo " --add-modules=<modules list>" |
124 |
echo " Additional Dracut modules;" |
125 |
echo " see /usr/share/dracut/modules.d for possible" |
126 |
echo " values; separate modules by space, e.g.:" |
127 |
echo " --add-modules=\"lvm crypt nfs\"" |
128 |
echo " --extra-options=<options>" |
129 |
echo " Pass extra options to dracut;" |
130 |
echo " see 'man 8 dracut'" |
101 |
echo " Internals" |
131 |
echo " Internals" |
102 |
echo " --arch-override=<arch> Force to arch instead of autodetect" |
132 |
echo " --arch-override=<arch> Force to arch instead of autodetect" |
103 |
echo " --cachedir=<dir> Override the default cache location" |
133 |
echo " --cachedir=<dir> Override the default cache location" |
Lines 152-157
usage() {
Link Here
|
152 |
} |
182 |
} |
153 |
|
183 |
|
154 |
parse_cmdline() { |
184 |
parse_cmdline() { |
|
|
185 |
local tmp |
186 |
|
155 |
case "$*" in |
187 |
case "$*" in |
156 |
--kernel-cc=*) |
188 |
--kernel-cc=*) |
157 |
CMD_KERNEL_CC=`parse_opt "$*"` |
189 |
CMD_KERNEL_CC=`parse_opt "$*"` |
Lines 215-239
parse_cmdline() {
Link Here
|
215 |
CMD_BOOTDIR=`parse_opt "$*"` |
247 |
CMD_BOOTDIR=`parse_opt "$*"` |
216 |
print_info 2 "CMD_BOOTDIR: ${CMD_BOOTDIR}" |
248 |
print_info 2 "CMD_BOOTDIR: ${CMD_BOOTDIR}" |
217 |
;; |
249 |
;; |
218 |
--do-keymap-auto) |
|
|
219 |
CMD_DOKEYMAPAUTO=1 |
220 |
CMD_KEYMAP=1 |
221 |
print_info 2 "CMD_DOKEYMAPAUTO: ${CMD_DOKEYMAPAUTO}" |
222 |
;; |
223 |
--no-keymap) |
224 |
CMD_KEYMAP=0 |
225 |
print_info 2 "CMD_KEYMAP: ${CMD_KEYMAP}" |
226 |
;; |
227 |
--evms) |
228 |
CMD_EVMS=1 |
229 |
print_info 2 "CMD_EVMS: ${CMD_EVMS}" |
230 |
;; |
231 |
--evms2) |
232 |
CMD_EVMS=1 |
233 |
print_info 2 "CMD_EVMS: ${CMD_EVMS}" |
234 |
echo |
235 |
print_warning 1 "Please use --evms, as --evms2 is deprecated." |
236 |
;; |
237 |
--lvm) |
250 |
--lvm) |
238 |
CMD_LVM=1 |
251 |
CMD_LVM=1 |
239 |
print_info 2 "CMD_LVM: ${CMD_LVM}" |
252 |
print_info 2 "CMD_LVM: ${CMD_LVM}" |
Lines 245-272
parse_cmdline() {
Link Here
|
245 |
print_warning 1 "Please use --lvm, as --lvm2 is deprecated." |
258 |
print_warning 1 "Please use --lvm, as --lvm2 is deprecated." |
246 |
;; |
259 |
;; |
247 |
--mdadm) |
260 |
--mdadm) |
248 |
CMD_MDADM=1 |
261 |
if ! [[ "${CMD_DRACUT}" = '0' ]] && ! [[ $* =~ --no-dracut ]]; then |
249 |
print_info 2 "CMD_MDADM: $CMD_MDADM" |
262 |
CMD_MDRAID=1 |
250 |
;; |
263 |
print_info 2 "CMD_MDRAID: $CMD_MDRAID" |
251 |
--no-busybox) |
264 |
echo |
252 |
CMD_BUSYBOX=0 |
265 |
print_warning 1 "Please use --mdraid, as --mdadm is obsolete." |
253 |
print_info 2 "CMD_BUSYBOX: ${CMD_BUSYBOX}" |
266 |
else |
254 |
;; |
267 |
CMD_MDADM=1 |
255 |
--unionfs) |
268 |
print_info 2 "CMD_MDADM: $CMD_MDADM" |
256 |
CMD_UNIONFS=1 |
269 |
fi |
257 |
print_info 2 "CMD_UNIONFS: ${CMD_UNIONFS}" |
|
|
258 |
;; |
259 |
--netboot) |
260 |
CMD_NETBOOT=1 |
261 |
print_info 2 "CMD_NETBOOT: ${CMD_NETBOOT}" |
262 |
;; |
263 |
--real-root=*) |
264 |
CMD_REAL_ROOT=`parse_opt "$*"` |
265 |
print_info 2 "CMD_REAL_ROOT: ${CMD_REAL_ROOT}" |
266 |
;; |
267 |
--slowusb) |
268 |
CMD_SLOWUSB=1 |
269 |
print_info 2 "CMD_SLOWUSB: ${CMD_SLOWUSB}" |
270 |
;; |
270 |
;; |
271 |
--dmraid) |
271 |
--dmraid) |
272 |
if [ ! -e /usr/include/libdevmapper.h ] |
272 |
if [ ! -e /usr/include/libdevmapper.h ] |
Lines 355-400
parse_cmdline() {
Link Here
|
355 |
print_info 2 "CMD_CLEAN: ${CMD_CLEAN}" |
355 |
print_info 2 "CMD_CLEAN: ${CMD_CLEAN}" |
356 |
print_info 2 "CMD_OLDCONFIG: ${CMD_OLDCONFIG}" |
356 |
print_info 2 "CMD_OLDCONFIG: ${CMD_OLDCONFIG}" |
357 |
;; |
357 |
;; |
358 |
--gensplash=*) |
|
|
359 |
CMD_SPLASH=1 |
360 |
SPLASH_THEME=`parse_opt "$*"` |
361 |
print_info 2 "CMD_SPLASH: ${CMD_SPLASH}" |
362 |
print_info 2 "SPLASH_THEME: ${SPLASH_THEME}" |
363 |
echo |
364 |
print_warning 1 "Please use --splash, as --gensplash is deprecated." |
365 |
;; |
366 |
--gensplash) |
367 |
CMD_SPLASH=1 |
368 |
SPLASH_THEME='default' |
369 |
print_info 2 "CMD_SPLASH: ${CMD_SPLASH}" |
370 |
echo |
371 |
print_warning 1 "Please use --splash, as --gensplash is deprecated." |
372 |
;; |
373 |
--splash=*) |
374 |
CMD_SPLASH=1 |
375 |
SPLASH_THEME=`parse_opt "$*"` |
376 |
print_info 2 "CMD_SPLASH: ${CMD_SPLASH}" |
377 |
print_info 2 "SPLASH_THEME: ${SPLASH_THEME}" |
378 |
;; |
379 |
--splash) |
380 |
CMD_SPLASH=1 |
381 |
SPLASH_THEME='default' |
382 |
print_info 2 "CMD_SPLASH: ${CMD_SPLASH}" |
383 |
;; |
384 |
--no-splash) |
385 |
CMD_SPLASH=0 |
386 |
print_info 2 "CMD_SPLASH: ${CMD_SPLASH}" |
387 |
;; |
388 |
--gensplash-res=*) |
389 |
SPLASH_RES=`parse_opt "$*"` |
390 |
print_info 2 "SPLASH_RES: ${SPLASH_RES}" |
391 |
echo |
392 |
print_warning 1 "Please use --splash-res, as --gensplash-res is deprecated." |
393 |
;; |
394 |
--splash-res=*) |
395 |
SPLASH_RES=`parse_opt "$*"` |
396 |
print_info 2 "SPLASH_RES: ${SPLASH_RES}" |
397 |
;; |
398 |
--install) |
358 |
--install) |
399 |
CMD_NOINSTALL=0 |
359 |
CMD_NOINSTALL=0 |
400 |
print_info 2 "CMD_NOINSTALL: ${CMD_NOINSTALL}" |
360 |
print_info 2 "CMD_NOINSTALL: ${CMD_NOINSTALL}" |
Lines 407-416
parse_cmdline() {
Link Here
|
407 |
CMD_NORAMDISKMODULES=1 |
367 |
CMD_NORAMDISKMODULES=1 |
408 |
print_info 2 "CMD_NORAMDISKMODULES: ${CMD_NORAMDISKMODULES}" |
368 |
print_info 2 "CMD_NORAMDISKMODULES: ${CMD_NORAMDISKMODULES}" |
409 |
;; |
369 |
;; |
410 |
--all-ramdisk-modules) |
|
|
411 |
CMD_ALLRAMDISKMODULES=1 |
412 |
print_info 2 "CMD_ALLRAMDISKMODULES: ${CMD_ALLRAMDISKMODULES}" |
413 |
;; |
414 |
--callback=*) |
370 |
--callback=*) |
415 |
CMD_CALLBACK=`parse_opt "$*"` |
371 |
CMD_CALLBACK=`parse_opt "$*"` |
416 |
print_info 2 "CMD_CALLBACK: ${CMD_CALLBACK}/$*" |
372 |
print_info 2 "CMD_CALLBACK: ${CMD_CALLBACK}/$*" |
Lines 424-434
parse_cmdline() {
Link Here
|
424 |
TEMP=${TMPDIR}/$RANDOM.$RANDOM.$RANDOM.$$ |
380 |
TEMP=${TMPDIR}/$RANDOM.$RANDOM.$RANDOM.$$ |
425 |
print_info 2 "TMPDIR: ${TMPDIR}" |
381 |
print_info 2 "TMPDIR: ${TMPDIR}" |
426 |
print_info 2 "TEMP: ${TEMP}" |
382 |
print_info 2 "TEMP: ${TEMP}" |
427 |
;; |
383 |
;; |
428 |
--postclear) |
384 |
--postclear) |
429 |
CMD_POSTCLEAR=1 |
385 |
CMD_POSTCLEAR=1 |
430 |
print_info 2 "CMD_POSTCLEAR: ${CMD_POSTCLEAR}" |
386 |
print_info 2 "CMD_POSTCLEAR: ${CMD_POSTCLEAR}" |
431 |
;; |
387 |
;; |
432 |
--arch-override=*) |
388 |
--arch-override=*) |
433 |
CMD_ARCHOVERRIDE=`parse_opt "$*"` |
389 |
CMD_ARCHOVERRIDE=`parse_opt "$*"` |
434 |
print_info 2 "CMD_ARCHOVERRIDE: ${CMD_ARCHOVERRIDE}" |
390 |
print_info 2 "CMD_ARCHOVERRIDE: ${CMD_ARCHOVERRIDE}" |
Lines 497-510
parse_cmdline() {
Link Here
|
497 |
CMD_INITRAMFS_OVERLAY=`parse_opt "$*"` |
453 |
CMD_INITRAMFS_OVERLAY=`parse_opt "$*"` |
498 |
print_info 2 "CMD_INITRAMFS_OVERLAY: ${CMD_INITRAMFS_OVERLAY}" |
454 |
print_info 2 "CMD_INITRAMFS_OVERLAY: ${CMD_INITRAMFS_OVERLAY}" |
499 |
;; |
455 |
;; |
500 |
--linuxrc=*) |
|
|
501 |
CMD_LINUXRC=`parse_opt "$*"` |
502 |
print_info 2 "CMD_LINUXRC: ${CMD_LINUXRC}" |
503 |
;; |
504 |
--busybox-config=*) |
505 |
CMD_BUSYBOX_CONFIG=`parse_opt "$*"` |
506 |
print_info 2 "CMD_BUSYBOX_CONFIG: ${CMD_BUSYBOX_CONFIG}" |
507 |
;; |
508 |
--genzimage) |
456 |
--genzimage) |
509 |
KERNEL_MAKE_DIRECTIVE_2='zImage.initrd' |
457 |
KERNEL_MAKE_DIRECTIVE_2='zImage.initrd' |
510 |
KERNEL_BINARY_2='arch/powerpc/boot/zImage.initrd' |
458 |
KERNEL_BINARY_2='arch/powerpc/boot/zImage.initrd' |
Lines 512-524
parse_cmdline() {
Link Here
|
512 |
# ENABLE_PEGASOS_HACKS="yes" |
460 |
# ENABLE_PEGASOS_HACKS="yes" |
513 |
# print_info 2 "ENABLE_PEGASOS_HACKS: ${ENABLE_PEGASOS_HACKS}" |
461 |
# print_info 2 "ENABLE_PEGASOS_HACKS: ${ENABLE_PEGASOS_HACKS}" |
514 |
;; |
462 |
;; |
515 |
--disklabel) |
|
|
516 |
CMD_DISKLABEL=1 |
517 |
print_info 2 "CMD_DISKLABEL: ${CMD_DISKLABEL}" |
518 |
;; |
519 |
--luks) |
463 |
--luks) |
520 |
CMD_LUKS=1 |
464 |
if ! [[ "${CMD_DRACUT}" = '0' ]] && ! [[ $* =~ --no-dracut ]]; then |
521 |
print_info 2 "CMD_LUKS: ${CMD_LUKS}" |
465 |
CMD_CRYPT=1 |
|
|
466 |
print_info 2 "CMD_CRYPT: ${CMD_CRYPT}" |
467 |
echo |
468 |
print_warning 1 "Please use --crypt, as --luks is obsolete." |
469 |
else |
470 |
CMD_LUKS=1 |
471 |
print_info 2 "CMD_LUKS: ${CMD_LUKS}" |
472 |
fi |
522 |
;; |
473 |
;; |
523 |
--firmware) |
474 |
--firmware) |
524 |
CMD_FIRMWARE=1 |
475 |
CMD_FIRMWARE=1 |
Lines 541-546
parse_cmdline() {
Link Here
|
541 |
--config=*) |
492 |
--config=*) |
542 |
print_info 2 "CMD_GK_CONFIG: `parse_opt "$*"`" |
493 |
print_info 2 "CMD_GK_CONFIG: `parse_opt "$*"`" |
543 |
;; |
494 |
;; |
|
|
495 |
--local) |
496 |
;; |
497 |
|
498 |
# Internal engine |
499 |
--no-busybox) |
500 |
CMD_BUSYBOX=0 |
501 |
print_info 2 "CMD_BUSYBOX: ${CMD_BUSYBOX}" |
502 |
;; |
503 |
--unionfs) |
504 |
CMD_UNIONFS=1 |
505 |
print_info 2 "CMD_UNIONFS: ${CMD_UNIONFS}" |
506 |
;; |
507 |
--netboot) |
508 |
CMD_NETBOOT=1 |
509 |
print_info 2 "CMD_NETBOOT: ${CMD_NETBOOT}" |
510 |
;; |
511 |
--real-root=*) |
512 |
CMD_REAL_ROOT=`parse_opt "$*"` |
513 |
print_info 2 "CMD_REAL_ROOT: ${CMD_REAL_ROOT}" |
514 |
;; |
515 |
--slowusb) |
516 |
CMD_SLOWUSB=1 |
517 |
print_info 2 "CMD_SLOWUSB: ${CMD_SLOWUSB}" |
518 |
;; |
519 |
--do-keymap-auto) |
520 |
CMD_DOKEYMAPAUTO=1 |
521 |
CMD_KEYMAP=1 |
522 |
print_info 2 "CMD_DOKEYMAPAUTO: ${CMD_DOKEYMAPAUTO}" |
523 |
;; |
524 |
--no-keymap) |
525 |
CMD_KEYMAP=0 |
526 |
print_info 2 "CMD_KEYMAP: ${CMD_KEYMAP}" |
527 |
;; |
528 |
--evms) |
529 |
CMD_EVMS=1 |
530 |
print_info 2 "CMD_EVMS: ${CMD_EVMS}" |
531 |
;; |
532 |
--evms2) |
533 |
CMD_EVMS=1 |
534 |
print_info 2 "CMD_EVMS: ${CMD_EVMS}" |
535 |
echo |
536 |
print_warning 1 "Please use --evms, as --evms2 is deprecated." |
537 |
;; |
538 |
--disklabel) |
539 |
CMD_DISKLABEL=1 |
540 |
print_info 2 "CMD_DISKLABEL: ${CMD_DISKLABEL}" |
541 |
;; |
542 |
--all-ramdisk-modules) |
543 |
CMD_ALLRAMDISKMODULES=1 |
544 |
print_info 2 "CMD_ALLRAMDISKMODULES: ${CMD_ALLRAMDISKMODULES}" |
545 |
;; |
546 |
--linuxrc=*) |
547 |
CMD_LINUXRC=`parse_opt "$*"` |
548 |
print_info 2 "CMD_LINUXRC: ${CMD_LINUXRC}" |
549 |
;; |
550 |
--busybox-config=*) |
551 |
CMD_BUSYBOX_CONFIG=`parse_opt "$*"` |
552 |
print_info 2 "CMD_BUSYBOX_CONFIG: ${CMD_BUSYBOX_CONFIG}" |
553 |
;; |
554 |
--splash=*) |
555 |
CMD_SPLASH=1 |
556 |
SPLASH_THEME=`parse_opt "$*"` |
557 |
print_info 2 "CMD_SPLASH: ${CMD_SPLASH}" |
558 |
print_info 2 "SPLASH_THEME: ${SPLASH_THEME}" |
559 |
;; |
560 |
--splash) |
561 |
CMD_SPLASH=1 |
562 |
SPLASH_THEME='default' |
563 |
print_info 2 "CMD_SPLASH: ${CMD_SPLASH}" |
564 |
;; |
565 |
--no-splash) |
566 |
CMD_SPLASH=0 |
567 |
print_info 2 "CMD_SPLASH: ${CMD_SPLASH}" |
568 |
;; |
569 |
--splash-res=*) |
570 |
SPLASH_RES=`parse_opt "$*"` |
571 |
print_info 2 "SPLASH_RES: ${SPLASH_RES}" |
572 |
;; |
573 |
|
574 |
# Dracut engine |
575 |
--no-dracut) |
576 |
CMD_DRACUT=0 |
577 |
print_info 2 "CMD_DRACUT: ${CMD_DRACUT}" |
578 |
;; |
579 |
--dracut-dir=*) |
580 |
CMD_DRACUT_DIR=`parse_opt "$*"` |
581 |
print_info 2 "CMD_DRACUT_DIR: ${CMD_DRACUT_DIR}" |
582 |
;; |
583 |
--auto) |
584 |
CMD_AUTO=1 |
585 |
print_info 2 "CMD_AUTO: ${CMD_AUTO}" |
586 |
;; |
587 |
--generic) |
588 |
CMD_GENERIC=1 |
589 |
print_info 2 "CMD_GENERIC: ${CMD_GENERIC}" |
590 |
;; |
591 |
--mdraid) |
592 |
CMD_MDRAID=1 |
593 |
print_info 2 "CMD_MDRAID: ${CMD_MDRAID}" |
594 |
;; |
595 |
--crypt) |
596 |
CMD_CRYPT=1 |
597 |
print_info 2 "CMD_CRYPT: ${CMD_CRYPT}" |
598 |
;; |
599 |
--gensplash) |
600 |
CMD_GENSPLASH=1 |
601 |
print_info 2 "CMD_GENSPLASH: ${CMD_GENSPLASH}" |
602 |
;; |
603 |
--gensplash=*) |
604 |
CMD_GENSPLASH=1 |
605 |
tmp=`parse_opt "$*"` |
606 |
GENSPLASH_THEME=${tmp%%:*} |
607 |
print_info 2 "GENSPLASH: ${GENSPLASH}" |
608 |
print_info 2 "GENSPLASH_THEME: ${GENSPLASH_THEME}" |
609 |
[[ ${tmp} =~ : ]] && { |
610 |
GENSPLASH_RES=${tmp#*:} |
611 |
print_info 2 "GENSPLASH_RES: ${GENSPLASH_RES}" |
612 |
} |
613 |
;; |
614 |
--plymouth) |
615 |
CMD_PLYMOUTH=1 |
616 |
print_info 2 "CMD_PLYMOUTH: ${CMD_PLYMOUTH}" |
617 |
;; |
618 |
--add-modules=*) |
619 |
CMD_ADD_MODULES=`parse_opt "$*"` |
620 |
print_info 2 "CMD_ADD_MODULES: ${CMD_ADD_MODULES}" |
621 |
;; |
622 |
--extra-options=*) |
623 |
CMD_EXTRA_OPTIONS=`parse_opt "$*"` |
624 |
print_info 2 "CMD_EXTRA_OPTIONS: ${CMD_EXTRA_OPTIONS}" |
625 |
;; |
626 |
|
544 |
all) |
627 |
all) |
545 |
BUILD_KERNEL=1 |
628 |
BUILD_KERNEL=1 |
546 |
BUILD_MODULES=1 |
629 |
BUILD_MODULES=1 |