Bug#504553: initramfs-tools: include framebuffer modules when 'most' is selected
Package: initramfs-tools
Version: 0.92l
Severity: wishlist
Hi,
There is currently support for modular framebuffers in initramfs-tools
(modules are loaded when the kernel is passed "video=$mod"), but those
framebuffer modules aren't normally included. Please consider the
following patch which includes framebuffer modules.
>From c52b4d1346055c0c33c2474162585be7dde7c9dd Mon Sep 17 00:00:00 2001
From: Andres Salomon <dilinger@debian.org>
Date: Tue, 14 Oct 2008 15:31:24 -0400
Subject: [PATCH] include video (framebuffer, fbcon) modules
This adds support for video/fbcon when 'most' is selected.
Note that this doesn't fix 'dep'.
Signed-off-by: Andres Salomon <dilinger@debian.org>
---
debian/changelog | 1 +
hook-functions | 4 ++++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index babb190..833dcfa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ initramfs-tools (0.92l.1) unstable; urgency=high
* NMU
* include mtd/jffs2/ubifs modules when 'most' is selected.
* add support for linux-2.6's deb-pkg (via /etc/kernel).
+ * include video (framebuffer, fbcon) modules when 'most' is selected.
-- Andres Salomon <dilinger@debian.org> Tue, 14 Oct 2008 14:16:50 -0400
diff --git a/hook-functions b/hook-functions
index 1c9f303..7d0ad15 100644
--- a/hook-functions
+++ b/hook-functions
@@ -353,6 +353,9 @@ auto_add_modules()
manual_add_modules "${x}"
done
;;
+ video)
+ copy_modules_dir kernel/drivers/video
+ ;;
scsi)
copy_modules_dir kernel/drivers/scsi
for x in mptfc mptsas mptscsih mptspi zfcp; do
@@ -399,6 +402,7 @@ auto_add_modules()
auto_add_modules firewire
auto_add_modules mmc
auto_add_modules mtd
+ auto_add_modules video
;;
esac
}
--
1.5.6.5
Reply to: