# Distributed under the GPL v2
# $Id$
+ 23 Mar 2011; Peter Hjalmarsson <xake@rymdraket.net> doc/genkernel.8.txt,
+ gen_cmdline.sh, gen_initramfs.sh:
+ Remove "--slowusb" as it is enabled by default now. Also document "noslowusb"
+ ramdisk option that skips it.
+
22 Mar 2011; Peter Hjalmarsson <xake@rymdraket.net> defaults/initrd.defaults,
defaults/initrd.scripts:
Set DO_slowusb as default, and make setup_slowusb unset it if it cannot find
*--iscsi*::
Include iSCSI support
-*--slowusb*::
- Enables extra pauses for slow USB CD boots.
-
*--bootloader*=*grub*::
Add new kernel to GRUB configuration.
Activate SCSI devices on bootup, necessary when SCSI support is
compiled as modules and you're using SCSI or SATA devices.
+*noslowusb*::
+ By default genkernel pause for 10 seconds if it finds a attached
+ usb-storage device to give them time to initiate.
+ This option skips that pause.
+
*keymap*='MAP'::
Set keymap to 'MAP', e.g. *keymap*=de.
For valid values of 'MAP' please see
echo " --dmraid Include DMRAID support"
echo " --multipath Include Multipath support"
echo " --iscsi Include iSCSI support"
- 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"
CMD_REAL_ROOT=`parse_opt "$*"`
print_info 2 "CMD_REAL_ROOT: ${CMD_REAL_ROOT}"
;;
- --slowusb)
- CMD_SLOWUSB=1
- print_info 2 "CMD_SLOWUSB: ${CMD_SLOWUSB}"
- ;;
--dmraid)
if [ ! -e /usr/include/libdevmapper.h ]
then
cp -a "${MDADM_CONFIG}" "${TEMP}/initramfs-mdadm-temp/etc/mdadm.conf" \
|| gen_die "Could not copy mdadm.conf!"
else
- gen_die '${MDADM_CONFIG} does not exist!'
+ gen_die 'sl${MDADM_CONFIG} does not exist!'
fi
else
print_info 1 ' MDADM: Skipping inclusion of mdadm.conf'
mkdir -p "${TEMP}/initramfs-aux-temp/lib/keymaps"
/bin/tar -C "${TEMP}/initramfs-aux-temp/lib/keymaps" -zxf "${GK_SHARE}/defaults/keymaps.tar.gz"
fi
- if isTrue $CMD_SLOWUSB
- then
- echo 'MY_HWOPTS="${MY_HWOPTS} slowusb"' >> ${TEMP}/initramfs-aux-temp/etc/initrd.defaults
- fi
cd ${TEMP}/initramfs-aux-temp/sbin && ln -s ../init init
cd ${TEMP}