echo " --lvm2 Include LVM2 support"
# echo " --unionfs Include UNIONFS support"
echo " --dmraid Include DMRAID support"
- echo " --bladecenter Enables extra pauses for IBM Bladecenter CD boots"
+ 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 " --disklabel Include disk label and uuid support in your initrd"
CMD_NO_BUSYBOX=1
print_info 2 "CMD_NO_BUSYBOX: $CMD_NO_BUSYBOX"
;;
- --bladecenter)
- CMD_BLADECENTER=1
- print_info 2 "CMD_BLADECENTER: $CMD_BLADECENTER"
+ --slowusb)
+ CMD_SLOWUSB=1
+ print_info 2 "CMD_SLOWUSB: $CMD_SLOWUSB"
;;
--dmraid)
if [ ! -e /usr/include/libdevmapper.h ]
fi
mkdir -p "${TEMP}/initramfs-aux-temp/lib/keymaps"
/bin/tar -C "${TEMP}/initramfs-aux-temp/lib/keymaps" -zxf "${GK_SHARE}/generic/keymaps.tar.gz"
- if isTrue $CMD_BLADECENTER
+ if isTrue $CMD_SLOWUSB
then
- echo 'MY_HWOPTS="${MY_HWOPTS} bladecenter"' >> ${TEMP}/initramfs-aux-temp/etc/initrd.defaults
+ echo 'MY_HWOPTS="${MY_HWOPTS} slowusb"' >> ${TEMP}/initramfs-aux-temp/etc/initrd.defaults
fi
cd ${TEMP}/initramfs-aux-temp/sbin && ln -s ../init init
fi
mkdir -p "${TEMP}/initrd-temp/lib/keymaps"
/bin/tar -C "${TEMP}/initrd-temp/lib/keymaps" -zxf "${GK_SHARE}/generic/keymaps.tar.gz"
- if isTrue $CMD_BLADECENTER
+ if isTrue $CMD_SLOWUSB
then
- echo 'MY_HWOPTS="${MY_HWOPTS} bladecenter"' >> ${TEMP}/initrd-temp/etc/initrd.defaults
+ echo 'MY_HWOPTS="${MY_HWOPTS} slowusb"' >> ${TEMP}/initrd-temp/etc/initrd.defaults
fi
cd ${TEMP}/initrd-temp/sbin && ln -s ../linuxrc init
# Only sections that are in by default or those that
# are not module groups need to be defined here...
-HWOPTS='usb firewire keymap cache evms2 sata lvm2 dmraid bladecenter'
+HWOPTS='usb firewire keymap cache evms2 sata lvm2 dmraid slowusb'
MY_HWOPTS='usb firewire sata dmraid'
if [ "${USE_UDEV_NORMAL}" -eq '1' ]
then
cd /sys
- [ "${DO_bladecenter}" ] && sleep 10
+ [ "${DO_slowusb}" ] && sleep 10
kill_devfsd
good_msg 'Activating udev'
runUdev
- [ "${DO_bladecenter}" ] && sleep 20
+ [ "${DO_slowusb}" ] && sleep 20
cd /
else
if [ ! -e /dev/.devfsd ]
fi
done
- [ "${DO_bladecenter}" ] && sleep 10
+ [ "${DO_slowusb}" ] && sleep 10
mkdir initrd proc tmp sys 2>/dev/null
chmod 1777 tmp
fi
# Let Init scripts know that we booted from CD
export CDBOOT
CDBOOT=1
- [ "${DO_bladecenter}" ] && sleep 10
+ [ "${DO_slowusb}" ] && sleep 10
else
mkdir -p ${NEW_ROOT}/tmp/.initrd
fi
cd ${CHROOT}
mkdir ${CHROOT}/proc ${CHROOT}/sys 2>/dev/null
pivot_root . tmp/.initrd
- [ "${DO_bladecenter}" ] && sleep 10
+ [ "${DO_slowusb}" ] && sleep 10
echo -n '.'
if /tmp/.initrd/bin/[ "${USE_DEVFS_NORMAL}" -eq '1' -a "${CDROOT}" -eq '0' ]