summaryrefslogtreecommitdiff
path: root/recipes/xserver-nodm-init
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-05-03 22:51:03 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2010-05-03 22:51:56 +0200
commit59eaf1348019463d4c738e896609b4468459c805 (patch)
tree1e7d903212eea22b36ec31f6079cd79e0a7690f5 /recipes/xserver-nodm-init
parente10aead5714b4b3d4b2b7f1ecb2c1ffee645c1c9 (diff)
xserver-nodm-init: fix RDEPENDS, add redirect to /tmp/x.log
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/xserver-nodm-init')
-rwxr-xr-xrecipes/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm2
-rw-r--r--recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb3
2 files changed, 3 insertions, 2 deletions
diff --git a/recipes/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm b/recipes/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm
index 5a4b0904a3..ae6adc58e8 100755
--- a/recipes/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm
+++ b/recipes/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm
@@ -21,7 +21,7 @@ case "$1" in
echo "Starting Xserver"
. /etc/X11/xserver-common
- xinit /etc/X11/Xsession -- `which $XSERVER` $ARGS
+ xinit /etc/X11/Xsession -- `which $XSERVER` $ARGS >/tmp/x.log 2>&1
fi
;;
diff --git a/recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb b/recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb
index 91ccf06f63..b29a86e927 100644
--- a/recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb
+++ b/recipes/xserver-nodm-init/xserver-nodm-init_2.0.bb
@@ -2,8 +2,9 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)"
LICENSE = "GPL"
SECTION = "x11"
PRIORITY = "optional"
-RDEPENDS = "xserver-common (>= 1.30) xinit"
+RDEPENDS_${PN} = "xserver-common (>= 1.30) xinit"
DEFAULT_PREFERENCE = "-1"
+PR = "r1"
SRC_URI = "file://xserver-nodm"
S = ${WORKDIR}