Package: initramfs-tools
Version: 0.85h
Severity: normal
Tags: patch

Please include drivers for mtd and mmc devices, to make it possible setting
up a root filesystem in them.

Patch attached.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)

Versions of packages initramfs-tools depends on:
ii  busybox                   1:1.1.3-4      Tiny utilities for small and embed
ii  cpio                      2.6-18.1+etch1 GNU cpio -- a program to manage ar
ii  klibc-utils               1.4.34-2       small statically-linked utilities 
ii  module-init-tools         3.3-pre4-2     tools for managing Linux kernel mo
ii  udev                      0.105-4        /dev/ and hotplug management daemo

initramfs-tools recommends no packages.

-- no debconf information
diff -ur initramfs-tools-0.92a.old/hook-functions 
initramfs-tools-0.92a/hook-functions
--- initramfs-tools-0.92a.old/hook-functions    2008-04-24 17:41:30.000000000 
+0200
+++ initramfs-tools-0.92a/hook-functions        2008-05-27 17:39:48.000000000 
+0200
@@ -332,6 +332,12 @@
        ide)
                copy_modules_dir kernel/drivers/ide
        ;;
+       mtd)
+               copy_modules_dir kernel/drivers/mtd
+       ;;
+       mmc)
+               copy_modules_dir kernel/drivers/mmc
+       ;;
        scsi)
                copy_modules_dir kernel/drivers/scsi
                for x in mptfc mptsas mptscsih mptspi; do
@@ -376,6 +382,8 @@
                auto_add_modules dasd
                auto_add_modules ieee1394
                auto_add_modules firewire
+               auto_add_modules mtd
+               auto_add_modules mmc
        ;;
        esac
 }

Reply via email to