archiso 902 Bytes
Newer Older
1
build ()
Aaron Griffin's avatar
Aaron Griffin committed
2
{
3
4
5
    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"
6
    MODULES="${MODULES} virtio_pci virtio_blk"
7
    MODULES=$(echo ${MODULES}) #trim whitespace
8

Aaron Griffin's avatar
Aaron Griffin committed
9
10
    BINARIES=""
    FILES=""
11
12

    add_dir /cowspace
13
    add_dir /copytoram
14
    add_dir /bootmnt
15
16

    add_binary /lib/udev/cdrom_id
17
18
19
    add_binary /sbin/blockdev
    add_binary /sbin/lvm
    add_binary /sbin/dmsetup
20
21

    add_file /lib/udev/rules.d/60-cdrom_id.rules
22
23
24
25
    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
26

27
    SCRIPT="archiso"
Aaron Griffin's avatar
Aaron Griffin committed
28
}
Dan McGee's avatar
Dan McGee committed
29
30

# vim:ft=sh:ts=4:sw=4:et: