summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-05-24 13:45:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-05-25 06:05:30 +0000
commit7945f609e9ae56b62164aac68519a2b148bd43f3 (patch)
tree45297dec6eb8ec5a0fe56d6360fe2580cb33f82c
parent8b29ce3cf9a7ae91c08bfe1b7f62839bd657745d (diff)
downloadaports-7945f609e9ae56b62164aac68519a2b148bd43f3.tar.bz2
aports-7945f609e9ae56b62164aac68519a2b148bd43f3.tar.xz
main/busybox-initscripts: load fbcon with framebuffer dev
When a frambuffer device shows up we want a framebuffer console fixes #622 (cherry picked from commit f1f9a3a857cccd09b42ac4e29cf0aa9782b7de76)
-rw-r--r--main/busybox-initscripts/APKBUILD4
-rw-r--r--main/busybox-initscripts/mdev.conf3
2 files changed, 4 insertions, 3 deletions
diff --git a/main/busybox-initscripts/APKBUILD b/main/busybox-initscripts/APKBUILD
index ddf4d0259..5d1ebdaf3 100644
--- a/main/busybox-initscripts/APKBUILD
+++ b/main/busybox-initscripts/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=busybox-initscripts
pkgver=2.2
-pkgrel=1
+pkgrel=2
pkgdesc="Init scripts for busybox daemons"
url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts"
arch="noarch"
@@ -56,7 +56,7 @@ c01dc869cbdd68e86e64a35ccc1e885e rdate.initd
22adbf155ffc4595206ded6daad07812 rdate.confd
77fb31a75511247bf4e3430565a276bc syslog.confd
0bb55dde32f5e119111fa4938daaef3d watchdog.confd
-f2ef3782312aab294724d7e1f7304c8a mdev.conf
+a193d4aa411662dd31cd9b68bf38bd8f mdev.conf
ad1556961294e4aa2abca6be52138b7c dvbdev
5c8725b4cbdeda23b00f08124a0d20bf ide_links
c422992ca5bfdfabdbba1f1532bc1358 usbdev
diff --git a/main/busybox-initscripts/mdev.conf b/main/busybox-initscripts/mdev.conf
index 96acc40f5..430e306ae 100644
--- a/main/busybox-initscripts/mdev.conf
+++ b/main/busybox-initscripts/mdev.conf
@@ -19,7 +19,8 @@ hwrandom root:root 0660
# console does already exist; therefore ownership has to be changed with command
#console root:tty 0600 @chmod 600 $MDEV && mkdir -p vc && ln -sf ../$MDEV vc/0
console root:tty 0600 @mkdir -pm 755 fd && cd fd && for x in 0 1 2 3 ; do ln -sf /proc/self/fd/$x $x; done
-
+# load frambuffer console when first frambuffer is found
+fb0 root:video 0660 @modprobe fbcon
fd0 root:floppy 0660
kmem root:root 0640