summaryrefslogtreecommitdiff
path: root/archiso/install
diff options
context:
space:
mode:
Diffstat (limited to 'archiso/install')
-rw-r--r--archiso/install/archiso11
-rw-r--r--archiso/install/boot-cd17
-rw-r--r--archiso/install/boot-usb16
3 files changed, 44 insertions, 0 deletions
diff --git a/archiso/install/archiso b/archiso/install/archiso
new file mode 100644
index 0000000..7b58831
--- /dev/null
+++ b/archiso/install/archiso
@@ -0,0 +1,11 @@
+install ()
+{
+ MODULES="cdrom ide-cd_mod ide-core ide-generic unionfs squashfs isofs loop $(all_modules '/kernel/fs' | grep -v "nls") "
+ BINARIES=""
+ FILES=""
+ add_dir /real_root
+ add_dir /tmpfs
+ SCRIPT="archiso"
+}
+
+# vim:ft=sh:ts=4:sw=4:et:
diff --git a/archiso/install/boot-cd b/archiso/install/boot-cd
new file mode 100644
index 0000000..2d96869
--- /dev/null
+++ b/archiso/install/boot-cd
@@ -0,0 +1,17 @@
+install ()
+{
+ MODULES="cdrom ide-cd_mod 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:
diff --git a/archiso/install/boot-usb b/archiso/install/boot-usb
new file mode 100644
index 0000000..32d451f
--- /dev/null
+++ b/archiso/install/boot-usb
@@ -0,0 +1,16 @@
+install ()
+{
+ MODULES="cdrom ide-cd_mod 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"
+}
+
+# vim:ft=sh:ts=4:sw=4:et: