]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - config/mkinitcpio/virtio
installer: Change format of initrd from squashfs to cpio.
[people/pmueller/ipfire-2.x.git] / config / mkinitcpio / virtio
1 # vim: set ft=sh:
2
3 install ()
4 {
5 MODULES=" $(checked_modules "block/virtio_blk") "
6
7 MODULES=$(echo ${MODULES}) #trim whitespace
8 if [ "x${MODULES}" != "x" ]; then
9 MODULES="${MODULES} virtio_pci"
10 fi
11
12 BINARIES=""
13 FILES=""
14 SCRIPT=""
15 }
16
17 help ()
18 {
19 cat<<HELPEOF
20 This hook loads the necessary modules for an virtio root device.
21 Detection will take place at runtime. To minimize the modules
22 in the image, add the autodetect hook too.
23 HELPEOF
24 }