summaryrefslogtreecommitdiff
path: root/boot-usb_install
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-09-28 04:36:34 +0000
committerAaron Griffin <aaron@archlinux.org>2006-09-28 04:36:34 +0000
commit2b5cd0819fdf0d3f408f3e9d72060b90f4320c38 (patch)
treef1372a7675d1379185c83192cfcee22b03ed4799 /boot-usb_install
parentc464db595165a847e5fc81a57133f68a9c2e0ef8 (diff)
downloadarchiso32-2b5cd0819fdf0d3f408f3e9d72060b90f4320c38.tar.xz
Broke out boot-device locator for usb and cd booting seperatly.
git-svn-id: http://phraktured.net/archiso@14 00a9fe69-e71b-0410-bb23-df0e5024db41
Diffstat (limited to 'boot-usb_install')
-rw-r--r--boot-usb_install15
1 files changed, 15 insertions, 0 deletions
diff --git a/boot-usb_install b/boot-usb_install
new file mode 100644
index 0000000..a1296f9
--- /dev/null
+++ b/boot-usb_install
@@ -0,0 +1,15 @@
+# vim: set ft=sh:
+install ()
+{
+ MODULES="cdrom ide-cd ide-core ide-generic unionfs squashfs $(all_modules '/kernel/fs' | grep -v "nls") "
+
+ 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-usb"
+}