From 91f5947c08560feecb5f05d85efa6a2669486de3 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 17 Jun 2010 01:58:31 +0200 Subject: hook-functions: install virtio_pci module if /sys/bus/virtio is present and using modules=dep Thanks: Vincent Danjean Closes: #585992 Signed-off-by: Michael Prokop --- hook-functions | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hook-functions') diff --git a/hook-functions b/hook-functions index ded7887..d860bc7 100644 --- a/hook-functions +++ b/hook-functions @@ -365,6 +365,10 @@ dep_add_modules() manual_add_modules mmc_block fi + if [ -e /sys/bus/virtio ] ; then + manual_add_modules virtio_pci + fi + if [ -e /sys/bus/i2o/devices/ ]; then force_load i2o_block force_load i2o_config -- cgit v1.2.3