|
|
@ -40,6 +40,7 @@ longusage() {
|
|
|
|
echo " --symlink Manage symlinks in /boot for installed images"
|
|
|
|
echo " --symlink Manage symlinks in /boot for installed images"
|
|
|
|
echo " --no-symlink Do not manage symlinks"
|
|
|
|
echo " --no-symlink Do not manage symlinks"
|
|
|
|
echo " --no-initrdmodules Don't copy any modules to the initrd"
|
|
|
|
echo " --no-initrdmodules Don't copy any modules to the initrd"
|
|
|
|
|
|
|
|
echo " --all-initrd-modules Copy all kernel modules to the initrd"
|
|
|
|
echo " --callback=<...> Run the specified arguments after the"
|
|
|
|
echo " --callback=<...> Run the specified arguments after the"
|
|
|
|
echo " kernel and modules have been compiled"
|
|
|
|
echo " kernel and modules have been compiled"
|
|
|
|
echo " --static Build a static (monolithic kernel)."
|
|
|
|
echo " --static Build a static (monolithic kernel)."
|
|
|
@ -368,6 +369,10 @@ parse_cmdline() {
|
|
|
|
CMD_NOINITRDMODULES=1
|
|
|
|
CMD_NOINITRDMODULES=1
|
|
|
|
print_info 2 "CMD_NOINITRDMODULES: ${CMD_NOINITRDMODULES}"
|
|
|
|
print_info 2 "CMD_NOINITRDMODULES: ${CMD_NOINITRDMODULES}"
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
--all-initrd-modules)
|
|
|
|
|
|
|
|
CMD_ALLINITRDMODULES=1
|
|
|
|
|
|
|
|
print_info 2 "CMD_ALLINITRDMODULES: ${CMD_ALLINITRDMODULES}"
|
|
|
|
|
|
|
|
;;
|
|
|
|
--callback=*)
|
|
|
|
--callback=*)
|
|
|
|
CMD_CALLBACK=`parse_opt "$*"`
|
|
|
|
CMD_CALLBACK=`parse_opt "$*"`
|
|
|
|
print_info 2 "CMD_CALLBACK: ${CMD_CALLBACK}/$*"
|
|
|
|
print_info 2 "CMD_CALLBACK: ${CMD_CALLBACK}/$*"
|
|
|
|