]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame_incremental - config/mkinitcpio/virtio
Added changes to core41 (bug #697 and #722).
[people/pmueller/ipfire-2.x.git] / config / mkinitcpio / virtio
... / ...
CommitLineData
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}