summaryrefslogtreecommitdiff
path: root/packages/openmoko-system
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openmoko-system')
-rwxr-xr-xpackages/openmoko-system/ompower/openmoko/ompower-init7
-rw-r--r--packages/openmoko-system/ompower_git.bb2
2 files changed, 8 insertions, 1 deletions
diff --git a/packages/openmoko-system/ompower/openmoko/ompower-init b/packages/openmoko-system/ompower/openmoko/ompower-init
new file mode 100755
index 0000000000..0b36867b4d
--- /dev/null
+++ b/packages/openmoko-system/ompower/openmoko/ompower-init
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+. /etc/init.d/functions
+
+# xset need to be able to reach our display
+export DISPLAY=:0
+ompower &
diff --git a/packages/openmoko-system/ompower_git.bb b/packages/openmoko-system/ompower_git.bb
index be3e7bf103..ff16910901 100644
--- a/packages/openmoko-system/ompower_git.bb
+++ b/packages/openmoko-system/ompower_git.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Openmoko Power State handling daemon via DBUS"
LICENSE = "MIT BSD"
DEPENDS = "ecore edbus"
PV = "0.0.0+svnr${SRCREV}"
-PR = "r2"
+PR = "r3"
RDEPENDS = "initscripts"
SRCNAME = "ompower"