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

Bug#403669: initramfs-tools: framebuffer script assumes module name is same as frame buffer name



On Mon, 18 Dec 2006, Rob Walker wrote:

> Package: initramfs-tools
> Version: 0.85c
> Severity: normal
> Tags: patch
> 
> The framebuffer script
> (/usr/share/initramfs-tools/scripts/init-top/framebuffer) assumes that the
> name of the option on the command line is the same as the name of the module
> for the framebuffer.  This is not correct for Matrox cards: the command line
> option is matroxfb, but the module is matroxfb_base.  
> 
> The attached patch adds a map from command line name to module name (only
> matroxfb for now).

thanks applied for 0.85e!
same remarks than previous patch :)
 
> --- framebuffer.orig	2006-11-14 06:54:08.000000000 +0000
> +++ framebuffer.matroxfb_map	2006-12-18 20:09:51.000000000 +0000
> @@ -72,6 +75,16 @@
>  	esac
>  done
>  
> +# Map command line name to module name
> +case $FB in
> +  matroxfb)
> +    FB=matroxfb_base
> +    ;;
> +  
> +  *)
> +    ;;
> +esac
> +
>  if [ -n "$FB" ]; then
>  	modprobe -q fbcon
>  	modprobe -q $FB $OPTS

best regards

-- 
maks



Reply to: