initscripts-shr: drop ttySACx workarround and better ROOT_HOME detection
authorMartin Jansa <Martin.Jansa@gmail.com>
Tue, 28 Sep 2010 13:39:08 +0000 (15:39 +0200)
committerMartin Jansa <Martin.Jansa@gmail.com>
Tue, 28 Sep 2010 13:41:01 +0000 (15:41 +0200)
* ttySACx are fixed in kernels 2.6.32.23 and 2.6.34.7 and newer, fixed
  by kernel patch from Radek Polak
* ROOT_HOME problem found and fixed by Joachim Ott

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/shr/initscripts-shr/mountall.sh
recipes/shr/initscripts-shr/mountdevsubfs.sh
recipes/shr/initscripts-shr_0.0.1.bb

index 4bd7bbb..0bea871 100644 (file)
@@ -41,7 +41,7 @@ fi
 
 if test -e /etc/passwd
 then
-       ROOT_HOME="`grep root /etc/passwd | cut -d: -f6`"
+       ROOT_HOME="`grep \"^root:\" /etc/passwd | cut -d: -f6`"
 
        if test -n "$ROOT_HOME"
        then
index 2a0a7a6..4308dab 100644 (file)
@@ -3,9 +3,6 @@
 . /etc/default/devpts
 
 test -c /dev/ptmx || mknod -m 666 /dev/ptmx c 5 2
-test -c /dev/ttySAC0 || mknod /dev/ttySAC0 c 204 64
-test -c /dev/ttySAC1 || mknod /dev/ttySAC1 c 204 65
-test -c /dev/ttySAC2 || mknod /dev/ttySAC2 c 204 66
 
 if [ ! -d /dev/pts ]; then
         mkdir /dev/pts
index bd9362a..120c325 100644 (file)
@@ -5,7 +5,7 @@ DEPENDS = ""
 RDEPENDS_${PN} = "procps"
 LICENSE = "GPL"
 PV = "0.0.1"
-PR = "r18"
+PR = "r19"
 
 RCONFLICTS_${PN} = "initscripts"