archiso 737 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
    BINARIES=""
    FILES=""
13
14
15
    add_dir /rw_branch
    add_dir /ro_branch
    add_dir /copytoram
16
    add_dir /bootmnt
17

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

    add_binary /lib/udev/cdrom_id

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

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

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