[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#504549: marked as done (initramfs-tools: please add mtd/jffs2/ubifs modules to initrd when 'most' is selected)



Your message dated Sun, 15 Feb 2009 17:30:26 -0500
with message-id <20090215173026.44d4f259@ephemeral>
and subject line Re: initramfs-tools: please add mtd/jffs2/ubifs modules to initrd when
has caused the Debian Bug report #504549,
regarding initramfs-tools: please add mtd/jffs2/ubifs modules to initrd when 'most' is selected
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
504549: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504549
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.92l
Severity: wishlist

OLPC laptops use jffs2 or ubifs for their root filesystem, along with
cafe_nand and mtd for the lower level devices.  The following patch is
necessary for building a modular kernel on the XO.  Please consider
including it!

>From 8854095ef36c80a4178bc2ea93fe80415019bc34 Mon Sep 17 00:00:00 2001
From: Andres Salomon <dilinger@debian.org>
Date: Tue, 14 Oct 2008 14:19:12 -0400
Subject: [PATCH] include mtd, jffs2, and ubifs modules

This adds support for mtd/jffs/ubifs when 'most' is selected.  Note
that this doesn't fix 'dep'.

Signed-off-by: Andres Salomon <dilinger@debian.org>
---
 debian/changelog |    7 +++++++
 hook-functions   |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1d73a4a..de7f8f5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+initramfs-tools (0.92l.1) unstable; urgency=high
+
+  * NMU
+  * include mtd/jffs2/ubifs modules when 'most' is selected.
+
+ -- Andres Salomon <dilinger@debian.org>  Tue, 14 Oct 2008 14:16:50 -0400
+
 initramfs-tools (0.92l) unstable; urgency=high
 
   * Revert "initramfs-tools: Add support for linux-2.6 make deb-pkg
diff --git a/hook-functions b/hook-functions
index 53867da..1c9f303 100644
--- a/hook-functions
+++ b/hook-functions
@@ -347,6 +347,12 @@ auto_add_modules()
 	mmc)
 		copy_modules_dir kernel/drivers/mmc
 	;;
+	mtd)
+		copy_modules_dir kernel/drivers/mtd
+		for x in jffs2 ubifs; do
+			manual_add_modules "${x}"
+		done
+	;;
 	scsi)
 		copy_modules_dir kernel/drivers/scsi
 		for x in mptfc mptsas mptscsih mptspi zfcp; do
@@ -392,6 +398,7 @@ auto_add_modules()
 		auto_add_modules ieee1394
 		auto_add_modules firewire
 		auto_add_modules mmc
+		auto_add_modules mtd
 	;;
 	esac
 }
-- 
1.5.6.5


--- End Message ---
--- Begin Message ---
Hi,

Actually, this is better handled through an olpc-specific hook.  Since flash
without an FTL is rare, there's probably not much point in applying the patch.
Thanks!


--- End Message ---

Reply to: