From 397bf04baedd32fda955ab633bcf3de8fdb211e6 Mon Sep 17 00:00:00 2001 From: Simo Leone Date: Wed, 2 Apr 2008 20:29:01 -0500 Subject: Add USB modules to boot-cd hooks This should allow the disk to find itself on external CD-ROM drives. Signed-off-by: Simo Leone --- install/boot-cd | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'install/boot-cd') diff --git a/install/boot-cd b/install/boot-cd index 6a48716..d79bb18 100644 --- a/install/boot-cd +++ b/install/boot-cd @@ -1,6 +1,14 @@ install () { MODULES="cdrom ide-cd ide-core ide-generic unionfs squashfs isofs $(all_modules '/kernel/fs' | grep -v "nls") " + + # need usb modules for external drives + MODULES="${MODULES} $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl1811-hcd" -e "isp116x-hcd")" + MODULES=$(echo ${MODULES}) #trim whitespace + if [ "x${MODULES}" != "x" ]; then + MODULES="${MODULES} usb_storage sd_mod sr_mod" + fi + BINARIES="" FILES="" SCRIPT="boot-cd" -- cgit v1.2.3-70-g09d2