archiso 711 Bytes
Newer Older
Aaron Griffin's avatar
Aaron Griffin committed
1
2
install ()
{
3
    MODULES="cdrom ide-cd_mod ide-core ide-generic aufs squashfs isofs loop $(all_modules '/kernel/fs' | grep -v "nls") "
4
    MODULES="${MODULES} $(checked_modules "/usb/host" | grep -ve "_cs" -e "sl811-hcd" -e "isp116x-hcd")"
5
6
7
8
    MODULES=$(echo ${MODULES}) #trim whitespace
    if [ "x${MODULES}" != "x" ]; then
        MODULES="${MODULES} usb_storage sd_mod sr_mod"
    fi
9
    MODULES="${MODULES} virtio_pci virtio_blk"
10

Aaron Griffin's avatar
Aaron Griffin committed
11
12
13
    BINARIES=""
    FILES=""
    add_dir /tmpfs
14
    add_dir /tmpfs.sqfs
15
    add_dir /bootmnt
16

17
    add_device /lib/udev/devices/loop0 b 7 0
18
19
20
21
22

    add_binary /lib/udev/cdrom_id

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

23
    SCRIPT="archiso"
Aaron Griffin's avatar
Aaron Griffin committed
24
}
Dan McGee's avatar
Dan McGee committed
25
26

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