From 0108194018382b91867f966b1d0188959be1f66f Mon Sep 17 00:00:00 2001 From: Martin Michlmayr Date: Mon, 28 Sep 2009 11:05:32 +0100 Subject: MODULES=dep fix boot with MMC It doesn't boot with MODULES=dep because mmc_block is missing. (closes: #548711) Signed-off-by: maximilian attems --- hook-functions | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hook-functions') diff --git a/hook-functions b/hook-functions index 2184db5..c5c3f05 100644 --- a/hook-functions +++ b/hook-functions @@ -367,6 +367,10 @@ dep_add_modules() manual_add_modules sd_mod fi + if [ -e /sys/bus/mmc/devices/ ]; then + manual_add_modules mmc_block + fi + if [ -e /sys/bus/i2o/devices/ ]; then force_load i2o_block force_load i2o_config -- cgit v1.2.3