# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
# 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:
Revert to just running /bin/bash on /dev/console for serial. We still
start getty on tty2-6
echo " --slowusb Enables extra pauses for slow USB CD boots"
echo " --bootloader=grub Add new kernel to GRUB configuration"
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 " ramdisk"
echo " --luks Include LUKS support"
CMD_LINUXRC=`parse_opt "$*"`
print_info 2 "CMD_LINUXRC: ${CMD_LINUXRC}"
;;
+ --busybox-config=*)
+ CMD_BUSYBOX_CONFIG=`parse_opt "$*"`
+ print_info 2 "CMD_BUSYBOX_CONFIG: ${CMD_BUSYBOX_CONFIG}"
+ ;;
--genzimage)
KERNEL_MAKE_DIRECTIVE_2='zImage.initrd'
KERNEL_BINARY_2='arch/powerpc/boot/zImage.initrd'
set_config_with_override 1 GENZIMAGE CMD_GENZIMAGE
set_config_with_override 1 KEYMAP CMD_KEYMAP "yes"
set_config_with_override 1 DOKEYMAPAUTO CMD_DOKEYMAPAUTO
+ set_config_with_override 2 BUSYBOX_CONFIG CMD_BUSYBOX_CONFIG
BOOTDIR=`arch_replace "${BOOTDIR}"`
BOOTDIR=${BOOTDIR%/} # Remove any trailing slash