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
This commit is contained in:
parent
27a60c861a
commit
d78588a13c
3 changed files with 19 additions and 28 deletions
|
@ -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
|
|
18
srcpkgs/initramfs-tools/files/scripts/init-top/fbconsole
Executable file
18
srcpkgs/initramfs-tools/files/scripts/init-top/fbconsole
Executable file
|
@ -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
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'initramfs-tools'
|
# Template file for 'initramfs-tools'
|
||||||
pkgname=initramfs-tools
|
pkgname=initramfs-tools
|
||||||
version=0.97.1
|
version=0.97.2
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
short_desc="Tools for generating an initramfs"
|
short_desc="Tools for generating an initramfs"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
Loading…
Add table
Reference in a new issue