summaryrefslogtreecommitdiff
path: root/hook-functions
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2009-09-28 11:05:32 +0100
committermaximilian attems <maks@debian.org>2010-03-24 04:13:53 +0100
commit0108194018382b91867f966b1d0188959be1f66f (patch)
tree544171b26bc9616e7dcd184c6f0b83e9bb8a90e5 /hook-functions
parent3de636e6c8c578c1b74c6eca0b8660ec8b0a9d36 (diff)
downloadinitramfs-tools-0108194018382b91867f966b1d0188959be1f66f.tar.gz
initramfs-tools-0108194018382b91867f966b1d0188959be1f66f.zip
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 <maks@debian.org>
Diffstat (limited to 'hook-functions')
-rw-r--r--hook-functions4
1 files changed, 4 insertions, 0 deletions
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