archiso/install/boot-cd
Simo Leone 397bf04bae 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>
2008-04-02 20:29:01 -05:00

17 lines
507 B
Bash

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"
}
# vim:ft=sh:ts=4:sw=4:et: