Add --busybox-config= commandline option

cleanup-cruft
Andrew Gaffney 16 years ago
parent 8a5f66f65a
commit bee96914eb

@ -2,6 +2,10 @@
# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
# Distributed under the GPL v2 # Distributed under the GPL v2
24 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> gen_cmdline.sh,
gen_determineargs.sh:
Add --busybox-config= commandline option
24 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> netboot/linuxrc.x: 24 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> netboot/linuxrc.x:
Revert to just running /bin/bash on /dev/console for serial. We still Revert to just running /bin/bash on /dev/console for serial. We still
start getty on tty2-6 start getty on tty2-6

@ -86,6 +86,7 @@ longusage() {
echo " --slowusb Enables extra pauses for slow USB CD boots" echo " --slowusb Enables extra pauses for slow USB CD boots"
echo " --bootloader=grub Add new kernel to GRUB configuration" echo " --bootloader=grub Add new kernel to GRUB configuration"
echo " --linuxrc=<file> Specifies a user created linuxrc" echo " --linuxrc=<file> Specifies a user created linuxrc"
echo " --busybox-config=<file> Specifies a user created busybox config"
echo " --disklabel Include disk label and uuid support in your" echo " --disklabel Include disk label and uuid support in your"
echo " ramdisk" echo " ramdisk"
echo " --luks Include LUKS support" echo " --luks Include LUKS support"
@ -483,6 +484,10 @@ parse_cmdline() {
CMD_LINUXRC=`parse_opt "$*"` CMD_LINUXRC=`parse_opt "$*"`
print_info 2 "CMD_LINUXRC: ${CMD_LINUXRC}" print_info 2 "CMD_LINUXRC: ${CMD_LINUXRC}"
;; ;;
--busybox-config=*)
CMD_BUSYBOX_CONFIG=`parse_opt "$*"`
print_info 2 "CMD_BUSYBOX_CONFIG: ${CMD_BUSYBOX_CONFIG}"
;;
--genzimage) --genzimage)
KERNEL_MAKE_DIRECTIVE_2='zImage.initrd' KERNEL_MAKE_DIRECTIVE_2='zImage.initrd'
KERNEL_BINARY_2='arch/powerpc/boot/zImage.initrd' KERNEL_BINARY_2='arch/powerpc/boot/zImage.initrd'

@ -116,6 +116,7 @@ determine_real_args() {
set_config_with_override 1 GENZIMAGE CMD_GENZIMAGE set_config_with_override 1 GENZIMAGE CMD_GENZIMAGE
set_config_with_override 1 KEYMAP CMD_KEYMAP "yes" set_config_with_override 1 KEYMAP CMD_KEYMAP "yes"
set_config_with_override 1 DOKEYMAPAUTO CMD_DOKEYMAPAUTO set_config_with_override 1 DOKEYMAPAUTO CMD_DOKEYMAPAUTO
set_config_with_override 2 BUSYBOX_CONFIG CMD_BUSYBOX_CONFIG
BOOTDIR=`arch_replace "${BOOTDIR}"` BOOTDIR=`arch_replace "${BOOTDIR}"`
BOOTDIR=${BOOTDIR%/} # Remove any trailing slash BOOTDIR=${BOOTDIR%/} # Remove any trailing slash

Loading…
Cancel
Save