]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - config/mkinitcpio/virtio
Merge branch 'master' of ssh://arne_f@ipfire.org/pub/git/ipfire-2.x
[people/pmueller/ipfire-2.x.git] / config / mkinitcpio / virtio
CommitLineData
98220a32
AF
1# vim: set ft=sh:
2
3install ()
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
17help ()
18{
19cat<<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.
23HELPEOF
24}