diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2009-09-28 11:05:32 +0100 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2010-03-24 04:13:53 +0100 |
commit | 0108194018382b91867f966b1d0188959be1f66f (patch) | |
tree | 544171b26bc9616e7dcd184c6f0b83e9bb8a90e5 /hook-functions | |
parent | 3de636e6c8c578c1b74c6eca0b8660ec8b0a9d36 (diff) | |
download | initramfs-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-functions | 4 |
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 |