Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/install/archiso
blob: 9b450800e90face4d4a78bb57a24acc3e09a148c (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
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 /tmpfs
    add_dir /tmpfs.sqfs
    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: