diff options
author | Carsten Haitzler <raster@openmoko.org> | 2008-07-10 05:28:36 +1000 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2008-11-16 00:36:08 +0100 |
commit | cda3a17160c6660c9cf1f444c86979da43bf0e9a (patch) | |
tree | 81533c1df948248c7b1a3766e9a9caad0492f75c | |
parent | 9d207a2c24d5bdd97afc74ef10e013d0d9912d18 (diff) |
ompower: Add ompower from Openmoko
Original commit message:
update illume to use new ompower and new bindings and actions for shutdown
also add new ompower to build
-rw-r--r-- | conf/distro/include/sane-srcrevs.inc | 1 | ||||
-rwxr-xr-x | packages/openmoko-system/ompower/ompower-init | 5 | ||||
-rw-r--r-- | packages/openmoko-system/ompower_git.bb | 24 |
3 files changed, 30 insertions, 0 deletions
diff --git a/conf/distro/include/sane-srcrevs.inc b/conf/distro/include/sane-srcrevs.inc index 905efcfa31..5ca3602741 100644 --- a/conf/distro/include/sane-srcrevs.inc +++ b/conf/distro/include/sane-srcrevs.inc @@ -113,6 +113,7 @@ SRCREV_pn-networkmanager-applet ?= "200" SRCREV_pn-numptyphysics = "109" SRCREV_pn-om-locations ?= "28d56a504a41261c363c085a38f81721cdd6683e" SRCREV_pn-om-settings ?= "65" +SRCREV_pn-ompower ?= "4516" SRCREV_pn-oh-puzzles ?= "22" SRCREV_pn-osb-browser ?= "125" SRCREV_pn-osb-jscore ?= "117" diff --git a/packages/openmoko-system/ompower/ompower-init b/packages/openmoko-system/ompower/ompower-init new file mode 100755 index 0000000000..d24dab06d0 --- /dev/null +++ b/packages/openmoko-system/ompower/ompower-init @@ -0,0 +1,5 @@ +#!/bin/sh + +. /etc/init.d/functions + +ompower & diff --git a/packages/openmoko-system/ompower_git.bb b/packages/openmoko-system/ompower_git.bb new file mode 100644 index 0000000000..be3e7bf103 --- /dev/null +++ b/packages/openmoko-system/ompower_git.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 = "r2" +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" |