From 4c1c20873ca2e8c96d072ab570076f93d4ebad91 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 16 Feb 2011 12:07:14 +0100 Subject: [PATCH] initramfs-tools: re-add init-top/fbconsole script for KMS. --- .../files/scripts/init-top/fbconsole | 18 ++++++++++++++++++ srcpkgs/initramfs-tools/template | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/initramfs-tools/files/scripts/init-top/fbconsole diff --git a/srcpkgs/initramfs-tools/files/scripts/init-top/fbconsole b/srcpkgs/initramfs-tools/files/scripts/init-top/fbconsole new file mode 100644 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 3575c114f84..2ef1186db32 100644 --- a/srcpkgs/initramfs-tools/template +++ b/srcpkgs/initramfs-tools/template @@ -1,6 +1,6 @@ # Template file for 'initramfs-tools' pkgname=initramfs-tools -_localver=0.99.8.2 # This is the XBPS version +_localver=0.99.8.3 # This is the XBPS version _distver=0.98.8 # This should match debian version version=${_localver}.${_distver} build_style=custom-install