diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-09-06 20:39:35 -0500 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-09-06 20:39:35 -0500 |
commit | 8966351b12bbcf2f8fffbd8c3a4b00e7529349b8 (patch) | |
tree | a54505adcbc029bce687788150df4383e5e936e0 /archiso/install | |
parent | 99ed5349b32951fa1ec28cc2ee3caaff83fcd681 (diff) |
Split mkarchiso and configs into logical parts
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'archiso/install')
-rw-r--r-- | archiso/install/archiso | 11 | ||||
-rw-r--r-- | archiso/install/boot-cd | 17 | ||||
-rw-r--r-- | archiso/install/boot-usb | 16 |
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: |