summaryrefslogtreecommitdiff
path: root/archiso/install/archiso
blob: 89642f02912109c1f69aea6eacaeb8bf2d31bc4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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/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/95-dm-notify.rules
    add_file /lib/initcpio/udev/11-dm-initramfs.rules /lib/udev/rules.d/11-dm-initramfs.rules

    SCRIPT="archiso"
}

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