ISO/archiso/install/archiso
Gerardo Exequiel Pozzi 8fa4f8dedf [archiso] Update for mkinitcpio >= 0.7
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-07-09 15:14:49 -03:00

31 lines
902 B
Bash

build ()
{
MODULES="cdrom ide-cd_mod ide-core ide-generic loop dm-mod dm-snapshot squashfs isofs $(all_modules '/kernel/fs' | grep -v "nls")"
MODULES="${MODULES} $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl811_hcd" -e "isp116x_hcd")"
MODULES="${MODULES} usb_storage sd_mod sr_mod"
MODULES="${MODULES} virtio_pci virtio_blk"
MODULES=$(echo ${MODULES}) #trim whitespace
BINARIES=""
FILES=""
add_dir /cowspace
add_dir /copytoram
add_dir /bootmnt
add_binary /lib/udev/cdrom_id
add_binary /sbin/blockdev
add_binary /sbin/lvm
add_binary /sbin/dmsetup
add_file /lib/udev/rules.d/60-cdrom_id.rules
add_file /lib/udev/rules.d/10-dm.rules
add_file /lib/udev/rules.d/13-dm-disk.rules
add_file /lib/udev/rules.d/95-dm-notify.rules
add_file /lib/udev/rules.d/11-dm-lvm.rules
SCRIPT="archiso"
}
# vim:ft=sh:ts=4:sw=4:et: