Magellan Linux

Annotation of /trunk/dracut/patches/dracut-024-add-uvesafb-module.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1924 - (hide annotations) (download)
Sun Oct 28 18:31:42 2012 UTC (11 years, 6 months ago) by niro
File size: 1084 byte(s)
-split off uvesafb module into an own patch, enable systemd module by default as it works with >=systemd-195 and added a hint about rd.auto=1
1 niro 1924 diff -Naur dracut-024/modules.d/40uvesafb/module-setup.sh dracut-024-magellan/modules.d/40uvesafb/module-setup.sh
2     --- dracut-024/modules.d/40uvesafb/module-setup.sh 1970-01-01 00:00:00.000000000 +0000
3     +++ dracut-024-magellan/modules.d/40uvesafb/module-setup.sh 2012-10-28 20:33:27.088570153 +0000
4     @@ -0,0 +1,22 @@
5     +#!/bin/sh
6     +
7     +check() {
8     + [ -x /sbin/v86d ]
9     +
10     + # do not add this module by default
11     + return 255
12     +}
13     +
14     +depends() {
15     + return 0
16     +}
17     +
18     +installkernel() {
19     + hostonly='' instmods uvesafb
20     +}
21     +
22     +install() {
23     + dracut_install /sbin/v86d
24     + inst_hook pre-trigger 9 "$moddir"/uvesafb-pretrigger.sh
25     +}
26     +
27     diff -Naur dracut-024/modules.d/40uvesafb/uvesafb-pretrigger.sh dracut-024-magellan/modules.d/40uvesafb/uvesafb-pretrigger.sh
28     --- dracut-024/modules.d/40uvesafb/uvesafb-pretrigger.sh 1970-01-01 00:00:00.000000000 +0000
29     +++ dracut-024-magellan/modules.d/40uvesafb/uvesafb-pretrigger.sh 2012-10-28 20:26:49.477412947 +0000
30     @@ -0,0 +1,6 @@
31     +#!/bin/sh
32     +
33     +if getargbool 1 rd.uvesafb -n rd_NO_UVESAFB; then
34     + [ ! -c /dev/fb0 -a -e /sbin/v86d ] && modprobe uvesafb
35     +fi
36     +