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

    BINARIES=""
    FILES=""
    add_dir /tmpfs
    add_dir /tmpfs.sqfs
    add_dir /bootmnt

    add_device /dev/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: