From d78588a13c8f6d4ed63fe9f77301b74168865d04 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 25 Feb 2010 02:15:12 +0100 Subject: [PATCH] initramfs-tools: update to 0.97.2. * Add a script to load fbcon module very early so that KMS doesn't fail. * Removed all_generic_ide, it's obsolete. --HG-- extra : convert_revision : 415ea2975ff900d4b2f2d9dfdf0c3c57ec98167e --- .../files/scripts/init-top/all_generic_ide | 27 ------------------- .../files/scripts/init-top/fbconsole | 18 +++++++++++++ srcpkgs/initramfs-tools/template | 2 +- 3 files changed, 19 insertions(+), 28 deletions(-) delete mode 100755 srcpkgs/initramfs-tools/files/scripts/init-top/all_generic_ide create mode 100755 srcpkgs/initramfs-tools/files/scripts/init-top/fbconsole diff --git a/srcpkgs/initramfs-tools/files/scripts/init-top/all_generic_ide b/srcpkgs/initramfs-tools/files/scripts/init-top/all_generic_ide deleted file mode 100755 index 3274ee830e1..00000000000 --- a/srcpkgs/initramfs-tools/files/scripts/init-top/all_generic_ide +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -PREREQ="" -prereqs() -{ - echo "$PREREQ" -} -case $1 in -# get pre-requisites -prereqs) - prereqs - exit 0 - ;; -esac - -for x in $(cat /proc/cmdline); do - case ${x} in - all_generic_ide) - modprobe ide-generic - ;; - all_generic_ide=*) - if [ ${x#all_generic_ide=} ]; then - modprobe ide-generic - fi - ;; - esac -done diff --git a/srcpkgs/initramfs-tools/files/scripts/init-top/fbconsole b/srcpkgs/initramfs-tools/files/scripts/init-top/fbconsole new file mode 100755 index 00000000000..c5202df6406 --- /dev/null +++ b/srcpkgs/initramfs-tools/files/scripts/init-top/fbconsole @@ -0,0 +1,18 @@ +#!/bin/sh + +PREREQ="" +prereqs() +{ + echo "$PREREQ" +} +case $1 in +# get pre-requisites +prereqs) + prereqs + exit 0 + ;; +esac + +# Always load the fbcon module for KMS, won't do any harm for +# other users anyway. +modprobe fbcon diff --git a/srcpkgs/initramfs-tools/template b/srcpkgs/initramfs-tools/template index 13f7632b433..39ef3f0082f 100644 --- a/srcpkgs/initramfs-tools/template +++ b/srcpkgs/initramfs-tools/template @@ -1,6 +1,6 @@ # Template file for 'initramfs-tools' pkgname=initramfs-tools -version=0.97.1 +version=0.97.2 build_style=custom-install short_desc="Tools for generating an initramfs" maintainer="Juan RP "