index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | install/archiso | 10 | ||||
-rw-r--r-- | install/boot-cd | 8 | ||||
-rw-r--r-- | install/boot-usb | 15 |
diff --git a/install/archiso b/install/archiso new file mode 100644 index 0000000..d75a57e --- /dev/null +++ b/install/archiso @@ -0,0 +1,10 @@ +# vim: set ft=sh: +install () +{ + MODULES="cdrom ide-cd ide-core ide-generic unionfs squashfs isofs $(all_modules '/kernel/fs' | grep -v "nls") " + BINARIES="" + FILES="" + add_dir /real_root + add_dir /tmpfs + SCRIPT="archlive" +} diff --git a/install/boot-cd b/install/boot-cd new file mode 100644 index 0000000..b7e82ae --- /dev/null +++ b/install/boot-cd @@ -0,0 +1,8 @@ +# vim: set ft=sh: +install () +{ + MODULES="cdrom ide-cd ide-core ide-generic unionfs squashfs isofs $(all_modules '/kernel/fs' | grep -v "nls") " + BINARIES="" + FILES="" + SCRIPT="from-cd" +} diff --git a/install/boot-usb b/install/boot-usb new file mode 100644 index 0000000..a1296f9 --- /dev/null +++ b/install/boot-usb @@ -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" +} |