summaryrefslogtreecommitdiff
path: root/archiso/install/archiso
blob: 7ad9d06a4c28d663178b0b24a81c48cb7cd364d6 (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
install ()
{
    MODULES="cdrom ide-cd_mod ide-core ide-generic aufs squashfs isofs loop $(all_modules '/kernel/fs' | grep -v "nls") "
    MODULES="${MODULES} $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl811-hcd" -e "isp116x-hcd")"
    MODULES=$(echo ${MODULES}) #trim whitespace
    if [ "x${MODULES}" != "x" ]; then
        MODULES="${MODULES} usb_storage sd_mod sr_mod"
    fi
    MODULES="${MODULES} virtio_pci virtio_blk"

    BINARIES=""
    FILES=""
    add_dir /rw_branch
    add_dir /ro_branch
    add_dir /copytoram
    add_dir /bootmnt

    add_device /lib/udev/devices/loop0 b 7 0

    add_binary /lib/udev/cdrom_id

    add_file /lib/udev/rules.d/60-cdrom_id.rules

    SCRIPT="archiso"
}

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