summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorKlaus Kurzmann <mok@fluxnetz.de>2010-01-08 23:33:13 +0100
committerKlaus Kurzmann <mok@fluxnetz.de>2010-01-08 23:36:18 +0100
commit220405a05589222ff56d8e09d61c75055d262b40 (patch)
tree7da91fa93cf0f5459308e3c23ef9eca62d8cbb1f /recipes
parent8ae6638c4e9f369d3ada8a2c4255b0810ffda8da (diff)
fsousaged: add a general config file and one for om-gta02 machine
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/freesmartphone/fsousaged/fsousaged.conf32
-rw-r--r--recipes/freesmartphone/fsousaged/om-gta02/fsousaged.conf32
-rw-r--r--recipes/freesmartphone/fsousaged_git.bb11
3 files changed, 74 insertions, 1 deletions
diff --git a/recipes/freesmartphone/fsousaged/fsousaged.conf b/recipes/freesmartphone/fsousaged/fsousaged.conf
new file mode 100644
index 0000000000..542bc7562f
--- /dev/null
+++ b/recipes/freesmartphone/fsousaged/fsousaged.conf
@@ -0,0 +1,32 @@
+#######################################################################################
+# FSO Usage Daemon Configuration File -- for SYSTEM INTEGRATORS only
+########################################################################################
+[logging]
+# Log level: DEBUG, INFO (default), WARNING, ERROR
+# Override via environment as FSO_LOG_LEVEL
+log_level = INFO
+# Where to log to: none (default), stderr, stderr:colors, file, syslog
+# Override via environment as FSO_LOG_TO
+log_to = file
+# Log Destination (valid only for log_to = file)
+# Override via environment as FSO_LOG_DESTINATION
+log_destination = /var/log/fsousaged.log
+
+[fsousage]
+# Which low level suspend/resume variant to use: none (default), kernel26, openmoko
+lowlevel_type = kernel26
+# FOR DEBUGGING ONLY: Do not suspend, but instead sleep a couple of seconds
+debug_do_not_suspend = 0
+# FOR DEBUGGING ONLY: Enable every registered resource on startup
+debug_enable_on_startup = 0
+# FOR DEBUGGING ONLY: Whether resource activation should be synchronized with the registration lifecycle: always (default), startup, shutdown, never
+sync_resources_with_lifecycle = always
+
+[fsousage.lowlevel_kernel26]
+# No settings yet
+
+[fsousage.lowlevel_openmoko]
+# No settings yet
+
+[fsousage.dbus_service]
+# No settings yet
diff --git a/recipes/freesmartphone/fsousaged/om-gta02/fsousaged.conf b/recipes/freesmartphone/fsousaged/om-gta02/fsousaged.conf
new file mode 100644
index 0000000000..1e5761330e
--- /dev/null
+++ b/recipes/freesmartphone/fsousaged/om-gta02/fsousaged.conf
@@ -0,0 +1,32 @@
+#######################################################################################
+# FSO Usage Daemon Configuration File -- for SYSTEM INTEGRATORS only
+########################################################################################
+[logging]
+# Log level: DEBUG, INFO (default), WARNING, ERROR
+# Override via environment as FSO_LOG_LEVEL
+log_level = INFO
+# Where to log to: none (default), stderr, stderr:colors, file, syslog
+# Override via environment as FSO_LOG_TO
+log_to = file
+# Log Destination (valid only for log_to = file)
+# Override via environment as FSO_LOG_DESTINATION
+log_destination = /var/log/fsousaged.log
+
+[fsousage]
+# Which low level suspend/resume variant to use: none (default), kernel26, openmoko
+lowlevel_type = openmoko
+# FOR DEBUGGING ONLY: Do not suspend, but instead sleep a couple of seconds
+debug_do_not_suspend = 0
+# FOR DEBUGGING ONLY: Enable every registered resource on startup
+debug_enable_on_startup = 0
+# FOR DEBUGGING ONLY: Whether resource activation should be synchronized with the registration lifecycle: always (default), startup, shutdown, never
+sync_resources_with_lifecycle = always
+
+[fsousage.lowlevel_kernel26]
+# No settings yet
+
+[fsousage.lowlevel_openmoko]
+# No settings yet
+
+[fsousage.dbus_service]
+# No settings yet
diff --git a/recipes/freesmartphone/fsousaged_git.bb b/recipes/freesmartphone/fsousaged_git.bb
index a7e4a1c0ee..0157df5b77 100644
--- a/recipes/freesmartphone/fsousaged_git.bb
+++ b/recipes/freesmartphone/fsousaged_git.bb
@@ -1,4 +1,13 @@
require cornucopia.inc
inherit fso-plugin
PV = "0.9.0.1+gitr${SRCREV}"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
+
+SRC_URI += "file://fsousaged.conf"
+
+do_install_append() {
+ install -d ${D}${sysconfdir}/freesmartphone/
+ install -m 0644 ${WORKDIR}/fsousaged.conf ${D}${sysconfdir}/freesmartphone/
+}
+
+FILES_${PN} += "${sysconfdir}/freesmartphone/fsousaged.conf"