Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorSimo Leone <simo@archlinux.org>2008-04-02 20:29:01 -0500
committerSimo Leone <simo@archlinux.org>2008-04-02 20:29:01 -0500
commit81e9aa8bc6f3961b8e313419f73d286cadaf9c7d (patch)
treefa21e47b29795afa9abce26a03ac33a6cda70610 /install
parentbc839ac0e577d00aca5c18d18e17b60fcf43ce91 (diff)
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 <simo@archlinux.org>
Diffstat (limited to 'install')
-rw-r--r--install/boot-cd8
1 files changed, 8 insertions, 0 deletions
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"