]> git.pld-linux.org Git - projects/geninitrd.git/blame - mod-uvesafb.sh
- uvesafb (v86d) modularized
[projects/geninitrd.git] / mod-uvesafb.sh
CommitLineData
3dd50160
ER
1#!/bin/sh
2#
3# geninitrd mod: uvesafb
4
5# whether v86d should be installed
6need_uvesafb=no
7
8# find modules for for fbsplash
9# @access public
10find_modules_uvesafb() {
11 # if we are adding uvesafb, we need v86d as well
12 local m
13 for m in $MODULES; do
14 if [ "$m" = "uvesafb" ]; then
15 need_uvesafb=yes
16 fi
17 done
18}
19
20# generate initrd fragment
21# @access public
22initrd_gen_uvesafb() {
23 if ! is_yes "$need_uvesafb"; then
24 return
25 fi
26
27 debug "initrd_gen_uvesafb"
28 mknod $DESTDIR/dev/mem c 1 1
29 mknod $DESTDIR/dev/tty1 c 4 1
30 inst_d /sbin
31 inst_exec /sbin/v86d /sbin
32}
This page took 0.117317 seconds and 4 git commands to generate.