[oe-commits] Kristoffer Ericson : Initscripts. Fix devices script for machine jornada6xx

git version control git at git.openembedded.org
Sat Dec 26 21:45:35 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: e61ee97dd7d5610192d740cb137f9f7c30a8b406
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e61ee97dd7d5610192d740cb137f9f7c30a8b406

Author: Kristoffer Ericson <kristoffer.ericson at gmail.com>
Date:   Sat Dec 26 22:36:10 2009 +0100

Initscripts. Fix devices script for machine jornada6xx

Signed-off-by: Alex Ferguson <thoughtmonster at gmail.com>
Signed-off-by: Kristoffer Ericson <kristoffer.ericson at gmail.com>

---

 .../initscripts/initscripts-1.0/jornada6xx/devices |   20 +++++++++++---------
 1 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/recipes/initscripts/initscripts-1.0/jornada6xx/devices b/recipes/initscripts/initscripts-1.0/jornada6xx/devices
old mode 100644
new mode 100755
index 5ca2a1c..b9e4628
--- a/recipes/initscripts/initscripts-1.0/jornada6xx/devices
+++ b/recipes/initscripts/initscripts-1.0/jornada6xx/devices
@@ -6,7 +6,7 @@
 . /etc/default/rcS
 
 # exit without doing anything if udev is active
-if test -e /dev/.udevdb; then
+if test -e /dev/.udev -o -e /dev/.udevdb; then
 	exit 0
 fi
 
@@ -32,7 +32,6 @@ then
 
 	## need this so that ppp will autoload the ppp modules
 	mknod /dev/ppp c 108 0
-        
 	if test "$VERBOSE" != "no"; then echo "done"; fi
 else
 	if test "$VERBOSE" != "no"; then echo -n "Mounting /dev ramdisk: "; fi
@@ -44,17 +43,20 @@ else
 	fi
 	if test "$VERBOSE" != "no"; then echo -n "Populating /dev: "; fi
 	cd /
-	mkdir -p dev/input
-        mknod /dev/input/ts0 c 13 128
-        mknod /dev/ttySC0 c 8 204
-	mknod /dev/ttySC1 c 9 204
-        mknod /dev/ttySC2 c 10 204
+
+        mknod /dev/ttySC0 c 204 8
+	mknod /dev/ttySC1 c 204 9
+        mknod /dev/ttySC2 c 204 10
 	
-	mknod /dev/irda0  c 10 204
-        
+	mknod /dev/irda0  c 204 10
+
+	mknod /dev/rtc c 254 0
+
+	mkdir -p dev/input
 	mkdir -p dev/msys
 	mkdir -p dev/pts
 	mkdir -p dev/vc
+	mkdir -p dev/snd
 	for i in 0 1 2 3 4 5 6 7 8 9; do
 		ln -s /dev/tty$i /dev/vc/$i
 	done





More information about the Openembedded-commits mailing list