summaryrefslogtreecommitdiff
path: root/recipes/openmoko-system
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/openmoko-system
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/openmoko-system')
-rwxr-xr-xrecipes/openmoko-system/ompower/ompower-init5
-rwxr-xr-xrecipes/openmoko-system/ompower/openmoko/ompower-init7
-rw-r--r--recipes/openmoko-system/ompower_svn.bb24
3 files changed, 36 insertions, 0 deletions
diff --git a/recipes/openmoko-system/ompower/ompower-init b/recipes/openmoko-system/ompower/ompower-init
new file mode 100755
index 0000000000..d24dab06d0
--- /dev/null
+++ b/recipes/openmoko-system/ompower/ompower-init
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. /etc/init.d/functions
+
+ompower &
diff --git a/recipes/openmoko-system/ompower/openmoko/ompower-init b/recipes/openmoko-system/ompower/openmoko/ompower-init
new file mode 100755
index 0000000000..0b36867b4d
--- /dev/null
+++ b/recipes/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/recipes/openmoko-system/ompower_svn.bb b/recipes/openmoko-system/ompower_svn.bb
new file mode 100644
index 0000000000..ff16910901
--- /dev/null
+++ b/recipes/openmoko-system/ompower_svn.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Openmoko Power State handling daemon via DBUS"
+LICENSE = "MIT BSD"
+DEPENDS = "ecore edbus"
+PV = "0.0.0+svnr${SRCREV}"
+PR = "r3"
+RDEPENDS = "initscripts"
+
+SRCNAME = "ompower"
+S = "${WORKDIR}/${PN}"
+
+inherit e
+
+#SRC_URI = "file://${HOME}/work/ompower"
+SRC_URI = "svn://svn.openmoko.org/developers/raster/;module=ompower;proto=http"
+
+SRC_URI += "file://ompower-init"
+inherit update-rc.d
+do_install_prepend() {
+ install -d ${D}${sysconfdir}/init.d/
+ install -m 0755 ${WORKDIR}/ompower-init ${D}${sysconfdir}/init.d/ompower
+}
+
+INITSCRIPT_NAME = "ompower"
+INITSCRIPT_PARAMS = "defaults 21"