From 8966351b12bbcf2f8fffbd8c3a4b00e7529349b8 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sat, 6 Sep 2008 20:39:35 -0500 Subject: Split mkarchiso and configs into logical parts Signed-off-by: Aaron Griffin --- archiso/install/archiso | 11 +++++++++++ archiso/install/boot-cd | 17 +++++++++++++++++ archiso/install/boot-usb | 16 ++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 archiso/install/archiso create mode 100644 archiso/install/boot-cd create mode 100644 archiso/install/boot-usb (limited to 'archiso/install') 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: -- cgit v1.2.3-54-g00ecf